Skip to content

Commit 703e1a8

Browse files
committed
Update config/default.yml with recent releases
1 parent eaf53f4 commit 703e1a8

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

config/default.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ RSpec/BeEmpty:
149149
Enabled: true
150150
AutoCorrect: contextual
151151
VersionAdded: '2.20'
152-
VersionChanged: "<<next>>"
152+
VersionChanged: '2.31'
153153
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEmpty
154154

155155
RSpec/BeEq:
@@ -316,15 +316,15 @@ RSpec/EmptyExampleGroup:
316316
AutoCorrect: contextual
317317
SafeAutoCorrect: false
318318
VersionAdded: '1.7'
319-
VersionChanged: "<<next>>"
319+
VersionChanged: '2.31'
320320
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyExampleGroup
321321

322322
RSpec/EmptyHook:
323323
Description: Checks for empty before and after hooks.
324324
Enabled: true
325325
AutoCorrect: contextual
326326
VersionAdded: '1.39'
327-
VersionChanged: "<<next>>"
327+
VersionChanged: '2.31'
328328
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyHook
329329

330330
RSpec/EmptyLineAfterExample:
@@ -370,7 +370,7 @@ RSpec/EmptyMetadata:
370370
Enabled: true
371371
AutoCorrect: contextual
372372
VersionAdded: '2.24'
373-
VersionChanged: "<<next>>"
373+
VersionChanged: '2.31'
374374
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyMetadata
375375

376376
RSpec/EmptyOutput:
@@ -471,7 +471,7 @@ RSpec/Focus:
471471
Enabled: true
472472
AutoCorrect: contextual
473473
VersionAdded: '1.5'
474-
VersionChanged: "<<next>>"
474+
VersionChanged: '2.31'
475475
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Focus
476476

477477
RSpec/HookArgument:
@@ -491,7 +491,7 @@ RSpec/HooksBeforeExamples:
491491
Enabled: true
492492
AutoCorrect: contextual
493493
VersionAdded: '1.29'
494-
VersionChanged: "<<next>>"
494+
VersionChanged: '2.31'
495495
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HooksBeforeExamples
496496

497497
RSpec/IdenticalEqualityAssertion:
@@ -599,7 +599,7 @@ RSpec/LetBeforeExamples:
599599
Enabled: true
600600
AutoCorrect: contextual
601601
VersionAdded: '1.16'
602-
VersionChanged: "<<next>>"
602+
VersionChanged: '2.31'
603603
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LetBeforeExamples
604604

605605
RSpec/LetSetup:
@@ -857,15 +857,15 @@ RSpec/ScatteredLet:
857857
Enabled: true
858858
AutoCorrect: contextual
859859
VersionAdded: '1.14'
860-
VersionChanged: "<<next>>"
860+
VersionChanged: '2.31'
861861
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredLet
862862

863863
RSpec/ScatteredSetup:
864864
Description: Checks for setup scattered across multiple hooks in an example group.
865865
Enabled: true
866866
AutoCorrect: contextual
867867
VersionAdded: '1.10'
868-
VersionChanged: "<<next>>"
868+
VersionChanged: '2.31'
869869
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredSetup
870870

871871
RSpec/SharedContext:

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ expect(foo).to be(true)
201201
| Yes
202202
| Command-line only
203203
| 2.20
204-
| <<next>>
204+
| 2.31
205205
|===
206206
207207
Prefer using `be_empty` when checking for an empty array.
@@ -1155,7 +1155,7 @@ describe 'Something', :a
11551155
| Yes
11561156
| Command-line only (Unsafe)
11571157
| 1.7
1158-
| <<next>>
1158+
| 2.31
11591159
|===
11601160
11611161
Checks if an example group does not include any tests.
@@ -1209,7 +1209,7 @@ end
12091209
| Yes
12101210
| Command-line only
12111211
| 1.39
1212-
| <<next>>
1212+
| 2.31
12131213
|===
12141214
12151215
Checks for empty before and after hooks.
@@ -1512,7 +1512,7 @@ let(:foo) { bar }
15121512
| Yes
15131513
| Command-line only
15141514
| 2.24
1515-
| <<next>>
1515+
| 2.31
15161516
|===
15171517
15181518
Avoid empty metadata hash.
@@ -2129,7 +2129,7 @@ expect { my_app.print_report }.to output('Hello World').to_stdout
21292129
| Yes
21302130
| Command-line only
21312131
| 1.5
2132-
| <<next>>
2132+
| 2.31
21332133
|===
21342134
21352135
Checks if examples are focused.
@@ -2291,7 +2291,7 @@ end
22912291
| Yes
22922292
| Command-line only
22932293
| 1.29
2294-
| <<next>>
2294+
| 2.31
22952295
|===
22962296
22972297
Checks for before/around/after hooks that come after an example.
@@ -3046,7 +3046,7 @@ end
30463046
| Yes
30473047
| Command-line only
30483048
| 1.16
3049-
| <<next>>
3049+
| 2.31
30503050
|===
30513051
30523052
Checks for `let` definitions that come after an example.
@@ -5038,7 +5038,7 @@ allow(Foo).to receive(:bar).and_return(bar.baz)
50385038
| Yes
50395039
| Command-line only
50405040
| 1.14
5041-
| <<next>>
5041+
| 2.31
50425042
|===
50435043
50445044
Checks for let scattered across the example group.
@@ -5081,7 +5081,7 @@ end
50815081
| Yes
50825082
| Command-line only
50835083
| 1.10
5084-
| <<next>>
5084+
| 2.31
50855085
|===
50865086
50875087
Checks for setup scattered across multiple hooks in an example group.

0 commit comments

Comments
 (0)