diff --git a/CHANGELOG.md b/CHANGELOG.md index a215c60b5..a7da0ca56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 2.12.0 (2022-07-02) + * Fix incorrect path suggested by `RSpec/FilePath` cop when second argument contains spaces. ([@tejasbubane][]) * Fix autocorrect for EmptyLineSeparation. ([@johnny-miyake][]) * Add new `RSpec/Capybara/SpecificMatcher` cop. ([@ydah][]) diff --git a/config/default.yml b/config/default.yml index 92a63b3d8..b584a7c59 100644 --- a/config/default.yml +++ b/config/default.yml @@ -913,7 +913,7 @@ RSpec/Rails/HaveHttpStatus: Description: Checks that tests use `have_http_status` instead of equality matchers. Enabled: pending SafeAutoCorrect: false - VersionAdded: "<>" + VersionAdded: '2.12' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HaveHttpStatus RSpec/Rails/HttpStatus: diff --git a/docs/modules/ROOT/pages/cops_rspec_rails.adoc b/docs/modules/ROOT/pages/cops_rspec_rails.adoc index e42579288..e1ae03a76 100644 --- a/docs/modules/ROOT/pages/cops_rspec_rails.adoc +++ b/docs/modules/ROOT/pages/cops_rspec_rails.adoc @@ -41,7 +41,7 @@ end | Pending | Yes | Yes (Unsafe) -| <> +| 2.12 | - |=== diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index f8431f29b..e5233448d 100644 --- a/lib/rubocop/rspec/version.rb +++ b/lib/rubocop/rspec/version.rb @@ -4,7 +4,7 @@ module RuboCop module RSpec # Version information for the RSpec RuboCop plugin. module Version - STRING = '2.11.1' + STRING = '2.12.0' end end end