Skip to content

Commit 99dbbe9

Browse files
authored
Merge pull request #1917 from rubocop/release
Release v3.0.0
2 parents 8df8445 + 20de270 commit 99dbbe9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
## Master (Unreleased)
44

5-
## 3.0.0.pre (2024-06-05)
5+
## 3.0.0 (2024-06-11)
66

77
- Remove extracted cops in `Capybara`, `FactoryBot` and `Rails` departments. ([@ydah])
88
- Remove `RuboCop::RSpec::Language::NodePattern`. ([@ydah])
99
- Remove `RSpec/FilePath` cop. ([@ydah])
1010
- Remove `RSpec/Capybara/FeatureMethods` cop. If you are using this cop, change it to use `RSpec/Dialect`. ([@ydah])
11-
- Enable all pending cops. ([@bquorning])
1211
- Add new `RSpec/MissingExpectationTargetMethod` cop. ([@krororo])
1312
- Fix an error for `RSpec/ScatteredSetup` when one of the hooks is an empty block. ([@earlopain])
1413

14+
These previously pending cops are now enabled by default: `RSpec/BeEmpty`, `RSpec/BeEq`, `RSpec/BeNil`, `RSpec/ChangeByZero`, `RSpec/ClassCheck`, `RSpec/ContainExactly`, `RSpec/DuplicatedMetadata`, `RSpec/EmptyMetadata`, `RSpec/EmptyOutput`, `RSpec/Eq`, `RSpec/ExcessiveDocstringSpacing`, `RSpec/ExpectInLet`, `RSpec/IdenticalEqualityAssertion`, `RSpec/IndexedLet`, `RSpec/IsExpectedSpecify`, `RSpec/MatchArray`, `RSpec/MetadataStyle`, `RSpec/NoExpectationExample`, `RSpec/PendingWithoutReason`, `RSpec/ReceiveMessages`, `RSpec/RedundantAround`, `RSpec/RedundantPredicateMatcher`, `RSpec/RemoveConst`, `RSpec/RepeatedSubjectCall`, `RSpec/SkipBlockInsideExample`, `RSpec/SortMetadata`, `RSpec/SpecFilePathFormat`, `RSpec/SpecFilePathSuffix`, `RSpec/SubjectDeclaration`, `RSpec/UndescriptiveLiteralsDescription`, and `RSpec/VerifiedDoubleReference`.
15+
1516
Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html
1617

1718
## 2.31.0 (2024-06-07)

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: ~
3+
version: '3.0'
44
nav:
55
- modules/ROOT/nav.adoc

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 = '3.0.0.pre'
7+
STRING = '3.0.0'
88
end
99
end
1010
end

0 commit comments

Comments
 (0)