pvb-rubocop holds common configuration for rubocop utility.
$ bundle add pvb-rubocop --group=development
$ bundle add rubocop --group=development
$ bundle add rubocop-factory_bot --group=development
$ bundle add rubocop-performance --group=development
$ bundle add rubocop-rspec --group=developmentAdd the following to the rubocop.yml file:
inherit_gem:
pvb-rubocop: rubocop.ymlFor more details see rubocop documentation on inheriting configuration from a dependency gem
- Create a new pull request that:
- Bumps the version in
pvb-rubocop.gemspec - Updates
CHANGELOG.mdto include all noteworthy changes, the release version, and the release date.
- After the pull request lands, checkout the most up to date
mainbranch and build the gem:
$ docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) ruby gem build- Publish the gem:
$ docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) ruby gem push pvb-rubocop-X.Y.Z.gem- Create and publish a git tag:
$ git tag X.Y.Z
$ git push https://github.com/Pioneer-Valley-Books/pvb-rubocop.git X.Y.Z