Skip to content

Commit

Permalink
Merge pull request #1590 from rubocop/release
Browse files Browse the repository at this point in the history
Bump version to v2.19.0
  • Loading branch information
bquorning authored Mar 6, 2023
2 parents a40832c + 4b6bf88 commit 8a0337a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 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.19.0 (2023-03-06)

- Fix a false positive for `RSpec/ContextWording` when context is interpolated string literal or execute string. ([@ydah])
- Fix a false positive for `RSpec/DescribeMethod` when multi-line describe without `#` and `.` at the beginning. ([@ydah], [@pirj])
- Fix a false positive for `RSpec/VariableName` when inside non-spec code. ([@ydah])
Expand Down
10 changes: 5 additions & 5 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ RSpec/ClassCheck:
RSpec/ContainExactly:
Description: Prefer `match_array` when matching array values.
Enabled: true
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContainExactly

RSpec/ContextMethod:
Expand Down Expand Up @@ -565,7 +565,7 @@ RSpec/LetSetup:
RSpec/MatchArray:
Description: Prefer `contain_exactly` when matching an array literal.
Enabled: true
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MatchArray

RSpec/MessageChain:
Expand Down Expand Up @@ -721,7 +721,7 @@ RSpec/ReceiveNever:
RSpec/RedundantAround:
Description: Remove redundant `around` hook.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RedundantAround

RSpec/RepeatedDescription:
Expand Down Expand Up @@ -800,7 +800,7 @@ RSpec/SingleArgumentMessageChain:
RSpec/SkipBlockInsideExample:
Description: Checks for passing a block to `skip` within examples.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SkipBlockInsideExample

RSpec/SortMetadata:
Expand Down Expand Up @@ -1085,5 +1085,5 @@ RSpec/Rails/TravelAround:
Description: Prefer to travel in `before` rather than `around`.
Enabled: pending
Safe: false
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/TravelAround
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.19'
nav:
- modules/ROOT/nav.adoc
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ expect(object).to be_a_kind_of(String)
| Enabled
| Yes
| Yes
| <<next>>
| 2.19
| -
|===

Expand Down Expand Up @@ -2882,7 +2882,7 @@ end
| Enabled
| Yes
| Yes
| <<next>>
| 2.19
| -
|===

Expand Down Expand Up @@ -4158,7 +4158,7 @@ expect(foo).not_to receive(:bar)
| Pending
| Yes
| Yes
| <<next>>
| 2.19
| -
|===

Expand Down Expand Up @@ -4742,7 +4742,7 @@ allow(foo).to receive("bar.baz")
| Pending
| Yes
| No
| <<next>>
| 2.19
| -
|===

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 @@ -246,7 +246,7 @@ expect(a).not_to eq(b)
| Pending
| No
| Yes (Unsafe)
| <<next>>
| 2.19
| -
|===

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.18.1'
STRING = '2.19.0'
end
end
end

0 comments on commit 8a0337a

Please sign in to comment.