From d1f0725b187c721d4adb19415c8aef14472a6c37 Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Thu, 4 Jan 2024 10:31:28 +0100 Subject: [PATCH] Bump version to v2.26.0 --- CHANGELOG.md | 6 ++++-- config/default.yml | 6 +++--- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_rspec.adoc | 6 +++--- lib/rubocop/rspec/version.rb | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0454970d..895bf7ded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,13 @@ ## Master (Unreleased) +## 2.26.0 (2024-01-04) + - Add new `RSpec/RedundantPredicateMatcher` cop. ([@ydah]) -- Add support for correcting "it will" (future tense) for `RSpec/ExampleWording`. ([@jdufresne]) - Add new `RSpec/RemoveConst` cop. ([@swelther]) -- Ensure `PendingWithoutReason` can detect violations inside shared groups. ([@robinaugh]) +- Add support for correcting "it will" (future tense) for `RSpec/ExampleWording`. ([@jdufresne]) - Add support for `symbol` style for `RSpec/SharedExamples`. ([@jessieay]) +- Ensure `PendingWithoutReason` can detect violations inside shared groups. ([@robinaugh]) ## 2.25.0 (2023-10-27) diff --git a/config/default.yml b/config/default.yml index 290ae5f9e..ba24f8b5e 100644 --- a/config/default.yml +++ b/config/default.yml @@ -774,13 +774,13 @@ RSpec/RedundantAround: RSpec/RedundantPredicateMatcher: Description: Checks for redundant predicate matcher. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.26' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RedundantPredicateMatcher RSpec/RemoveConst: Description: Checks that `remove_const` is not used in specs. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.26' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RemoveConst RSpec/RepeatedDescription: @@ -851,7 +851,7 @@ RSpec/SharedExamples: - string - symbol VersionAdded: '1.25' - VersionChanged: "<>" + VersionChanged: '2.26' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SharedExamples RSpec/SingleArgumentMessageChain: diff --git a/docs/antora.yml b/docs/antora.yml index 51a533a15..10c8434e1 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-rspec title: RuboCop RSpec -version: ~ +version: '2.26' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rspec.adoc b/docs/modules/ROOT/pages/cops_rspec.adoc index ae6a529b9..ff7bc9e6e 100644 --- a/docs/modules/ROOT/pages/cops_rspec.adoc +++ b/docs/modules/ROOT/pages/cops_rspec.adoc @@ -4502,7 +4502,7 @@ end | Pending | Yes | Yes -| <> +| 2.26 | - |=== @@ -4533,7 +4533,7 @@ expect(foo).not_to include(bar) | Pending | Yes | No -| <> +| 2.26 | - |=== @@ -5050,7 +5050,7 @@ end | Yes | Yes | 1.25 -| <> +| 2.26 |=== Checks for consistent style for shared example names. diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index 331271ed9..be0a1bc4f 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.25.0' + STRING = '2.26.0' end end end