armitage-rubocop 1.68.0.1 → 1.75.7
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/.rubocop.yml +1 -1
- data/Gemfile.lock +66 -53
- data/armitage-rubocop.gemspec +9 -9
- data/lib/common/layout.yml +1 -0
- data/lib/common/lint.yml +32 -0
- data/lib/common/naming.yml +18 -1
- data/lib/common/performance.yml +3 -0
- data/lib/common/style.yml +33 -0
- data/lib/rspec/capybara.yml +10 -0
- data/lib/rspec/rails.yml +14 -7
- data/lib/rspec/rspec.yml +3 -3
- data/lib/rubocop.rails.yml +1 -0
- metadata +19 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a037b07769d6dd7e9951d2a7e28a1895d2f423669e3ea0d0cde4cecfa835bbb3
|
4
|
+
data.tar.gz: 4e7a3bf807c6add0652a7108221586d21d45c67af6e28a7c57755aa5577a9dc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0d98f17e8ba60eb1430e0591c17a3e62a852430f7e0752f3ddf3ca890940e0e03c00667f2937e5417324c453a5b57042896448792815c7f9a76576e8612892b
|
7
|
+
data.tar.gz: 1cb82e741f65d2078d87fab4d81c14e76f630ac6922777cb020505689f09d38acf2e66b9f1f734bb7a8d7792fc45074a4489b7b48a3d16a5b60e2102c403d6ac
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
armitage-rubocop (1.
|
5
|
-
rubocop (= 1.
|
6
|
-
rubocop-capybara (= 2.
|
7
|
-
rubocop-factory_bot (= 2.
|
8
|
-
rubocop-performance (= 1.
|
9
|
-
rubocop-rails (= 2.
|
10
|
-
rubocop-rake (= 0.
|
11
|
-
rubocop-rspec (= 3.
|
12
|
-
rubocop-rspec_rails (= 2.
|
4
|
+
armitage-rubocop (1.75.7)
|
5
|
+
rubocop (= 1.75.7)
|
6
|
+
rubocop-capybara (= 2.22.1)
|
7
|
+
rubocop-factory_bot (= 2.27.1)
|
8
|
+
rubocop-performance (= 1.25.0)
|
9
|
+
rubocop-rails (= 2.32.0)
|
10
|
+
rubocop-rake (= 0.7.1)
|
11
|
+
rubocop-rspec (= 3.6.0)
|
12
|
+
rubocop-rspec_rails (= 2.31.0)
|
13
13
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
activesupport (8.0.
|
17
|
+
activesupport (8.0.2)
|
18
18
|
base64
|
19
19
|
benchmark (>= 0.3)
|
20
20
|
bigdecimal
|
@@ -27,70 +27,83 @@ GEM
|
|
27
27
|
securerandom (>= 0.3)
|
28
28
|
tzinfo (~> 2.0, >= 2.0.5)
|
29
29
|
uri (>= 0.13.1)
|
30
|
-
ast (2.4.
|
30
|
+
ast (2.4.3)
|
31
31
|
base64 (0.2.0)
|
32
32
|
benchmark (0.4.0)
|
33
|
-
bigdecimal (3.1.
|
33
|
+
bigdecimal (3.1.9)
|
34
34
|
coderay (1.1.3)
|
35
|
-
concurrent-ruby (1.3.
|
36
|
-
connection_pool (2.
|
37
|
-
drb (2.2.
|
38
|
-
i18n (1.14.
|
35
|
+
concurrent-ruby (1.3.5)
|
36
|
+
connection_pool (2.5.3)
|
37
|
+
drb (2.2.3)
|
38
|
+
i18n (1.14.7)
|
39
39
|
concurrent-ruby (~> 1.0)
|
40
|
-
json (2.
|
41
|
-
language_server-protocol (3.17.0.
|
42
|
-
|
40
|
+
json (2.12.2)
|
41
|
+
language_server-protocol (3.17.0.5)
|
42
|
+
lint_roller (1.1.0)
|
43
|
+
logger (1.7.0)
|
43
44
|
method_source (1.1.0)
|
44
|
-
minitest (5.25.
|
45
|
-
parallel (1.
|
46
|
-
parser (3.3.
|
45
|
+
minitest (5.25.5)
|
46
|
+
parallel (1.27.0)
|
47
|
+
parser (3.3.8.0)
|
47
48
|
ast (~> 2.4.1)
|
48
49
|
racc
|
49
|
-
|
50
|
+
prism (1.4.0)
|
51
|
+
pry (0.15.2)
|
50
52
|
coderay (~> 1.1)
|
51
53
|
method_source (~> 1.0)
|
52
54
|
racc (1.8.1)
|
53
|
-
rack (3.1.
|
55
|
+
rack (3.1.15)
|
54
56
|
rainbow (3.1.1)
|
55
57
|
rake (13.2.1)
|
56
|
-
regexp_parser (2.
|
57
|
-
rubocop (1.
|
58
|
+
regexp_parser (2.10.0)
|
59
|
+
rubocop (1.75.7)
|
58
60
|
json (~> 2.3)
|
59
|
-
language_server-protocol (
|
61
|
+
language_server-protocol (~> 3.17.0.2)
|
62
|
+
lint_roller (~> 1.1.0)
|
60
63
|
parallel (~> 1.10)
|
61
64
|
parser (>= 3.3.0.2)
|
62
65
|
rainbow (>= 2.2.2, < 4.0)
|
63
|
-
regexp_parser (>= 2.
|
64
|
-
rubocop-ast (>= 1.
|
66
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
67
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
65
68
|
ruby-progressbar (~> 1.7)
|
66
|
-
unicode-display_width (>= 2.4.0, <
|
67
|
-
rubocop-ast (1.
|
68
|
-
parser (>= 3.3.
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
rubocop (~> 1.
|
73
|
-
rubocop-
|
74
|
-
|
75
|
-
rubocop
|
76
|
-
rubocop-
|
69
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
70
|
+
rubocop-ast (1.44.1)
|
71
|
+
parser (>= 3.3.7.2)
|
72
|
+
prism (~> 1.4)
|
73
|
+
rubocop-capybara (2.22.1)
|
74
|
+
lint_roller (~> 1.1)
|
75
|
+
rubocop (~> 1.72, >= 1.72.1)
|
76
|
+
rubocop-factory_bot (2.27.1)
|
77
|
+
lint_roller (~> 1.1)
|
78
|
+
rubocop (~> 1.72, >= 1.72.1)
|
79
|
+
rubocop-performance (1.25.0)
|
80
|
+
lint_roller (~> 1.1)
|
81
|
+
rubocop (>= 1.75.0, < 2.0)
|
82
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
83
|
+
rubocop-rails (2.32.0)
|
77
84
|
activesupport (>= 4.2.0)
|
85
|
+
lint_roller (~> 1.1)
|
78
86
|
rack (>= 1.1)
|
79
|
-
rubocop (>= 1.
|
80
|
-
rubocop-ast (>= 1.
|
81
|
-
rubocop-rake (0.
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
rubocop (~> 1.
|
87
|
-
|
87
|
+
rubocop (>= 1.75.0, < 2.0)
|
88
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
89
|
+
rubocop-rake (0.7.1)
|
90
|
+
lint_roller (~> 1.1)
|
91
|
+
rubocop (>= 1.72.1)
|
92
|
+
rubocop-rspec (3.6.0)
|
93
|
+
lint_roller (~> 1.1)
|
94
|
+
rubocop (~> 1.72, >= 1.72.1)
|
95
|
+
rubocop-rspec_rails (2.31.0)
|
96
|
+
lint_roller (~> 1.1)
|
97
|
+
rubocop (~> 1.72, >= 1.72.1)
|
98
|
+
rubocop-rspec (~> 3.5)
|
88
99
|
ruby-progressbar (1.13.0)
|
89
|
-
securerandom (0.
|
100
|
+
securerandom (0.4.1)
|
90
101
|
tzinfo (2.0.6)
|
91
102
|
concurrent-ruby (~> 1.0)
|
92
|
-
unicode-display_width (
|
93
|
-
|
103
|
+
unicode-display_width (3.1.4)
|
104
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
105
|
+
unicode-emoji (4.0.4)
|
106
|
+
uri (1.0.3)
|
94
107
|
|
95
108
|
PLATFORMS
|
96
109
|
arm64-darwin-24
|
@@ -103,4 +116,4 @@ DEPENDENCIES
|
|
103
116
|
rake (~> 13.1)
|
104
117
|
|
105
118
|
BUNDLED WITH
|
106
|
-
2.
|
119
|
+
2.6.7
|
data/armitage-rubocop.gemspec
CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.required_ruby_version = '>= 3.3'
|
8
8
|
|
9
|
-
spec.version = '1.
|
9
|
+
spec.version = '1.75.7'
|
10
10
|
spec.name = 'armitage-rubocop'
|
11
11
|
spec.license = 'MIT'
|
12
12
|
spec.authors = ['Rustam Ibragimov']
|
@@ -23,14 +23,14 @@ Gem::Specification.new do |spec|
|
|
23
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
24
|
end
|
25
25
|
|
26
|
-
spec.add_dependency 'rubocop', '= 1.
|
27
|
-
spec.add_dependency 'rubocop-performance', '= 1.
|
28
|
-
spec.add_dependency 'rubocop-rails', '= 2.
|
29
|
-
spec.add_dependency 'rubocop-rspec', '= 3.
|
30
|
-
spec.add_dependency 'rubocop-rspec_rails', '= 2.
|
31
|
-
spec.add_dependency 'rubocop-rake', '= 0.
|
32
|
-
spec.add_dependency 'rubocop-capybara', '= 2.
|
33
|
-
spec.add_dependency 'rubocop-factory_bot', '= 2.
|
26
|
+
spec.add_dependency 'rubocop', '= 1.75.7'
|
27
|
+
spec.add_dependency 'rubocop-performance', '= 1.25.0'
|
28
|
+
spec.add_dependency 'rubocop-rails', '= 2.32.0'
|
29
|
+
spec.add_dependency 'rubocop-rspec', '= 3.6.0'
|
30
|
+
spec.add_dependency 'rubocop-rspec_rails', '= 2.31.0'
|
31
|
+
spec.add_dependency 'rubocop-rake', '= 0.7.1'
|
32
|
+
spec.add_dependency 'rubocop-capybara', '= 2.22.1'
|
33
|
+
spec.add_dependency 'rubocop-factory_bot', '= 2.27.1'
|
34
34
|
|
35
35
|
spec.add_development_dependency 'bundler', '~> 2.3'
|
36
36
|
spec.add_development_dependency 'rake', '~> 13.1'
|
data/lib/common/layout.yml
CHANGED
data/lib/common/lint.yml
CHANGED
@@ -19,6 +19,10 @@ Lint/AmbiguousRange:
|
|
19
19
|
Lint/AmbiguousOperatorPrecedence:
|
20
20
|
Enabled: false
|
21
21
|
|
22
|
+
Lint/ArrayLiteralInRegexp:
|
23
|
+
Enabled: true
|
24
|
+
AutoCorrect: false
|
25
|
+
|
22
26
|
Lint/AssignmentInCondition:
|
23
27
|
Enabled: false
|
24
28
|
AutoCorrect: true
|
@@ -36,6 +40,9 @@ Lint/BooleanSymbol:
|
|
36
40
|
Lint/CircularArgumentReference:
|
37
41
|
Enabled: true
|
38
42
|
|
43
|
+
Lint/CopDirectiveSyntax:
|
44
|
+
Enabled: true
|
45
|
+
|
39
46
|
Lint/ConstantDefinitionInBlock:
|
40
47
|
Enabled: false
|
41
48
|
AllowedMethods:
|
@@ -44,6 +51,9 @@ Lint/ConstantDefinitionInBlock:
|
|
44
51
|
Lint/ConstantOverwrittenInRescue:
|
45
52
|
Enabled: true
|
46
53
|
|
54
|
+
Lint/ConstantReassignment:
|
55
|
+
Enabled: true
|
56
|
+
|
47
57
|
Lint/ConstantResolution:
|
48
58
|
Enabled: false
|
49
59
|
Only: []
|
@@ -178,9 +188,16 @@ Lint/SuppressedException:
|
|
178
188
|
AllowNil: true
|
179
189
|
Enabled: true # NOTE: experimental!
|
180
190
|
|
191
|
+
Lint/SuppressedExceptionInNumberConversion:
|
192
|
+
Enabled: true # NOTE: truely experimental
|
193
|
+
AutoCorrect: true # NOTE: absolutely unsafe
|
194
|
+
|
181
195
|
Lint/HashCompareByIdentity:
|
182
196
|
Enabled: false
|
183
197
|
|
198
|
+
Lint/HashNewWithKeywordArgumentsAsDefault:
|
199
|
+
Enabled: true
|
200
|
+
|
184
201
|
Lint/HeredocMethodCallPosition:
|
185
202
|
Enabled: true
|
186
203
|
|
@@ -261,6 +278,9 @@ Lint/NonLocalExitFromIterator:
|
|
261
278
|
Lint/NumberConversion:
|
262
279
|
Enabled: false
|
263
280
|
|
281
|
+
Lint/NumericOperationWithConstantResult:
|
282
|
+
Enabled: true
|
283
|
+
|
264
284
|
Lint/NumberedParameterAssignment:
|
265
285
|
Enabled: true
|
266
286
|
|
@@ -283,6 +303,9 @@ Lint/PercentStringArray:
|
|
283
303
|
Lint/PercentSymbolArray:
|
284
304
|
Enabled: true
|
285
305
|
|
306
|
+
Lint/UselessDefined:
|
307
|
+
Enabled: true
|
308
|
+
|
286
309
|
Lint/UselessNumericOperation:
|
287
310
|
Enabled: true
|
288
311
|
|
@@ -304,6 +327,9 @@ Lint/RaiseException:
|
|
304
327
|
Lint/RandOne:
|
305
328
|
Enabled: true
|
306
329
|
|
330
|
+
Lint/RedundantTypeConversion:
|
331
|
+
Enabled: true
|
332
|
+
|
307
333
|
Lint/RedundantRegexpQuantifiers:
|
308
334
|
Enabled: true
|
309
335
|
|
@@ -364,6 +390,9 @@ Lint/ScriptPermission:
|
|
364
390
|
Lint/SendWithMixinArgument:
|
365
391
|
Enabled: true
|
366
392
|
|
393
|
+
Lint/SharedMutableDefault
|
394
|
+
Enabled: true
|
395
|
+
|
367
396
|
Lint/ShadowedArgument:
|
368
397
|
Enabled: true
|
369
398
|
IgnoreImplicitReferences: false
|
@@ -460,6 +489,9 @@ Lint/UselessAssignment:
|
|
460
489
|
AutoCorrect: true
|
461
490
|
Enabled: true
|
462
491
|
|
492
|
+
Lint/UselessConstantScoping:
|
493
|
+
Enabled: true
|
494
|
+
|
463
495
|
Lint/UselessMethodDefinition:
|
464
496
|
Enabled: true
|
465
497
|
|
data/lib/common/naming.yml
CHANGED
@@ -39,6 +39,11 @@ Naming/MemoizedInstanceVariableName:
|
|
39
39
|
Naming/MethodName:
|
40
40
|
Enabled: true
|
41
41
|
EnforcedStyle: snake_case
|
42
|
+
AllowedPatterns: []
|
43
|
+
ForbiddenPatterns: []
|
44
|
+
ForbiddenIdentifiers:
|
45
|
+
- def
|
46
|
+
- super
|
42
47
|
|
43
48
|
Naming/PredicateName:
|
44
49
|
Enabled: false
|
@@ -85,10 +90,22 @@ Naming/VariableName:
|
|
85
90
|
Enabled: true
|
86
91
|
EnforcedStyle: snake_case
|
87
92
|
AllowedIdentifiers: []
|
93
|
+
AllowedPatterns: []
|
94
|
+
ForbiddenIdentifiers: []
|
95
|
+
ForbiddenPatterns: []
|
88
96
|
|
89
97
|
Naming/VariableNumber:
|
90
98
|
Enabled: true
|
91
99
|
EnforcedStyle: normalcase
|
92
100
|
CheckMethodNames: true
|
93
101
|
CheckSymbols: true
|
94
|
-
AllowedIdentifiers:
|
102
|
+
AllowedIdentifiers:
|
103
|
+
- TLS1_1
|
104
|
+
- TLS1_2
|
105
|
+
- capture3
|
106
|
+
- iso8601
|
107
|
+
- rfc1123_date
|
108
|
+
- rfc822
|
109
|
+
- rfc2822
|
110
|
+
- rfc3339
|
111
|
+
- x86_64
|
data/lib/common/performance.yml
CHANGED
data/lib/common/style.yml
CHANGED
@@ -10,6 +10,7 @@ Style/AccessModifierDeclarations:
|
|
10
10
|
EnforcedStyle: group
|
11
11
|
AllowModifiersOnSymbols: true
|
12
12
|
AllowModifiersOnAttrs: true
|
13
|
+
AllowModifiersOnAliasMethod: true
|
13
14
|
|
14
15
|
Style/Alias:
|
15
16
|
Enabled: true
|
@@ -122,6 +123,9 @@ Style/ColonMethodDefinition:
|
|
122
123
|
Style/CombinableDefined:
|
123
124
|
Enabled: true
|
124
125
|
|
126
|
+
Style/ComparableBetween:
|
127
|
+
Enabled: false
|
128
|
+
|
125
129
|
Style/ComparableClamp:
|
126
130
|
Enabled: true
|
127
131
|
|
@@ -164,6 +168,9 @@ Style/Dir:
|
|
164
168
|
Style/DirEmpty:
|
165
169
|
Enabled: true
|
166
170
|
|
171
|
+
Style/DigChain:
|
172
|
+
Enabled: true
|
173
|
+
|
167
174
|
Style/DisableCopsWithinSourceCodeDirective:
|
168
175
|
Enabled: false
|
169
176
|
|
@@ -251,6 +258,13 @@ Style/FetchEnvVar:
|
|
251
258
|
Style/FileEmpty:
|
252
259
|
Enabled: true
|
253
260
|
|
261
|
+
Style/FileNull:
|
262
|
+
Enabled: true
|
263
|
+
|
264
|
+
Style/FileTouch:
|
265
|
+
Enabled: true
|
266
|
+
AutoCorrect: false
|
267
|
+
|
254
268
|
Style/FileRead:
|
255
269
|
Enabled: false
|
256
270
|
|
@@ -274,6 +288,7 @@ Style/FormatStringToken:
|
|
274
288
|
MaxUnannotatedPlaceholdersAllowed: 1
|
275
289
|
EnforcedStyle: annotated
|
276
290
|
AllowedMethods: []
|
291
|
+
Mode: aggressive
|
277
292
|
|
278
293
|
Style/FrozenStringLiteralComment:
|
279
294
|
Enabled: true
|
@@ -301,6 +316,10 @@ Style/HashConversion:
|
|
301
316
|
AllowSplatArgument: true
|
302
317
|
Enabled: false
|
303
318
|
|
319
|
+
Style/HashFetchChain:
|
320
|
+
Enabled: true
|
321
|
+
AutoCorrect: false
|
322
|
+
|
304
323
|
Style/HashExcept:
|
305
324
|
Enabled: true
|
306
325
|
|
@@ -311,6 +330,9 @@ Style/HashLikeCase:
|
|
311
330
|
Style/HashEachMethods:
|
312
331
|
Enabled: true
|
313
332
|
|
333
|
+
Style/HashSlice:
|
334
|
+
Enabled: true
|
335
|
+
|
314
336
|
Style/HashSyntax:
|
315
337
|
Enabled: true
|
316
338
|
EnforcedStyle: ruby19
|
@@ -364,6 +386,12 @@ Style/InverseMethods:
|
|
364
386
|
Style/IpAddresses:
|
365
387
|
Enabled: false
|
366
388
|
|
389
|
+
Style/ItAssignment:
|
390
|
+
Enabled: true
|
391
|
+
|
392
|
+
Style/ItBlockParameter:
|
393
|
+
Enabled: false # TODO: change to true in future
|
394
|
+
|
367
395
|
Style/KeywordArgumentsMerging:
|
368
396
|
Enabled: true
|
369
397
|
|
@@ -504,6 +532,7 @@ Style/Next:
|
|
504
532
|
Enabled: true
|
505
533
|
EnforcedStyle: skip_modifier_ifs
|
506
534
|
MinBodyLength: 3
|
535
|
+
AllowConsecutiveConditionals: true
|
507
536
|
|
508
537
|
Style/NilComparison:
|
509
538
|
Enabled: true
|
@@ -618,6 +647,10 @@ Style/RedundantRegexpConstructor:
|
|
618
647
|
Style/RedundantFilterChain:
|
619
648
|
Enabled: true
|
620
649
|
|
650
|
+
Style/RedundantFormat:
|
651
|
+
Enabled: true
|
652
|
+
AutoCorrect: false
|
653
|
+
|
621
654
|
Style/RedundantLineContinuation:
|
622
655
|
Enabled: true
|
623
656
|
|
data/lib/rspec/capybara.yml
CHANGED
@@ -1,12 +1,22 @@
|
|
1
|
+
Capybara/AmbiguousClick:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Capybara/RedundantWithinFind:
|
2
5
|
Enabled: true
|
3
6
|
|
4
7
|
Capybara/CurrentPathExpectation:
|
5
8
|
Enabled: true
|
6
9
|
|
10
|
+
# NOTE: deprecated cop (will be dropped with 3.0 release)
|
7
11
|
Capybara/ClickLinkOrButtonStyle:
|
8
12
|
Enabled: true
|
9
13
|
|
14
|
+
Capybara/FindAllFirst:
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
Capybara/NegationMatcherAfterVisit:
|
18
|
+
Enabled: false
|
19
|
+
|
10
20
|
Capybara/RSpec/PredicateMatcher:
|
11
21
|
Enabled: true
|
12
22
|
Strict: true
|
data/lib/rspec/rails.yml
CHANGED
@@ -1,20 +1,27 @@
|
|
1
|
-
|
1
|
+
RSpecRails/HttpStatus:
|
2
2
|
Enabled: false
|
3
3
|
|
4
|
-
|
4
|
+
RSpecRails/AvoidSetupHook:
|
5
5
|
Enabled: true
|
6
6
|
|
7
|
-
|
7
|
+
RSpecRails/HaveHttpStatus:
|
8
8
|
Enabled: false
|
9
9
|
|
10
|
-
|
10
|
+
RSpecRails/InferredSpecType:
|
11
11
|
Enabled: false
|
12
12
|
|
13
|
-
|
13
|
+
RSpecRails/MinitestAssertions:
|
14
14
|
Enabled: true
|
15
15
|
|
16
|
-
|
16
|
+
RSpecRails/TravelAround:
|
17
17
|
Enabled: false
|
18
18
|
|
19
|
-
|
19
|
+
RSpecRails/NegationBeValid:
|
20
20
|
Enabled: false
|
21
|
+
|
22
|
+
Rails/MultipleRoutePaths:
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
Rails/StrongParametersExpect:
|
26
|
+
Enabled: true
|
27
|
+
AutoCorrect: false
|
data/lib/rspec/rspec.yml
CHANGED
@@ -158,6 +158,9 @@ RSpec/ImplicitSubject:
|
|
158
158
|
Enabled: true
|
159
159
|
EnforcedStyle: single_line_only
|
160
160
|
|
161
|
+
RSpec/IncludeExamples:
|
162
|
+
Enabled: false
|
163
|
+
|
161
164
|
RSpec/InstanceSpy:
|
162
165
|
Enabled: true
|
163
166
|
|
@@ -329,9 +332,6 @@ RSpec/SubjectDeclaration:
|
|
329
332
|
RSpec/StubbedMock:
|
330
333
|
Enabled: true
|
331
334
|
|
332
|
-
RSpec/StringAsInstanceDoubleConstant:
|
333
|
-
Enabled: false
|
334
|
-
|
335
335
|
RSpec/UndescriptiveLiteralsDescription:
|
336
336
|
Enabled: true
|
337
337
|
|
data/lib/rubocop.rails.yml
CHANGED
@@ -10,6 +10,7 @@ inherit_from:
|
|
10
10
|
AllCops:
|
11
11
|
TargetRailsVersion: ~
|
12
12
|
TargetRubyVersion: ~
|
13
|
+
MigratedSchemaVersion: ~ # NOTE: prevents inspecting schema settings added before this version
|
13
14
|
ActiveSupportExtensionsEnabled: true
|
14
15
|
DefaultFormatter: progress
|
15
16
|
DisplayCopNames: true
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: armitage-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.75.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rubocop
|
@@ -16,112 +15,112 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - '='
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
18
|
+
version: 1.75.7
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - '='
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
25
|
+
version: 1.75.7
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rubocop-performance
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - '='
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
32
|
+
version: 1.25.0
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - '='
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
39
|
+
version: 1.25.0
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: rubocop-rails
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - '='
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
46
|
+
version: 2.32.0
|
48
47
|
type: :runtime
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
51
|
- - '='
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
53
|
+
version: 2.32.0
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
55
|
name: rubocop-rspec
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
58
|
- - '='
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.
|
60
|
+
version: 3.6.0
|
62
61
|
type: :runtime
|
63
62
|
prerelease: false
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
65
64
|
requirements:
|
66
65
|
- - '='
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.
|
67
|
+
version: 3.6.0
|
69
68
|
- !ruby/object:Gem::Dependency
|
70
69
|
name: rubocop-rspec_rails
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
72
71
|
requirements:
|
73
72
|
- - '='
|
74
73
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
74
|
+
version: 2.31.0
|
76
75
|
type: :runtime
|
77
76
|
prerelease: false
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
79
78
|
requirements:
|
80
79
|
- - '='
|
81
80
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
81
|
+
version: 2.31.0
|
83
82
|
- !ruby/object:Gem::Dependency
|
84
83
|
name: rubocop-rake
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
86
85
|
requirements:
|
87
86
|
- - '='
|
88
87
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
88
|
+
version: 0.7.1
|
90
89
|
type: :runtime
|
91
90
|
prerelease: false
|
92
91
|
version_requirements: !ruby/object:Gem::Requirement
|
93
92
|
requirements:
|
94
93
|
- - '='
|
95
94
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
95
|
+
version: 0.7.1
|
97
96
|
- !ruby/object:Gem::Dependency
|
98
97
|
name: rubocop-capybara
|
99
98
|
requirement: !ruby/object:Gem::Requirement
|
100
99
|
requirements:
|
101
100
|
- - '='
|
102
101
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
102
|
+
version: 2.22.1
|
104
103
|
type: :runtime
|
105
104
|
prerelease: false
|
106
105
|
version_requirements: !ruby/object:Gem::Requirement
|
107
106
|
requirements:
|
108
107
|
- - '='
|
109
108
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
109
|
+
version: 2.22.1
|
111
110
|
- !ruby/object:Gem::Dependency
|
112
111
|
name: rubocop-factory_bot
|
113
112
|
requirement: !ruby/object:Gem::Requirement
|
114
113
|
requirements:
|
115
114
|
- - '='
|
116
115
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
116
|
+
version: 2.27.1
|
118
117
|
type: :runtime
|
119
118
|
prerelease: false
|
120
119
|
version_requirements: !ruby/object:Gem::Requirement
|
121
120
|
requirements:
|
122
121
|
- - '='
|
123
122
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
123
|
+
version: 2.27.1
|
125
124
|
- !ruby/object:Gem::Dependency
|
126
125
|
name: bundler
|
127
126
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,7 +206,6 @@ homepage: https://github.com/0exp/armitage
|
|
207
206
|
licenses:
|
208
207
|
- MIT
|
209
208
|
metadata: {}
|
210
|
-
post_install_message:
|
211
209
|
rdoc_options: []
|
212
210
|
require_paths:
|
213
211
|
- lib
|
@@ -222,8 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
220
|
- !ruby/object:Gem::Version
|
223
221
|
version: '0'
|
224
222
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
226
|
-
signing_key:
|
223
|
+
rubygems_version: 3.6.7
|
227
224
|
specification_version: 4
|
228
225
|
summary: A set of rubocop settings
|
229
226
|
test_files: []
|