Skip to content

Commit c915e95

Browse files
authored
Merge pull request #1188 from rubocop/release-2-5-0
Bump version to 2.5.0
2 parents fb6ad3b + ea69793 commit c915e95

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
## Master (Unreleased)
44

5+
## 2.5.0 (2021-09-21)
6+
57
* Declare autocorrect as unsafe for `ExpectChange`. ([@francois-ferrandis][])
68
* Fix each example for `RSpec/HookArgument`. ([@lokhi][])
79
* Exclude unrelated Rails directories from `RSpec/DescribeClass`. ([@MothOnMars][])
810
* Add `RSpec/ExcessiveDocstringSpacing` cop. ([@G-Rath][])
911
* Add `RSpec/SubjectDeclaration` cop. ([@dswij][])
1012
* Fix excessive whitespace removal in `RSpec/EmptyHook` autocorrection. ([@pirj][])
1113
* Bump RuboCop requirement to v1.19.0. ([@pirj][])
12-
* Fix false positive in `RSpec/IteratedExpectation` when there is single, non-espectation statement in the block body. ([@Darhazer][])
14+
* Fix false positive in `RSpec/IteratedExpectation` when there is single, non-expectation statement in the block body. ([@Darhazer][])
1315

1416
## 2.4.0 (2021-06-09)
1517

config/default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ RSpec/DescribeClass:
170170
- mailbox
171171
- aruba
172172
VersionAdded: '1.0'
173-
VersionChanged: 2.4.1
173+
VersionChanged: '2.5'
174174
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass
175175

176176
RSpec/DescribeMethod:
@@ -311,7 +311,7 @@ RSpec/ExpectChange:
311311
- block
312312
SafeAutoCorrect: false
313313
VersionAdded: '1.22'
314-
VersionChanged: 2.5.0
314+
VersionChanged: '2.5'
315315
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectChange
316316

317317
RSpec/ExpectInHook:

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rubocop-rspec
22
title: RuboCop RSpec
3-
version: master
3+
version: '2.5'
44
nav:
55
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ end
399399
| Yes
400400
| No
401401
| 1.0
402-
| 2.4.1
402+
| 2.5
403403
|===
404404

405405
Check that the first argument to the top-level describe is a constant.
@@ -1368,7 +1368,7 @@ expect(name).to eq("John")
13681368
| Yes
13691369
| Yes (Unsafe)
13701370
| 1.22
1371-
| 2.5.0
1371+
| 2.5
13721372
|===
13731373

13741374
Checks for consistent style of change matcher.

lib/rubocop/rspec/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RuboCop
44
module RSpec
55
# Version information for the RSpec RuboCop plugin.
66
module Version
7-
STRING = '2.4.0'
7+
STRING = '2.5.0'
88
end
99
end
1010
end

0 commit comments

Comments
 (0)