Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the next release version #7874

Merged
merged 1 commit into from Apr 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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