rubocop-rspec 1.44.1 → 2.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/config/default.yml +14 -8
- data/lib/rubocop/rspec/version.rb +1 -1
- metadata +6 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0940bab64e9ccca8168ff22b5d0f46e6777d015316da687deca6072f0e8c25f0'
|
4
|
+
data.tar.gz: c7a518dbbcbcb63567b4491849a8ef79834051350614a8b8bf284f7f8a31f83d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f8b127bdccb77c1f85268adc1cd60f614423914f5889557e71b59a36b040e8dc8c42ad409b4310dd039d5621f928bac3f60293d07e6f419762c02ddfbd5ddb0
|
7
|
+
data.tar.gz: 23922bf8587a2ac38a1bf76b973ba64ec586cf0ea6d32f65602257fd9782ddc8d4553ff964f9ff833c423e19bdb59f733593ca91539ecab709e0b6b29bf3ae53
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
## Master (Unreleased)
|
4
4
|
|
5
|
+
## 2.0.0.pre (2020-10-22)
|
6
|
+
|
7
|
+
* Update RuboCop dependency to v1.0.0. ([@bquorning][])
|
8
|
+
* **(Potentially breaking)** Change namespace of several cops (`Capybara/*` -> `RSpec/Capybara/*`, `FactoryBot/*` -> `RSpec/FactoryBot/*`, `Rails/*` -> `RSpec/Rails/*`). ([@pirj][], [@bquorning][])
|
9
|
+
|
5
10
|
## 1.44.1 (2020-10-20)
|
6
11
|
|
7
12
|
* Relax `rubocop-ast` version constraint. ([@PhilCoggins][])
|
data/config/default.yml
CHANGED
@@ -620,33 +620,36 @@ RSpec/Yield:
|
|
620
620
|
VersionAdded: '1.32'
|
621
621
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Yield
|
622
622
|
|
623
|
-
Capybara/CurrentPathExpectation:
|
623
|
+
RSpec/Capybara/CurrentPathExpectation:
|
624
624
|
Description: Checks that no expectations are set on Capybara's `current_path`.
|
625
625
|
Enabled: true
|
626
626
|
VersionAdded: '1.18'
|
627
|
+
VersionChanged: '2.0'
|
627
628
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation
|
628
629
|
|
629
|
-
Capybara/FeatureMethods:
|
630
|
+
RSpec/Capybara/FeatureMethods:
|
630
631
|
Description: Checks for consistent method usage in feature specs.
|
631
632
|
Enabled: true
|
632
633
|
EnabledMethods: []
|
633
634
|
VersionAdded: '1.17'
|
634
|
-
VersionChanged: '
|
635
|
+
VersionChanged: '2.0'
|
635
636
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods
|
636
637
|
|
637
|
-
Capybara/VisibilityMatcher:
|
638
|
+
RSpec/Capybara/VisibilityMatcher:
|
638
639
|
Description: Checks for boolean visibility in capybara finders.
|
639
640
|
Enabled: true
|
640
641
|
VersionAdded: '1.39'
|
642
|
+
VersionChanged: '2.0'
|
641
643
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/VisibilityMatcher
|
642
644
|
|
643
|
-
FactoryBot/AttributeDefinedStatically:
|
645
|
+
RSpec/FactoryBot/AttributeDefinedStatically:
|
644
646
|
Description: Always declare attribute values as blocks.
|
645
647
|
Enabled: true
|
646
648
|
VersionAdded: '1.28'
|
649
|
+
VersionChanged: '2.0'
|
647
650
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically
|
648
651
|
|
649
|
-
FactoryBot/CreateList:
|
652
|
+
RSpec/FactoryBot/CreateList:
|
650
653
|
Description: Checks for create_list usage.
|
651
654
|
Enabled: true
|
652
655
|
EnforcedStyle: create_list
|
@@ -654,15 +657,17 @@ FactoryBot/CreateList:
|
|
654
657
|
- create_list
|
655
658
|
- n_times
|
656
659
|
VersionAdded: '1.25'
|
660
|
+
VersionChanged: '2.0'
|
657
661
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList
|
658
662
|
|
659
|
-
FactoryBot/FactoryClassName:
|
663
|
+
RSpec/FactoryBot/FactoryClassName:
|
660
664
|
Description: Use string value when setting the class attribute explicitly.
|
661
665
|
Enabled: true
|
662
666
|
VersionAdded: '1.37'
|
667
|
+
VersionChanged: '2.0'
|
663
668
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/FactoryClassName
|
664
669
|
|
665
|
-
Rails/HttpStatus:
|
670
|
+
RSpec/Rails/HttpStatus:
|
666
671
|
Description: Enforces use of symbolic or numeric value to describe HTTP status.
|
667
672
|
Enabled: true
|
668
673
|
EnforcedStyle: symbolic
|
@@ -670,4 +675,5 @@ Rails/HttpStatus:
|
|
670
675
|
- numeric
|
671
676
|
- symbolic
|
672
677
|
VersionAdded: '1.23'
|
678
|
+
VersionChanged: '2.0'
|
673
679
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HttpStatus
|
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:
|
4
|
+
version: 2.0.0.pre
|
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: 2020-10-
|
13
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
@@ -18,28 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0
|
21
|
+
version: '1.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '0
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: rubocop-ast
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
32
|
-
requirements:
|
33
|
-
- - ">="
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 0.7.1
|
36
|
-
type: :runtime
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.7.1
|
28
|
+
version: '1.0'
|
43
29
|
- !ruby/object:Gem::Dependency
|
44
30
|
name: rack
|
45
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -271,9 +257,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
257
|
version: 2.4.0
|
272
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
259
|
requirements:
|
274
|
-
- - "
|
260
|
+
- - ">"
|
275
261
|
- !ruby/object:Gem::Version
|
276
|
-
version:
|
262
|
+
version: 1.3.1
|
277
263
|
requirements: []
|
278
264
|
rubygems_version: 3.0.3
|
279
265
|
signing_key:
|