diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ecd526ca..4d681938a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 3.4.0 (2025-01-20) + - Fix `RSpec/SortMetadata` cop to limit sorting to trailing metadata arguments. ([@cbliard]) - Replace `RSpec/StringAsInstanceDoubleConstant` with `RSpec/VerifiedDoubleReference` configured to only support constant class references. ([@corsonknowles]) - Fix `RSpec/EmptyExampleGroup` cop false positive when a simple conditional is used inside an iterator. ([@lovro-bikic]) diff --git a/config/default.yml b/config/default.yml index a3bb9f216..d52125d61 100644 --- a/config/default.yml +++ b/config/default.yml @@ -989,7 +989,7 @@ RSpec/VerifiedDoubleReference: Enabled: true SafeAutoCorrect: false VersionAdded: 2.10.0 - VersionChanged: "<>" + VersionChanged: '3.4' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VerifiedDoubleReference RSpec/VerifiedDoubles: diff --git a/docs/antora.yml b/docs/antora.yml index 51a533a15..8d7627758 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-rspec title: RuboCop RSpec -version: ~ +version: '3.4' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rspec.adoc b/docs/modules/ROOT/pages/cops_rspec.adoc index 6e980a34c..319462940 100644 --- a/docs/modules/ROOT/pages/cops_rspec.adoc +++ b/docs/modules/ROOT/pages/cops_rspec.adoc @@ -6320,7 +6320,7 @@ let(:userFood_2) { 'fettuccine' } | Yes | Always (Unsafe) | 2.10.0 -| <> +| 3.4 |=== Checks for consistent verified double reference style. diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index 45e946f97..74f571856 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 = '3.3.0' + STRING = '3.4.0' end end end