Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Code supporting tasks that discharge code for deployment.
Add require "discharger/task"
to your Rakefile.
Then build the discharger task
require "discharger/task"
Discharger::Task.create do |task|
task.version_file = "config/application.rb"
task.release_message_channel = "#some-slack-channel"
task.version_constant = "MyApp::VERSION"
task.app_name = "My App name"
task.commit_identifier = -> { `git rev-parse HEAD`.strip }
task.pull_request_url = "https://github.com/SOFware/some-app"
end
It will make Rake tasks available to push code to branches and notify Slack channels.
$ rake -T release
rake release # ---------- STEP 3 ----------
rake release:build # Release the current version to stage
rake release:config # Echo the configuration settings
rake release:prepare # ---------- STEP 1 ----------
rake release:slack[text,channel,emoji] # Send a message to Slack
rake release:stage # ---------- STEP 2 ----------
Add this line to your application's Gemfile:
gem "discharger"
And then execute:
$ bundle
Then run the install generator:
$ rails generate discharger:install
Or install it yourself as:
$ gem install discharger
This gem is managed with Reissue.
Bug reports and pull requests are welcome on GitHub.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that discharger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.