Skip to content

Commit

Permalink
Update config/default.yml with recent releases
Browse files Browse the repository at this point in the history
  • Loading branch information
bquorning committed Jun 9, 2024
1 parent eaf53f4 commit 703e1a8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ RSpec/BeEmpty:
Enabled: true
AutoCorrect: contextual
VersionAdded: '2.20'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEmpty

RSpec/BeEq:
Expand Down Expand Up @@ -316,15 +316,15 @@ RSpec/EmptyExampleGroup:
AutoCorrect: contextual
SafeAutoCorrect: false
VersionAdded: '1.7'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyExampleGroup

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

RSpec/EmptyLineAfterExample:
Expand Down Expand Up @@ -370,7 +370,7 @@ RSpec/EmptyMetadata:
Enabled: true
AutoCorrect: contextual
VersionAdded: '2.24'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyMetadata

RSpec/EmptyOutput:
Expand Down Expand Up @@ -471,7 +471,7 @@ RSpec/Focus:
Enabled: true
AutoCorrect: contextual
VersionAdded: '1.5'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Focus

RSpec/HookArgument:
Expand All @@ -491,7 +491,7 @@ RSpec/HooksBeforeExamples:
Enabled: true
AutoCorrect: contextual
VersionAdded: '1.29'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HooksBeforeExamples

RSpec/IdenticalEqualityAssertion:
Expand Down Expand Up @@ -599,7 +599,7 @@ RSpec/LetBeforeExamples:
Enabled: true
AutoCorrect: contextual
VersionAdded: '1.16'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LetBeforeExamples

RSpec/LetSetup:
Expand Down Expand Up @@ -857,15 +857,15 @@ RSpec/ScatteredLet:
Enabled: true
AutoCorrect: contextual
VersionAdded: '1.14'
VersionChanged: "<<next>>"
VersionChanged: '2.31'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredLet

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

RSpec/SharedContext:
Expand Down
18 changes: 9 additions & 9 deletions docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ expect(foo).to be(true)
| Yes
| Command-line only
| 2.20
| <<next>>
| 2.31
|===
Prefer using `be_empty` when checking for an empty array.
Expand Down Expand Up @@ -1155,7 +1155,7 @@ describe 'Something', :a
| Yes
| Command-line only (Unsafe)
| 1.7
| <<next>>
| 2.31
|===
Checks if an example group does not include any tests.
Expand Down Expand Up @@ -1209,7 +1209,7 @@ end
| Yes
| Command-line only
| 1.39
| <<next>>
| 2.31
|===
Checks for empty before and after hooks.
Expand Down Expand Up @@ -1512,7 +1512,7 @@ let(:foo) { bar }
| Yes
| Command-line only
| 2.24
| <<next>>
| 2.31
|===
Avoid empty metadata hash.
Expand Down Expand Up @@ -2129,7 +2129,7 @@ expect { my_app.print_report }.to output('Hello World').to_stdout
| Yes
| Command-line only
| 1.5
| <<next>>
| 2.31
|===
Checks if examples are focused.
Expand Down Expand Up @@ -2291,7 +2291,7 @@ end
| Yes
| Command-line only
| 1.29
| <<next>>
| 2.31
|===
Checks for before/around/after hooks that come after an example.
Expand Down Expand Up @@ -3046,7 +3046,7 @@ end
| Yes
| Command-line only
| 1.16
| <<next>>
| 2.31
|===
Checks for `let` definitions that come after an example.
Expand Down Expand Up @@ -5038,7 +5038,7 @@ allow(Foo).to receive(:bar).and_return(bar.baz)
| Yes
| Command-line only
| 1.14
| <<next>>
| 2.31
|===
Checks for let scattered across the example group.
Expand Down Expand Up @@ -5081,7 +5081,7 @@ end
| Yes
| Command-line only
| 1.10
| <<next>>
| 2.31
|===
Checks for setup scattered across multiple hooks in an example group.
Expand Down

0 comments on commit 703e1a8

Please sign in to comment.