From c9399d02103d7a928c9c8a34268a907ed1d6d98f Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Sun, 3 Mar 2024 20:34:23 +0100 Subject: [PATCH] Bump version to v2.27.1 --- CHANGELOG.md | 2 ++ config/default.yml | 2 +- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_rspec.adoc | 2 +- lib/rubocop/rspec/version.rb | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc83dec2a..1c008527b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 2.27.1 (2024-03-03) + - Fix a false positive for `RSpec/RepeatedSubjectCall` when `subject.method_call`. ([@ydah]) - Add configuration option `OnlyStaticConstants` to `RSpec/DescribedClass`. ([@ydah]) diff --git a/config/default.yml b/config/default.yml index 20ed04996..7a0fc924e 100644 --- a/config/default.yml +++ b/config/default.yml @@ -286,7 +286,7 @@ RSpec/DescribedClass: OnlyStaticConstants: true SafeAutoCorrect: false VersionAdded: '1.0' - VersionChanged: "<>" + VersionChanged: '2.27' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass RSpec/DescribedClassModuleWrapping: diff --git a/docs/antora.yml b/docs/antora.yml index 51a533a15..edd1d19a9 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-rspec title: RuboCop RSpec -version: ~ +version: '2.27' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rspec.adoc b/docs/modules/ROOT/pages/cops_rspec.adoc index 8c1069cf0..c8b879956 100644 --- a/docs/modules/ROOT/pages/cops_rspec.adoc +++ b/docs/modules/ROOT/pages/cops_rspec.adoc @@ -887,7 +887,7 @@ end | Yes | Always (Unsafe) | 1.0 -| <> +| 2.27 |=== Checks that tests use `described_class`. diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index 20d9f952c..63cf8b7d4 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.27.0' + STRING = '2.27.1' end end end