Skip to content

Commit

Permalink
Merge pull request #2023 from rubocop/release
Browse files Browse the repository at this point in the history
Release v3.4.0
  • Loading branch information
bquorning authored Jan 20, 2025
2 parents cbb3632 + 775b4ee commit bc888bb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ RSpec/VerifiedDoubleReference:
Enabled: true
SafeAutoCorrect: false
VersionAdded: 2.10.0
VersionChanged: "<<next>>"
VersionChanged: '3.4'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VerifiedDoubleReference

RSpec/VerifiedDoubles:
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rubocop-rspec
title: RuboCop RSpec
version: ~
version: '3.4'
nav:
- modules/ROOT/nav.adoc
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6320,7 +6320,7 @@ let(:userFood_2) { 'fettuccine' }
| Yes
| Always (Unsafe)
| 2.10.0
| <<next>>
| 3.4
|===
Checks for consistent verified double reference style.
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/rspec/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bc888bb

Please sign in to comment.