Skip to content

Commit

Permalink
Bump version to v2.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bquorning committed Aug 7, 2023
1 parent 7e4e0d9 commit ff10f38
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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)

## 2.23.1 (2023-08-07)

- Mark to `Safe: false` for `RSpec/Rails/NegationBeValid` cop. ([@ydah])
- Declare autocorrect as unsafe for `RSpec/ReceiveMessages`. ([@bquorning])

Expand Down
2 changes: 0 additions & 2 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,6 @@ RSpec/ReceiveMessages:
Enabled: pending
SafeAutoCorrect: false
VersionAdded: '2.23'
VersionChanged: "<<next>>"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ReceiveMessages

RSpec/ReceiveNever:
Expand Down Expand Up @@ -1117,7 +1116,6 @@ RSpec/Rails/NegationBeValid:
- be_invalid
Enabled: pending
VersionAdded: '2.23'
VersionChanged: "<<next>>"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/NegationBeValid

RSpec/Rails/TravelAround:
Expand Down
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 @@ -4273,7 +4273,7 @@ expect(foo).to receive(:bar).at_most(:twice).times
| Yes
| Yes (Unsafe)
| 2.23
| <<next>>
| -
|===

Checks for multiple messages stubbed on the same object.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rspec_rails.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ expect(b).not_to eq(a)
| No
| Yes (Unsafe)
| 2.23
| <<next>>
| -
|===

Enforces use of `be_invalid` or `not_to` for negated be_valid.
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 = '2.23.0'
STRING = '2.23.1'
end
end
end

0 comments on commit ff10f38

Please sign in to comment.