diff --git a/CHANGELOG.md b/CHANGELOG.md index e5f5a0f..b2d6365 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 2.32.0 (2025-11-12) + - Add `RSpecRails/HttpStatusNameConsistency` cop. ([@taketo1113]) - Support correcting `assert_response` assertion in in `RSpec/Rails/MinitestAssertions`. ([@nzlaura]) diff --git a/config/default.yml b/config/default.yml index 7224693..a8c35fb 100644 --- a/config/default.yml +++ b/config/default.yml @@ -38,7 +38,7 @@ RSpecRails/HttpStatus: RSpecRails/HttpStatusNameConsistency: Description: Enforces consistency by using the current HTTP status names. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.32' Reference: https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/HttpStatusNameConsistency RSpecRails/InferredSpecType: diff --git a/docs/antora.yml b/docs/antora.yml index 86387ac..4a34dfe 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-rspec_rails title: RuboCop RSpec Rails -version: ~ +version: '2.32' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rspecrails.adoc b/docs/modules/ROOT/pages/cops_rspecrails.adoc index 7f41bd5..6595465 100644 --- a/docs/modules/ROOT/pages/cops_rspecrails.adoc +++ b/docs/modules/ROOT/pages/cops_rspecrails.adoc @@ -220,7 +220,7 @@ it { is_expected.to have_http_status :ok } | Pending | Yes | Always -| <> +| 2.32 | - |=== diff --git a/lib/rubocop/rspec_rails/version.rb b/lib/rubocop/rspec_rails/version.rb index daa15f5..fceac33 100644 --- a/lib/rubocop/rspec_rails/version.rb +++ b/lib/rubocop/rspec_rails/version.rb @@ -4,7 +4,7 @@ module RuboCop module RSpecRails # Version information for the RSpec Rails RuboCop plugin. module Version - STRING = '2.31.0' + STRING = '2.32.0' end end end