Skip to content

Commit

Permalink
Merge pull request #1188 from rubocop/release-2-5-0
Browse files Browse the repository at this point in the history
Bump version to 2.5.0
  • Loading branch information
Darhazer committed Sep 21, 2021
2 parents fb6ad3b + ea69793 commit c915e95
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,14 +2,16 @@

## Master (Unreleased)

## 2.5.0 (2021-09-21)

* Declare autocorrect as unsafe for `ExpectChange`. ([@francois-ferrandis][])
* Fix each example for `RSpec/HookArgument`. ([@lokhi][])
* Exclude unrelated Rails directories from `RSpec/DescribeClass`. ([@MothOnMars][])
* Add `RSpec/ExcessiveDocstringSpacing` cop. ([@G-Rath][])
* Add `RSpec/SubjectDeclaration` cop. ([@dswij][])
* Fix excessive whitespace removal in `RSpec/EmptyHook` autocorrection. ([@pirj][])
* Bump RuboCop requirement to v1.19.0. ([@pirj][])
* Fix false positive in `RSpec/IteratedExpectation` when there is single, non-espectation statement in the block body. ([@Darhazer][])
* Fix false positive in `RSpec/IteratedExpectation` when there is single, non-expectation statement in the block body. ([@Darhazer][])

## 2.4.0 (2021-06-09)

Expand Down
4 changes: 2 additions & 2 deletions config/default.yml
Expand Up @@ -170,7 +170,7 @@ RSpec/DescribeClass:
- mailbox
- aruba
VersionAdded: '1.0'
VersionChanged: 2.4.1
VersionChanged: '2.5'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass

RSpec/DescribeMethod:
Expand Down Expand Up @@ -311,7 +311,7 @@ RSpec/ExpectChange:
- block
SafeAutoCorrect: false
VersionAdded: '1.22'
VersionChanged: 2.5.0
VersionChanged: '2.5'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectChange

RSpec/ExpectInHook:
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
@@ -1,5 +1,5 @@
name: rubocop-rspec
title: RuboCop RSpec
version: master
version: '2.5'
nav:
- modules/ROOT/nav.adoc
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/cops_rspec.adoc
Expand Up @@ -399,7 +399,7 @@ end
| Yes
| No
| 1.0
| 2.4.1
| 2.5
|===

Check that the first argument to the top-level describe is a constant.
Expand Down Expand Up @@ -1368,7 +1368,7 @@ expect(name).to eq("John")
| Yes
| Yes (Unsafe)
| 1.22
| 2.5.0
| 2.5
|===

Checks for consistent style of change matcher.
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/rspec/version.rb
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module RSpec
# Version information for the RSpec RuboCop plugin.
module Version
STRING = '2.4.0'
STRING = '2.5.0'
end
end
end

0 comments on commit c915e95

Please sign in to comment.