Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 2.5.0 #1188

Merged
merged 1 commit into from Sep 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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][])
pirj marked this conversation as resolved.
Show resolved Hide resolved
* 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