Skip to content

Commit 745d804

Browse files
committed
RuboCop RSpec v3.6.0 RubyKaigi 2025 edition
1 parent 170cc32 commit 745d804

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Master (Unreleased)
44

5+
## 3.6.0 (2025-04-18)
6+
57
- Fix false positive in `RSpec/Pending`, where it would mark the default block `it` as an offense. ([@bquorning])
68
- Fix issue when `Style/ContextWording` is configured with a Prefix being interpreted as a boolean, like `on`. ([@sakuro])
79
- Add new `RSpec/IncludeExamples` cop to enforce using `it_behaves_like` over `include_examples`. ([@dvandersluis])

config/default.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ RSpec/ImplicitSubject:
535535
RSpec/IncludeExamples:
536536
Description: Checks for usage of `include_examples`.
537537
Enabled: pending
538-
VersionAdded: "<<next>>"
538+
VersionAdded: '3.6'
539539
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IncludeExamples
540540

541541
RSpec/IndexedLet:

docs/antora.yml

+1-1
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.6'
44
nav:
55
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_rspec.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2773,7 +2773,7 @@ it { expect(named_subject).to be_truthy }
27732773
| Pending
27742774
| Yes
27752775
| Always
2776-
| <<next>>
2776+
| 3.6
27772777
| -
27782778
|===
27792779

lib/rubocop/rspec/version.rb

+1-1
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.5.0'
7+
STRING = '3.6.0'
88
end
99
end
1010
end

0 commit comments

Comments
 (0)