rubocop_fonsan_style 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.default.yml +21 -7
- data/.rubocop.rspec.yml +2 -45
- data/Gemfile.lock +46 -50
- data/lib/rubocop_fonsan_style/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f41c4d10a6890a77dfb6498b0656b57d6dab8efaee3a84d75b50c2b25fe3ece5
|
4
|
+
data.tar.gz: b1d6680571a0b890bbfdd5883b37b335377ece25b44a4421e9ab7e2d6cb6bb7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5354dfe1765f7d3fade49b7198d750e2ce47897fe9724db258f761f5223c65970b4c134ada88d5547470e9c6e6b9c9160c78e44a01a275deb391d49601f5f665
|
7
|
+
data.tar.gz: e2e6265706d6c21052d79e409b437d919d619fa6f26184243c53cfbfd48b5e4d71ce22a6908475fffbedc353600b894a01da015a647fdc989d7924b87cc22e2e
|
data/.rubocop.default.yml
CHANGED
@@ -3,6 +3,7 @@ require:
|
|
3
3
|
- rubocop-rubycw
|
4
4
|
AllCops:
|
5
5
|
SuggestExtensions: false
|
6
|
+
TargetRubyVersion: 3.0.0
|
6
7
|
|
7
8
|
Gemspec/AddRuntimeDependency: # new in 1.65
|
8
9
|
Enabled: true
|
@@ -86,7 +87,10 @@ Layout/SpaceInsideBlockBraces:
|
|
86
87
|
SpaceBeforeBlockParameters: false
|
87
88
|
Layout/SpaceInsideHashLiteralBraces:
|
88
89
|
EnforcedStyle: no_space
|
89
|
-
|
90
|
+
Lint/DuplicateSetElement: # new in 1.67
|
91
|
+
Enabled: true
|
92
|
+
Lint/UnescapedBracketInRegexp: # new in 1.68
|
93
|
+
Enabled: true
|
90
94
|
Lint/LiteralAssignmentInCondition: # new in 1.58
|
91
95
|
Enabled: false
|
92
96
|
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
@@ -359,6 +363,9 @@ Style/EmptyHeredoc:
|
|
359
363
|
Enabled: true
|
360
364
|
Style/EndlessMethod:
|
361
365
|
Enabled: true
|
366
|
+
EnforcedStyle: allow_always
|
367
|
+
Style/SingleLineMethods:
|
368
|
+
Enabled: true
|
362
369
|
Style/EnvHome:
|
363
370
|
Enabled: true
|
364
371
|
Style/ExplicitBlockArgument:
|
@@ -435,6 +442,8 @@ Style/QuotedSymbols:
|
|
435
442
|
Enabled: true
|
436
443
|
Style/RedundantArgument:
|
437
444
|
Enabled: true
|
445
|
+
Style/StringLiterals:
|
446
|
+
Enabled: false
|
438
447
|
Style/RedundantAssignment:
|
439
448
|
Enabled: true
|
440
449
|
Style/RedundantEach:
|
@@ -467,12 +476,7 @@ Style/StringChars:
|
|
467
476
|
Style/StringConcatenation:
|
468
477
|
Enabled: true
|
469
478
|
Style/StringHashKeys:
|
470
|
-
Enabled:
|
471
|
-
Exclude:
|
472
|
-
- 'config/environments/development.rb'
|
473
|
-
- 'config/environments/test.rb'
|
474
|
-
- 'config/environments/production.rb'
|
475
|
-
- 'config/routes.rb'
|
479
|
+
Enabled: false
|
476
480
|
Style/StringLiteralsInInterpolation:
|
477
481
|
Enabled: false
|
478
482
|
Style/SwapValues:
|
@@ -483,3 +487,13 @@ Style/TrailingCommaInArrayLiteral:
|
|
483
487
|
EnforcedStyleForMultiline: consistent_comma
|
484
488
|
Style/TrailingCommaInHashLiteral:
|
485
489
|
EnforcedStyleForMultiline: consistent_comma
|
490
|
+
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
491
|
+
Enabled: true
|
492
|
+
Style/BitwisePredicate: # new in 1.68
|
493
|
+
Enabled: true
|
494
|
+
Style/CombinableDefined: # new in 1.68
|
495
|
+
Enabled: true
|
496
|
+
Style/KeywordArgumentsMerging: # new in 1.68
|
497
|
+
Enabled: true
|
498
|
+
Style/SafeNavigationChainLength: # new in 1.68
|
499
|
+
Enabled: true
|
data/.rubocop.rspec.yml
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rspec
|
3
3
|
|
4
|
-
Capybara/RedundantWithinFind: # new in 2.20
|
5
|
-
Enabled: true
|
6
|
-
FactoryBot/ExcessiveCreateList: # new in 2.25
|
7
|
-
Enabled: true
|
8
4
|
RSpec/EmptyOutput: # new in 2.29
|
9
5
|
Enabled: true
|
10
6
|
RSpec/ExpectInLet: # new in 2.30
|
@@ -29,8 +25,6 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
|
|
29
25
|
Enabled: true
|
30
26
|
RSpec/SubjectDeclaration: # new in 2.5
|
31
27
|
Enabled: true
|
32
|
-
RSpecRails/AvoidSetupHook: # new in 2.4
|
33
|
-
Enabled: true
|
34
28
|
RSpec/StubbedMock: # (new in 1.44)
|
35
29
|
Enabled: true
|
36
30
|
RSpec/MultipleMemoizedHelpers:
|
@@ -47,25 +41,7 @@ RSpec/SortMetadata: # new in 2.14
|
|
47
41
|
Enabled: true
|
48
42
|
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
49
43
|
Enabled: true
|
50
|
-
|
51
|
-
Enabled: true
|
52
|
-
Capybara/SpecificActions: # new in 2.14
|
53
|
-
Enabled: true
|
54
|
-
Capybara/SpecificFinders: # new in 2.13
|
55
|
-
Enabled: true
|
56
|
-
Capybara/MatchStyle: # new in <<next>>
|
57
|
-
Enabled: true
|
58
|
-
Capybara/SpecificMatcher: # new in 2.12
|
59
|
-
Enabled: true
|
60
|
-
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
61
|
-
Enabled: true
|
62
|
-
Capybara/RSpec/HaveSelector: # new in 2.19
|
63
|
-
Enabled: true
|
64
|
-
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
65
|
-
Enabled: true
|
66
|
-
RSpecRails/HaveHttpStatus: # new in 2.12
|
67
|
-
Enabled: true
|
68
|
-
RSpecRails/InferredSpecType: # new in 2.14
|
44
|
+
RSpec/PredicateMatcher: # new in 2.19
|
69
45
|
Enabled: true
|
70
46
|
RSpec/NamedSubject:
|
71
47
|
Enabled: false
|
@@ -103,24 +79,5 @@ RSpec/SpecFilePathFormat: # new in 2.24
|
|
103
79
|
Enabled: true
|
104
80
|
RSpec/SpecFilePathSuffix: # new in 2.24
|
105
81
|
Enabled: true
|
106
|
-
|
107
|
-
Enabled: true
|
108
|
-
RSpecRails/TravelAround: # new in 2.19
|
109
|
-
Enabled: true
|
110
|
-
RSpecRails/MinitestAssertions: # new in 2.17
|
111
|
-
Enabled: true
|
112
|
-
|
113
|
-
FactoryBot/SyntaxMethods: # new in 2.7
|
114
|
-
Enabled: true
|
115
|
-
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
116
|
-
Enabled: true
|
117
|
-
FactoryBot/FactoryNameStyle: # new in 2.16
|
118
|
-
Enabled: true
|
119
|
-
FactoryBot/AssociationStyle: # new in 2.23
|
120
|
-
Enabled: true
|
121
|
-
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
122
|
-
Enabled: true
|
123
|
-
FactoryBot/IdSequence: # new in <<next>>
|
124
|
-
Enabled: true
|
125
|
-
FactoryBot/RedundantFactoryOption: # new in 2.23
|
82
|
+
RSpec/StringAsInstanceDoubleConstant: # new in 3.1
|
126
83
|
Enabled: true
|
data/Gemfile.lock
CHANGED
@@ -1,74 +1,76 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_fonsan_style (0.1.
|
4
|
+
rubocop_fonsan_style (0.1.7)
|
5
5
|
haml_lint (~> 0.52)
|
6
|
-
rubocop (~> 1.
|
6
|
+
rubocop (~> 1.68)
|
7
7
|
rubocop-performance (~> 1.22)
|
8
|
-
rubocop-rails (~> 2.
|
9
|
-
rubocop-rspec (~> 2
|
8
|
+
rubocop-rails (~> 2.27)
|
9
|
+
rubocop-rspec (~> 3.2)
|
10
10
|
rubocop-rubycw (~> 0.1)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (7.
|
15
|
+
activesupport (7.2.2)
|
16
16
|
base64
|
17
|
+
benchmark (>= 0.3)
|
17
18
|
bigdecimal
|
18
|
-
concurrent-ruby (~> 1.0, >= 1.
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
19
20
|
connection_pool (>= 2.2.5)
|
20
21
|
drb
|
21
22
|
i18n (>= 1.6, < 2)
|
23
|
+
logger (>= 1.4.2)
|
22
24
|
minitest (>= 5.1)
|
23
|
-
|
24
|
-
tzinfo (~> 2.0)
|
25
|
+
securerandom (>= 0.3)
|
26
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
25
27
|
ast (2.4.2)
|
26
28
|
base64 (0.2.0)
|
27
|
-
|
28
|
-
|
29
|
+
benchmark (0.3.0)
|
30
|
+
bigdecimal (3.1.8)
|
31
|
+
concurrent-ruby (1.3.4)
|
29
32
|
connection_pool (2.4.1)
|
30
|
-
diff-lcs (1.5.
|
31
|
-
drb (2.2.
|
32
|
-
ruby2_keywords
|
33
|
+
diff-lcs (1.5.1)
|
34
|
+
drb (2.2.1)
|
33
35
|
haml (6.3.0)
|
34
36
|
temple (>= 0.8.2)
|
35
37
|
thor
|
36
38
|
tilt
|
37
|
-
haml_lint (0.
|
38
|
-
haml (>=
|
39
|
+
haml_lint (0.59.0)
|
40
|
+
haml (>= 5.0)
|
39
41
|
parallel (~> 1.10)
|
40
42
|
rainbow
|
41
43
|
rubocop (>= 1.0)
|
42
44
|
sysexits (~> 1.1)
|
43
|
-
i18n (1.14.
|
45
|
+
i18n (1.14.6)
|
44
46
|
concurrent-ruby (~> 1.0)
|
45
|
-
json (2.7.
|
47
|
+
json (2.7.5)
|
46
48
|
language_server-protocol (3.17.0.3)
|
47
|
-
|
48
|
-
|
49
|
-
parallel (1.
|
49
|
+
logger (1.6.1)
|
50
|
+
minitest (5.25.1)
|
51
|
+
parallel (1.26.3)
|
50
52
|
parser (3.3.5.0)
|
51
53
|
ast (~> 2.4.1)
|
52
54
|
racc
|
53
|
-
racc (1.
|
54
|
-
rack (3.
|
55
|
+
racc (1.8.1)
|
56
|
+
rack (3.1.8)
|
55
57
|
rainbow (3.1.1)
|
56
|
-
rake (13.1
|
57
|
-
regexp_parser (2.
|
58
|
-
rspec (3.
|
59
|
-
rspec-core (~> 3.
|
60
|
-
rspec-expectations (~> 3.
|
61
|
-
rspec-mocks (~> 3.
|
62
|
-
rspec-core (3.
|
63
|
-
rspec-support (~> 3.
|
64
|
-
rspec-expectations (3.
|
58
|
+
rake (13.2.1)
|
59
|
+
regexp_parser (2.9.2)
|
60
|
+
rspec (3.13.0)
|
61
|
+
rspec-core (~> 3.13.0)
|
62
|
+
rspec-expectations (~> 3.13.0)
|
63
|
+
rspec-mocks (~> 3.13.0)
|
64
|
+
rspec-core (3.13.2)
|
65
|
+
rspec-support (~> 3.13.0)
|
66
|
+
rspec-expectations (3.13.3)
|
65
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.
|
67
|
-
rspec-mocks (3.
|
68
|
+
rspec-support (~> 3.13.0)
|
69
|
+
rspec-mocks (3.13.2)
|
68
70
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-support (3.
|
71
|
-
rubocop (1.
|
71
|
+
rspec-support (~> 3.13.0)
|
72
|
+
rspec-support (3.13.1)
|
73
|
+
rubocop (1.68.0)
|
72
74
|
json (~> 2.3)
|
73
75
|
language_server-protocol (>= 3.17.0)
|
74
76
|
parallel (~> 1.10)
|
@@ -78,35 +80,29 @@ GEM
|
|
78
80
|
rubocop-ast (>= 1.32.2, < 2.0)
|
79
81
|
ruby-progressbar (~> 1.7)
|
80
82
|
unicode-display_width (>= 2.4.0, < 3.0)
|
81
|
-
rubocop-ast (1.
|
83
|
+
rubocop-ast (1.33.0)
|
82
84
|
parser (>= 3.3.1.0)
|
83
|
-
rubocop-capybara (2.19.0)
|
84
|
-
rubocop (~> 1.41)
|
85
|
-
rubocop-factory_bot (2.24.0)
|
86
|
-
rubocop (~> 1.33)
|
87
85
|
rubocop-performance (1.22.1)
|
88
86
|
rubocop (>= 1.48.1, < 2.0)
|
89
87
|
rubocop-ast (>= 1.31.1, < 2.0)
|
90
|
-
rubocop-rails (2.
|
88
|
+
rubocop-rails (2.27.0)
|
91
89
|
activesupport (>= 4.2.0)
|
92
90
|
rack (>= 1.1)
|
93
91
|
rubocop (>= 1.52.0, < 2.0)
|
94
92
|
rubocop-ast (>= 1.31.1, < 2.0)
|
95
|
-
rubocop-rspec (2.
|
96
|
-
rubocop (~> 1.
|
97
|
-
rubocop-capybara (~> 2.17)
|
98
|
-
rubocop-factory_bot (~> 2.22)
|
93
|
+
rubocop-rspec (3.2.0)
|
94
|
+
rubocop (~> 1.61)
|
99
95
|
rubocop-rubycw (0.1.6)
|
100
96
|
rubocop (~> 1.0)
|
101
97
|
ruby-progressbar (1.13.0)
|
102
|
-
|
98
|
+
securerandom (0.3.1)
|
103
99
|
sysexits (1.2.0)
|
104
100
|
temple (0.10.3)
|
105
|
-
thor (1.3.
|
106
|
-
tilt (2.
|
101
|
+
thor (1.3.2)
|
102
|
+
tilt (2.4.0)
|
107
103
|
tzinfo (2.0.6)
|
108
104
|
concurrent-ruby (~> 1.0)
|
109
|
-
unicode-display_width (2.
|
105
|
+
unicode-display_width (2.6.0)
|
110
106
|
|
111
107
|
PLATFORMS
|
112
108
|
arm64-darwin-22
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_fonsan_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fonsan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml_lint
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.68'
|
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: '1.
|
40
|
+
version: '1.68'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.27'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.27'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2
|
75
|
+
version: '3.2'
|
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: '3.2'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rubycw
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
132
132
|
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: 3.0.0
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - ">="
|