Bug reports and pull requests are welcome on GitLab at https://gitlab.com/rubocop-lts/rubocop-ruby2_0 . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request and post a message to the gitter chat.
To release a new version:
- Run
bin/setup && bin/rake
as a tests, coverage, & linting sanity check. - update the version number in
version.rb
- Run
bin/setup && bin/rake
again as a secondary check, and to updateGemfile.lock
. - run
bundle exec rake build:checksum
- move the built gem to project root
- run
bin/checksum
to create the missing SHA256 checksum - move the built gem back to
pkg/
- commit the changes
- run
bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the.gem
file to rubygems.org.
NOTE: You will need to have a public key in certs/
, and list your cert in the
gemspec
, in order to sign the new release.
See: RubyGems Security Guide
See: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/graphs/main