standard-rspec 0.3.1 → 0.4.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 +28 -0
- data/lib/standard/rspec/version.rb +1 -1
- data/standard-rspec.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fface10ef20743484460ba0407176d622741ec178907604f46056a51aa5ba8ef
|
|
4
|
+
data.tar.gz: 6c8fac9df19952d82f09782527b4f41e58c83594122a7b1f8644f3c9fc70d6f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20d4d89548caae226c54111c563cf2661f963e099b06e91927a4ca3d1f98582bfd1f03aa61207a1aed1f11238286c75282b171fd73e91842d9f9aec30e8b8eb7
|
|
7
|
+
data.tar.gz: 16255bba858b73caf238fcf6abf23c08b26310989bd19063f52fd3857bc8e4ac5c48c64ca42bfcbb03aa3e5d0025dc857cfa2d68e7f37524f6712e54bcbda4d9
|
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:
|
data/standard-rspec.gemspec
CHANGED
|
@@ -32,7 +32,7 @@ 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
38
|
spec.add_dependency "rubocop-capybara", "~> 2.22"
|
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.4.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-01-26 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
|
|
@@ -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.
|