Skip to content

Commit

Permalink
Bump version to v2.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bquorning committed Jul 17, 2023
1 parent 003e208 commit 1b64f8d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

## Master (Unreleased)

## 2.23.0 (2023-07-17)

- Add new `RSpec/ReceiveMessages` cop. ([@ydah])
- Add `AllowedIdentifiers` and `AllowedPatterns` configuration option to `RSpec/IndexedLet`. ([@ydah])
- Fix a false negative for `RSpec/ExcessiveDocstringSpacing` when finds description with em space. ([@ydah])
- Fix a false positive for `RSpec/EmptyExampleGroup` when example group with examples defined in `if` branch inside iterator. ([@ydah])
- Update the message output of `RSpec/ExpectActual` to include the word 'value'. ([@corydiamand])
- Fix a false negative for `RSpec/Pending` when `it` without body. ([@ydah])
- Add new `RSpec/ReceiveMessages` cop. ([@ydah])
- Add `AllowedIdentifiers` and `AllowedPatterns` configuration option to `RSpec/IndexedLet`. ([@ydah])
- Fix `RSpec/NamedSubject` when block has no body. ([@splattael])
- Update the message output of `RSpec/ExpectActual` to include the word 'value'. ([@corydiamand])

## 2.22.0 (2023-05-06)

Expand Down
4 changes: 2 additions & 2 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ RSpec/IndexedLet:
Description: Do not set up test data using indexes (e.g., `item_1`, `item_2`).
Enabled: pending
VersionAdded: '2.20'
VersionChanged: "<<next>>"
VersionChanged: '2.23'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IndexedLet
Max: 1
AllowedIdentifiers: []
Expand Down Expand Up @@ -731,7 +731,7 @@ RSpec/ReceiveCounts:
RSpec/ReceiveMessages:
Description: Checks for multiple messages stubbed on the same object.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.23'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ReceiveMessages

RSpec/ReceiveNever:
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: '2.23'
nav:
- modules/ROOT/nav.adoc
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@ it { expect(named_subject).to be_truthy }
| Yes
| No
| 2.20
| <<next>>
| 2.23
|===

Do not set up test data using indexes (e.g., `item_1`, `item_2`).
Expand Down Expand Up @@ -4260,7 +4260,7 @@ expect(foo).to receive(:bar).at_most(:twice).times
| Pending
| Yes
| Yes
| <<next>>
| 2.23
| -
|===

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.22.0'
STRING = '2.23.0'
end
end
end

0 comments on commit 1b64f8d

Please sign in to comment.