From 44a5bee006bb07573e96037d2d94dbd86db4924e Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 13 Apr 2020 22:18:02 +0900 Subject: [PATCH] Fix the next release version Follow #7384, #7857, and #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 #7851. --- config/default.yml | 4 ++-- lib/rubocop/target_ruby.rb | 2 +- manual/cops_layout.md | 2 +- manual/cops_style.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/default.yml b/config/default.yml index 486177d78e6..ac668d68b25 100644 --- a/config/default.yml +++ b/config/default.yml @@ -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.' @@ -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.' diff --git a/lib/rubocop/target_ruby.rb b/lib/rubocop/target_ruby.rb index 0a602a89dec..fc7bb7100ff 100644 --- a/lib/rubocop/target_ruby.rb +++ b/lib/rubocop/target_ruby.rb @@ -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 diff --git a/manual/cops_layout.md b/manual/cops_layout.md index f902b13d1ba..bca75b08fa1 100644 --- a/manual/cops_layout.md +++ b/manual/cops_layout.md @@ -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. diff --git a/manual/cops_style.md b/manual/cops_style.md index c5e4eb1acd0..11b267d2408 100644 --- a/manual/cops_style.md +++ b/manual/cops_style.md @@ -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