rubocop-rspec 2.30.0 → 2.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/config/default.yml +18 -4
- data/lib/rubocop/rspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02d59aeeb5798d5e90e8c397e253429236f3a7e179112db482611d4f08fcea3e
|
4
|
+
data.tar.gz: 2374b303560842bb66b37d7e0020fcaa00d0ec60d83cb506376f82df8af3584d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d55127e8cb4d7370dce4b87139e6341e1838f5ddbb4f0571619b632ed61176a879c693f8366f5c6446bcc333f35059cd6382b71eac013f46b63f8d642b186d5c
|
7
|
+
data.tar.gz: 4036baa0cda4333da829fa39398434131bd74d93bd0e86cc3322919a7fe1a8d02288473dc087b0508284c3bb15f8496ab9d87e55b0cd9a9875cb513e8ebdea1e
|
data/CHANGELOG.md
CHANGED
data/config/default.yml
CHANGED
@@ -147,7 +147,9 @@ RSpec/Be:
|
|
147
147
|
RSpec/BeEmpty:
|
148
148
|
Description: Prefer using `be_empty` when checking for an empty array.
|
149
149
|
Enabled: pending
|
150
|
+
AutoCorrect: contextual
|
150
151
|
VersionAdded: '2.20'
|
152
|
+
VersionChanged: '2.31'
|
151
153
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEmpty
|
152
154
|
|
153
155
|
RSpec/BeEq:
|
@@ -311,15 +313,18 @@ RSpec/DuplicatedMetadata:
|
|
311
313
|
RSpec/EmptyExampleGroup:
|
312
314
|
Description: Checks if an example group does not include any tests.
|
313
315
|
Enabled: true
|
316
|
+
AutoCorrect: contextual
|
314
317
|
SafeAutoCorrect: false
|
315
318
|
VersionAdded: '1.7'
|
316
|
-
VersionChanged: '2.
|
319
|
+
VersionChanged: '2.31'
|
317
320
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyExampleGroup
|
318
321
|
|
319
322
|
RSpec/EmptyHook:
|
320
323
|
Description: Checks for empty before and after hooks.
|
321
324
|
Enabled: true
|
325
|
+
AutoCorrect: contextual
|
322
326
|
VersionAdded: '1.39'
|
327
|
+
VersionChanged: '2.31'
|
323
328
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyHook
|
324
329
|
|
325
330
|
RSpec/EmptyLineAfterExample:
|
@@ -363,7 +368,9 @@ RSpec/EmptyLineAfterSubject:
|
|
363
368
|
RSpec/EmptyMetadata:
|
364
369
|
Description: Avoid empty metadata hash.
|
365
370
|
Enabled: pending
|
371
|
+
AutoCorrect: contextual
|
366
372
|
VersionAdded: '2.24'
|
373
|
+
VersionChanged: '2.31'
|
367
374
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyMetadata
|
368
375
|
|
369
376
|
RSpec/EmptyOutput:
|
@@ -477,8 +484,9 @@ RSpec/FilePath:
|
|
477
484
|
RSpec/Focus:
|
478
485
|
Description: Checks if examples are focused.
|
479
486
|
Enabled: true
|
487
|
+
AutoCorrect: contextual
|
480
488
|
VersionAdded: '1.5'
|
481
|
-
VersionChanged: '2.
|
489
|
+
VersionChanged: '2.31'
|
482
490
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Focus
|
483
491
|
|
484
492
|
RSpec/HookArgument:
|
@@ -496,7 +504,9 @@ RSpec/HookArgument:
|
|
496
504
|
RSpec/HooksBeforeExamples:
|
497
505
|
Description: Checks for before/around/after hooks that come after an example.
|
498
506
|
Enabled: true
|
507
|
+
AutoCorrect: contextual
|
499
508
|
VersionAdded: '1.29'
|
509
|
+
VersionChanged: '2.31'
|
500
510
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HooksBeforeExamples
|
501
511
|
|
502
512
|
RSpec/IdenticalEqualityAssertion:
|
@@ -602,8 +612,9 @@ RSpec/LeakyConstantDeclaration:
|
|
602
612
|
RSpec/LetBeforeExamples:
|
603
613
|
Description: Checks for `let` definitions that come after an example.
|
604
614
|
Enabled: true
|
615
|
+
AutoCorrect: contextual
|
605
616
|
VersionAdded: '1.16'
|
606
|
-
VersionChanged: '
|
617
|
+
VersionChanged: '2.31'
|
607
618
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LetBeforeExamples
|
608
619
|
|
609
620
|
RSpec/LetSetup:
|
@@ -853,14 +864,17 @@ RSpec/ReturnFromStub:
|
|
853
864
|
RSpec/ScatteredLet:
|
854
865
|
Description: Checks for let scattered across the example group.
|
855
866
|
Enabled: true
|
867
|
+
AutoCorrect: contextual
|
856
868
|
VersionAdded: '1.14'
|
857
|
-
VersionChanged: '
|
869
|
+
VersionChanged: '2.31'
|
858
870
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredLet
|
859
871
|
|
860
872
|
RSpec/ScatteredSetup:
|
861
873
|
Description: Checks for setup scattered across multiple hooks in an example group.
|
862
874
|
Enabled: true
|
875
|
+
AutoCorrect: contextual
|
863
876
|
VersionAdded: '1.10'
|
877
|
+
VersionChanged: '2.31'
|
864
878
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredSetup
|
865
879
|
|
866
880
|
RSpec/SharedContext:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Backus
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-06-
|
13
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|