Skip to content

Commit

Permalink
Fix the next release version
Browse files Browse the repository at this point in the history
Follow rubocop#7384, rubocop#7857, and rubocop#7869.

This PR fixes the next release version with 0.82 because RuboCop 0.81
has been released. This version (0.82) is based on rubocop#7851.
  • Loading branch information
koic committed Apr 13, 2020
1 parent 2b6330a commit 44a5bee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/default.yml
Expand Up @@ -1091,7 +1091,7 @@ Layout/SpaceAroundKeyword:
Layout/SpaceAroundMethodCallOperator:
Description: 'Checks method call operators to not have spaces around them.'
Enabled: pending
VersionAdded: '0.81'
VersionAdded: '0.82'

Layout/SpaceAroundOperators:
Description: 'Use a single space around operators.'
Expand Down Expand Up @@ -2645,7 +2645,7 @@ Style/DisableCopsWithinSourceCodeDirective:
Description: >-
Forbids disabling/enabling cops within source code.
Enabled: false
VersionAdded: '0.75'
VersionAdded: '0.82'

Style/Documentation:
Description: 'Document classes and non-namespace modules.'
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/target_ruby.rb
Expand Up @@ -7,7 +7,7 @@ class TargetRuby
DEFAULT_VERSION = KNOWN_RUBIES.first

OBSOLETE_RUBIES = {
1.9 => '0.50', 2.0 => '0.50', 2.1 => '0.58', 2.2 => '0.69', 2.3 => '0.81'
1.9 => '0.50', 2.0 => '0.50', 2.1 => '0.58', 2.2 => '0.69', 2.3 => '0.82'
}.freeze
private_constant :KNOWN_RUBIES, :OBSOLETE_RUBIES

Expand Down
2 changes: 1 addition & 1 deletion manual/cops_layout.md
Expand Up @@ -4079,7 +4079,7 @@ something = 123 if test
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Pending | Yes | Yes | 0.81 | -
Pending | Yes | Yes | 0.82 | -
Checks method call operators to not have spaces around them.
Expand Down
2 changes: 1 addition & 1 deletion manual/cops_style.md
Expand Up @@ -1363,7 +1363,7 @@ path = __dir__

Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Disabled | Yes | Yes | 0.75 | -
Disabled | Yes | Yes | 0.82 | -

Detects comments to enable/disable RuboCop.
This is useful if want to make sure that every RuboCop error gets fixed
Expand Down

0 comments on commit 44a5bee

Please sign in to comment.