standard-rspec 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/base.yml +32 -4
- data/lib/standard/rspec/version.rb +1 -1
- data/standard-rspec.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b11d082229eddcceb2aaa86d971f54e7995787862f73430c85e374092d338f6
|
|
4
|
+
data.tar.gz: be54e1b2d0fcd5777317664c25264e6283e103604a50cc8b858f2f92906a0db6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1410e25cf615be32bc3c28e1fd990352a74289b4b23209ef933498f010a55e4491140d747ddcfffbf4b7c4b9aef3547658e15b0ae865ca5b59ca859d89800fa
|
|
7
|
+
data.tar.gz: d5acb14b8046787186a87434ab4debf57d90aedeb8248f82b64e38fb8ae44182fd2812d09c3723466c3e6fcd4ad160d17a3b9ae2c21e3a305f39eb304437a1c0
|
data/config/base.yml
CHANGED
|
@@ -532,6 +532,14 @@ RSpec/ImplicitSubject:
|
|
|
532
532
|
VersionChanged: '2.13'
|
|
533
533
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitSubject
|
|
534
534
|
|
|
535
|
+
RSpec/IncludeExamples:
|
|
536
|
+
Description: Checks for usage of `include_examples`.
|
|
537
|
+
Enabled: true
|
|
538
|
+
SafeAutoCorrect: false
|
|
539
|
+
VersionAdded: '3.6'
|
|
540
|
+
VersionChanged: '3.7'
|
|
541
|
+
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IncludeExamples
|
|
542
|
+
|
|
535
543
|
RSpec/IndexedLet:
|
|
536
544
|
Description: Do not set up test data using indexes (e.g., `item_1`, `item_2`).
|
|
537
545
|
Enabled: true
|
|
@@ -595,6 +603,12 @@ RSpec/LeakyConstantDeclaration:
|
|
|
595
603
|
StyleGuide: https://rspec.rubystyle.guide/#declare-constants
|
|
596
604
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LeakyConstantDeclaration
|
|
597
605
|
|
|
606
|
+
RSpec/LeakyLocalVariable:
|
|
607
|
+
Description: Checks for local variables from outer scopes used inside examples.
|
|
608
|
+
Enabled: true
|
|
609
|
+
VersionAdded: '3.8'
|
|
610
|
+
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LeakyLocalVariable
|
|
611
|
+
|
|
598
612
|
RSpec/LetBeforeExamples:
|
|
599
613
|
Description: Checks for `let` definitions that come after an example.
|
|
600
614
|
Enabled: true
|
|
@@ -743,6 +757,14 @@ RSpec/OverwritingSetup:
|
|
|
743
757
|
VersionAdded: '1.14'
|
|
744
758
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/OverwritingSetup
|
|
745
759
|
|
|
760
|
+
RSpec/Output:
|
|
761
|
+
Description: Checks for the use of output calls like puts and print in specs.
|
|
762
|
+
Enabled: true
|
|
763
|
+
AutoCorrect: contextual
|
|
764
|
+
SafeAutoCorrect: false
|
|
765
|
+
VersionAdded: '3.9'
|
|
766
|
+
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Output
|
|
767
|
+
|
|
746
768
|
RSpec/Pending:
|
|
747
769
|
Description: Checks for any pending or skipped examples.
|
|
748
770
|
Enabled: false
|
|
@@ -918,7 +940,13 @@ RSpec/SpecFilePathFormat:
|
|
|
918
940
|
IgnoreMethods: false
|
|
919
941
|
IgnoreMetadata:
|
|
920
942
|
type: routing
|
|
943
|
+
InflectorPath: "./config/initializers/inflections.rb"
|
|
944
|
+
SupportedInflectors:
|
|
945
|
+
- default
|
|
946
|
+
- active_support
|
|
947
|
+
EnforcedInflector: default
|
|
921
948
|
VersionAdded: '2.24'
|
|
949
|
+
VersionChanged: '3.8'
|
|
922
950
|
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SpecFilePathFormat
|
|
923
951
|
|
|
924
952
|
RSpec/SpecFilePathSuffix:
|
|
@@ -1017,19 +1045,19 @@ RSpec/Yield:
|
|
|
1017
1045
|
Capybara:
|
|
1018
1046
|
Enabled: true
|
|
1019
1047
|
|
|
1020
|
-
Capybara/CurrentPathExpectation:
|
|
1048
|
+
Capybara/RSpec/CurrentPathExpectation:
|
|
1021
1049
|
Description: Checks that no expectations are set on Capybara's `current_path`.
|
|
1022
1050
|
Enabled: true
|
|
1023
1051
|
VersionAdded: '1.18'
|
|
1024
1052
|
VersionChanged: '2.0'
|
|
1025
|
-
StyleGuide: https://www.rubydoc.info/gems/rubocop-
|
|
1053
|
+
StyleGuide: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/CurrentPathExpectation
|
|
1026
1054
|
|
|
1027
|
-
Capybara/VisibilityMatcher:
|
|
1055
|
+
Capybara/RSpec/VisibilityMatcher:
|
|
1028
1056
|
Description: Checks for boolean visibility in capybara finders.
|
|
1029
1057
|
Enabled: true
|
|
1030
1058
|
VersionAdded: '1.39'
|
|
1031
1059
|
VersionChanged: '2.0'
|
|
1032
|
-
StyleGuide: https://www.rubydoc.info/gems/rubocop-
|
|
1060
|
+
StyleGuide: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/VisibilityMatcher
|
|
1033
1061
|
|
|
1034
1062
|
FactoryBot:
|
|
1035
1063
|
Enabled: true
|
data/standard-rspec.gemspec
CHANGED
|
@@ -32,8 +32,8 @@ Gem::Specification.new do |spec|
|
|
|
32
32
|
spec.require_paths = ["lib"]
|
|
33
33
|
|
|
34
34
|
spec.add_dependency "lint_roller", ">= 1.0"
|
|
35
|
-
spec.add_dependency "rubocop-rspec", "~> 3.
|
|
35
|
+
spec.add_dependency "rubocop-rspec", "~> 3.9"
|
|
36
36
|
spec.add_dependency "rubocop-factory_bot", "~> 2.27"
|
|
37
37
|
spec.add_dependency "rubocop-rspec_rails", "~> 2.31"
|
|
38
|
-
spec.add_dependency "rubocop-capybara", "~> 2.
|
|
38
|
+
spec.add_dependency "rubocop-capybara", "~> 2.23"
|
|
39
39
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standard-rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- shilin-anton
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lint_roller
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '3.
|
|
33
|
+
version: '3.9'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '3.
|
|
40
|
+
version: '3.9'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rubocop-factory_bot
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '2.
|
|
75
|
+
version: '2.23'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '2.
|
|
82
|
+
version: '2.23'
|
|
83
83
|
description:
|
|
84
84
|
email:
|
|
85
85
|
- anton.d.shilin@gmail.com
|
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '0'
|
|
123
123
|
requirements: []
|
|
124
|
-
rubygems_version: 3.
|
|
124
|
+
rubygems_version: 3.1.6
|
|
125
125
|
signing_key:
|
|
126
126
|
specification_version: 4
|
|
127
127
|
summary: A Standard plugin that adds rubocop-rspec specific rules to Standard.
|