Skip to content

Commit

Permalink
Merge pull request #1513 from rubocop/release
Browse files Browse the repository at this point in the history
Bump version to v2.16.0
  • Loading branch information
bquorning authored Dec 13, 2022
2 parents 3c12479 + 712433a commit f721785
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.16.0 (2022-12-13)

- Add new `RSpec/FactoryBot/FactoryNameStyle` cop. ([@ydah])
- Improved processing speed for `RSpec/Be`, `RSpec/ExpectActual`, `RSpec/ImplicitExpect`, `RSpec/MessageSpies`, `RSpec/PredicateMatcher` and `RSpec/Rails/HaveHttpStatus`. ([@ydah])
- Fix wrong autocorrection in `n_times` style on `RSpec/FactoryBot/CreateList`. ([@r7kamura])
Expand Down
10 changes: 5 additions & 5 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ RSpec/BeEq:
Enabled: pending
Safe: false
VersionAdded: 2.9.0
VersionChanged: "<<next>>"
VersionChanged: '2.16'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEq

RSpec/BeEql:
Description: Check for expectations where `be(...)` can replace `eql(...)`.
Enabled: true
Safe: false
VersionAdded: '1.7'
VersionChanged: "<<next>>"
VersionChanged: '2.16'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEql

RSpec/BeNil:
Expand Down Expand Up @@ -291,7 +291,7 @@ RSpec/Dialect:
RSpec/DuplicatedMetadata:
Description: Avoid duplicated metadata.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.16'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DuplicatedMetadata

RSpec/EmptyExampleGroup:
Expand Down Expand Up @@ -677,7 +677,7 @@ RSpec/Pending:
RSpec/PendingWithoutReason:
Description: Checks for pending or skipped examples without reason.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.16'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/PendingWithoutReason

RSpec/PredicateMatcher:
Expand Down Expand Up @@ -979,7 +979,7 @@ RSpec/FactoryBot/FactoryClassName:
RSpec/FactoryBot/FactoryNameStyle:
Description: Checks for name style for argument of FactoryBot::Syntax::Methods.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.16'
EnforcedStyle: symbol
SupportedStyles:
- symbol
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.16'
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 @@ -195,7 +195,7 @@ expect(foo).to be(true)
| No
| Yes (Unsafe)
| 2.9.0
| <<next>>
| 2.16
|===

Check for expectations where `be(...)` can replace `eq(...)`.
Expand Down Expand Up @@ -236,7 +236,7 @@ expect(foo).to be(nil)
| No
| Yes (Unsafe)
| 1.7
| <<next>>
| 2.16
|===

Check for expectations where `be(...)` can replace `eql(...)`.
Expand Down Expand Up @@ -1017,7 +1017,7 @@ end
| Pending
| Yes
| Yes
| <<next>>
| 2.16
| -
|===

Expand Down Expand Up @@ -3841,7 +3841,7 @@ end
| Pending
| Yes
| No
| <<next>>
| 2.16
| -
|===

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rspec_factorybot.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ end
| Pending
| Yes
| Yes
| <<next>>
| 2.16
| -
|===

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.15.0'
STRING = '2.16.0'
end
end
end

0 comments on commit f721785

Please sign in to comment.