Sha256: a1e2fbb4705fcdc68f22d4812b7bb075fa4f52a3e1d7aca6d89c153597c85f39

Contents?: true

Size: 1.82 KB

Versions: 94

Compression:

Stored size: 1.82 KB

Contents

# Upgrading Standard

Since standard now encompasses both a tool itself and a series of plug-ins it makes sense to first update the standard plug-ins and then the standard tool itself. Each plug-in is a configuration for its corresponding rubocop plug-in.

The official standard plug-ins that are included in standard are:

- **Standard Performance:** corresponding to rubocop-performance
- **Standard Custom:** for custom cops created for standard

## Updating Standard Plugins

1. Update Rubocop plugin in the gemspec file and gem file.
1. Keep standard in the gem file up-to-date. This will bring any testing utilities in standard into the plug-in repository.
1. Run bundle exec rake to run the tests
1. Configure any cops that need to be configured so that the tests pass
1. Update the change log to the best of your ability and title it as unreleased
1. Make your commit for these updates and push to the main branch
1. Update the version in version.rb and update the version in the Changelog replacing the word “Unreleased”
1. Run bundle to write the new version number to the lock file
1. Run bundle exec release to release the gem to RubyGems and create the version git tag. Push the tag to GitHub.

## Updating Standard

1. Update Rubocop as well as Standard Performance in the gemspec file and gem file.
1. Run bundle exec rake to run the tests
1. Configure any cops that need to be configured so that the tests pass
1. Update the change log to the best of your ability and title it as unreleased
1. Make your commit for these updates and push to the main branch
1. Update the version in version.rb and update the version in the Changelog replacing the word “Unreleased”
1. Run bundle to write the new version number to the lock file
1. Run bundle exec release to release the gem to RubyGems and create the version git tag. Push the tag to GitHub.

Version data entries

94 entries across 94 versions & 3 rubygems

Version Path
standard-1.42.0 docs/UPGRADING.md
standard-1.41.1 docs/UPGRADING.md
standard-1.41.0 docs/UPGRADING.md
standard-1.40.1 docs/UPGRADING.md
standard-1.40.0 docs/UPGRADING.md
standard-1.39.2 docs/UPGRADING.md
standard-1.39.1 docs/UPGRADING.md
standard-1.39.0 docs/UPGRADING.md
standard-1.38.0 docs/UPGRADING.md
standard-1.37.0 docs/UPGRADING.md
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/standard-1.32.0/docs/UPGRADING.md
standard-1.35.0.1 docs/UPGRADING.md
standard-1.34.0.1 docs/UPGRADING.md
standard-1.35.1 docs/UPGRADING.md
standard-1.35.0 docs/UPGRADING.md
standard-1.34.0 docs/UPGRADING.md
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/standard-1.32.0/docs/UPGRADING.md
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/standard-1.32.0/docs/UPGRADING.md
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/standard-1.32.0/docs/UPGRADING.md
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/standard-1.32.0/docs/UPGRADING.md