armitage-rubocop 1.59.0 → 1.68.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b67d805cff03b256b295c30a2d2e24c4722fd9ca5ea339627d6141387fba136e
4
- data.tar.gz: aaf9abd378c1845908983c6c57ba9eac17ccc40e65e8b603be5835f0d21e3066
3
+ metadata.gz: 0f2c0f1c12b2537c4980aa5524e61acccb0b5a8adcd4c6fd877cf6b56b4f22fe
4
+ data.tar.gz: 000366b42c7fba488aea8d19248ebe86400c54f40704be21700d4bfb3cd154da
5
5
  SHA512:
6
- metadata.gz: 0457dacb7a05e839095863b24df36dabc072f1f0f2ee47879c2c23b89c54319da02ff60322591e5cb0d8343199e1b1a0cb9465b00e0abb0dacc543046de619bb
7
- data.tar.gz: 38736438a0390a6d0e9292ac5ebed158de0adfe4e1078433f43bdccaebd7a86963078fc53e1d600405c7b7cc4d7b4f7669904b67f1fe4bf704ebe3110e7d9735
6
+ metadata.gz: 52b58ee0ba6196d99893633fd5c7e8354765826632a3e82d885ed5e9cdaf2fe09cbf56cb6e65fc0b3e93e5af4e4ead253982663be3c4818cd2696df4b13c66b0
7
+ data.tar.gz: f86bd957dd2dccd603d8762d1420d081a48e808ec6f36eb64665222ebcbbeb397ce239b4e9bdc203c02ed89fb2fedb05996ae11bccd64078ca2e3fbdf1610216
data/.rubocop.yml CHANGED
@@ -4,4 +4,5 @@ inherit_from:
4
4
 
5
5
  AllCops:
6
6
  NewCops: enable
7
- TargetRubyVersion: 3.1
7
+ TargetRubyVersion: 3.3
8
+ StringLiteralsFrozenByDefault: true
data/Gemfile.lock CHANGED
@@ -1,102 +1,106 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- armitage-rubocop (1.59.0)
5
- rubocop (= 1.59.0)
6
- rubocop-capybara (= 2.19.0)
7
- rubocop-factory_bot (= 2.24.0)
8
- rubocop-performance (= 1.20.1)
9
- rubocop-rails (= 2.23.1)
4
+ armitage-rubocop (1.68.0.1)
5
+ rubocop (= 1.68.0)
6
+ rubocop-capybara (= 2.21.0)
7
+ rubocop-factory_bot (= 2.26.1)
8
+ rubocop-performance (= 1.23.0)
9
+ rubocop-rails (= 2.27.0)
10
10
  rubocop-rake (= 0.6.0)
11
- rubocop-rspec (= 2.25.0)
11
+ rubocop-rspec (= 3.2.0)
12
+ rubocop-rspec_rails (= 2.30.0)
12
13
 
13
14
  GEM
14
15
  remote: https://rubygems.org/
15
16
  specs:
16
- activesupport (7.1.2)
17
+ activesupport (8.0.0)
17
18
  base64
19
+ benchmark (>= 0.3)
18
20
  bigdecimal
19
- concurrent-ruby (~> 1.0, >= 1.0.2)
21
+ concurrent-ruby (~> 1.0, >= 1.3.1)
20
22
  connection_pool (>= 2.2.5)
21
23
  drb
22
24
  i18n (>= 1.6, < 2)
25
+ logger (>= 1.4.2)
23
26
  minitest (>= 5.1)
24
- mutex_m
25
- tzinfo (~> 2.0)
27
+ securerandom (>= 0.3)
28
+ tzinfo (~> 2.0, >= 2.0.5)
29
+ uri (>= 0.13.1)
26
30
  ast (2.4.2)
27
31
  base64 (0.2.0)
28
- bigdecimal (3.1.5)
32
+ benchmark (0.4.0)
33
+ bigdecimal (3.1.8)
29
34
  coderay (1.1.3)
30
- concurrent-ruby (1.2.2)
35
+ concurrent-ruby (1.3.4)
31
36
  connection_pool (2.4.1)
32
- drb (2.2.0)
33
- ruby2_keywords
34
- i18n (1.14.1)
37
+ drb (2.2.1)
38
+ i18n (1.14.6)
35
39
  concurrent-ruby (~> 1.0)
36
- json (2.7.1)
40
+ json (2.8.2)
37
41
  language_server-protocol (3.17.0.3)
38
- method_source (1.0.0)
39
- minitest (5.20.0)
40
- mutex_m (0.2.0)
41
- parallel (1.24.0)
42
- parser (3.2.2.4)
42
+ logger (1.6.1)
43
+ method_source (1.1.0)
44
+ minitest (5.25.1)
45
+ parallel (1.26.3)
46
+ parser (3.3.6.0)
43
47
  ast (~> 2.4.1)
44
48
  racc
45
- pry (0.14.2)
49
+ pry (0.15.0)
46
50
  coderay (~> 1.1)
47
51
  method_source (~> 1.0)
48
- racc (1.7.3)
49
- rack (3.0.8)
52
+ racc (1.8.1)
53
+ rack (3.1.8)
50
54
  rainbow (3.1.1)
51
- rake (13.1.0)
52
- regexp_parser (2.8.3)
53
- rexml (3.2.6)
54
- rubocop (1.59.0)
55
+ rake (13.2.1)
56
+ regexp_parser (2.9.2)
57
+ rubocop (1.68.0)
55
58
  json (~> 2.3)
56
59
  language_server-protocol (>= 3.17.0)
57
60
  parallel (~> 1.10)
58
- parser (>= 3.2.2.4)
61
+ parser (>= 3.3.0.2)
59
62
  rainbow (>= 2.2.2, < 4.0)
60
- regexp_parser (>= 1.8, < 3.0)
61
- rexml (>= 3.2.5, < 4.0)
62
- rubocop-ast (>= 1.30.0, < 2.0)
63
+ regexp_parser (>= 2.4, < 3.0)
64
+ rubocop-ast (>= 1.32.2, < 2.0)
63
65
  ruby-progressbar (~> 1.7)
64
66
  unicode-display_width (>= 2.4.0, < 3.0)
65
- rubocop-ast (1.30.0)
66
- parser (>= 3.2.1.0)
67
- rubocop-capybara (2.19.0)
67
+ rubocop-ast (1.36.1)
68
+ parser (>= 3.3.1.0)
69
+ rubocop-capybara (2.21.0)
68
70
  rubocop (~> 1.41)
69
- rubocop-factory_bot (2.24.0)
70
- rubocop (~> 1.33)
71
- rubocop-performance (1.20.1)
71
+ rubocop-factory_bot (2.26.1)
72
+ rubocop (~> 1.61)
73
+ rubocop-performance (1.23.0)
72
74
  rubocop (>= 1.48.1, < 2.0)
73
- rubocop-ast (>= 1.30.0, < 2.0)
74
- rubocop-rails (2.23.1)
75
+ rubocop-ast (>= 1.31.1, < 2.0)
76
+ rubocop-rails (2.27.0)
75
77
  activesupport (>= 4.2.0)
76
78
  rack (>= 1.1)
77
- rubocop (>= 1.33.0, < 2.0)
78
- rubocop-ast (>= 1.30.0, < 2.0)
79
+ rubocop (>= 1.52.0, < 2.0)
80
+ rubocop-ast (>= 1.31.1, < 2.0)
79
81
  rubocop-rake (0.6.0)
80
82
  rubocop (~> 1.0)
81
- rubocop-rspec (2.25.0)
82
- rubocop (~> 1.40)
83
- rubocop-capybara (~> 2.17)
84
- rubocop-factory_bot (~> 2.22)
83
+ rubocop-rspec (3.2.0)
84
+ rubocop (~> 1.61)
85
+ rubocop-rspec_rails (2.30.0)
86
+ rubocop (~> 1.61)
87
+ rubocop-rspec (~> 3, >= 3.0.1)
85
88
  ruby-progressbar (1.13.0)
86
- ruby2_keywords (0.0.5)
89
+ securerandom (0.3.2)
87
90
  tzinfo (2.0.6)
88
91
  concurrent-ruby (~> 1.0)
89
- unicode-display_width (2.5.0)
92
+ unicode-display_width (2.6.0)
93
+ uri (1.0.2)
90
94
 
91
95
  PLATFORMS
92
- arm64-darwin-22
93
- arm64-darwin-23
96
+ arm64-darwin-24
97
+ ruby
94
98
 
95
99
  DEPENDENCIES
96
100
  armitage-rubocop!
97
101
  bundler (~> 2.3)
98
- pry (~> 0.14)
102
+ pry (~> 0.15)
99
103
  rake (~> 13.1)
100
104
 
101
105
  BUNDLED WITH
102
- 2.4.12
106
+ 2.5.23
data/Rakefile CHANGED
@@ -8,6 +8,7 @@ require 'rubocop'
8
8
  require 'rubocop-performance'
9
9
  require 'rubocop-rspec'
10
10
  require 'rubocop-rails'
11
+ require 'rubocop-rspec_rails'
11
12
  require 'rubocop-rake'
12
13
  require 'rubocop-capybara'
13
14
  require 'rubocop-factory_bot'
@@ -18,6 +19,7 @@ RuboCop::RakeTask.new(:rubocop) do |t|
18
19
  t.requires << 'rubocop-performance'
19
20
  t.requires << 'rubocop-rails'
20
21
  t.requires << 'rubocop-rspec'
22
+ t.requires << 'rubocop-rspec_rails'
21
23
  t.requires << 'rubocop-rake'
22
24
  t.requires << 'rubocop-capybara'
23
25
  t.requires << 'rubocop-factory_bot'
@@ -4,9 +4,9 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.required_ruby_version = '>= 3.1'
7
+ spec.required_ruby_version = '>= 3.3'
8
8
 
9
- spec.version = '1.59.0'
9
+ spec.version = '1.68.0.1'
10
10
  spec.name = 'armitage-rubocop'
11
11
  spec.license = 'MIT'
12
12
  spec.authors = ['Rustam Ibragimov']
@@ -23,15 +23,16 @@ 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.59.0'
27
- spec.add_dependency 'rubocop-performance', '= 1.20.1'
28
- spec.add_dependency 'rubocop-rails', '= 2.23.1'
29
- spec.add_dependency 'rubocop-rspec', '= 2.25.0'
26
+ spec.add_dependency 'rubocop', '= 1.68.0'
27
+ spec.add_dependency 'rubocop-performance', '= 1.23.0'
28
+ spec.add_dependency 'rubocop-rails', '= 2.27.0'
29
+ spec.add_dependency 'rubocop-rspec', '= 3.2.0'
30
+ spec.add_dependency 'rubocop-rspec_rails', '= 2.30.0'
30
31
  spec.add_dependency 'rubocop-rake', '= 0.6.0'
31
- spec.add_dependency 'rubocop-capybara', '= 2.19.0'
32
- spec.add_dependency 'rubocop-factory_bot', '= 2.24.0'
32
+ spec.add_dependency 'rubocop-capybara', '= 2.21.0'
33
+ spec.add_dependency 'rubocop-factory_bot', '= 2.26.1'
33
34
 
34
35
  spec.add_development_dependency 'bundler', '~> 2.3'
35
36
  spec.add_development_dependency 'rake', '~> 13.1'
36
- spec.add_development_dependency 'pry', '~> 0.14'
37
+ spec.add_development_dependency 'pry', '~> 0.15'
37
38
  end
@@ -1,3 +1,6 @@
1
+ Gemspec/AddRuntimeDependency:
2
+ Enabled: true
3
+
1
4
  Gemspec/DeprecatedAttributeAssignment:
2
5
  Enabled: true
3
6
  Include:
@@ -232,6 +232,8 @@ Layout/LeadingCommentSpace:
232
232
  Enabled: true
233
233
  AllowDoxygenCommentStyle: false
234
234
  AllowGemfileRubyComment: true
235
+ AllowRBSInlineAnnotation: true
236
+ AllowSteepAnnotation: true
235
237
 
236
238
  Layout/LineContinuationLeadingSpace:
237
239
  Enabled: true
data/lib/common/lint.yml CHANGED
@@ -65,6 +65,9 @@ Lint/DisjunctiveAssignmentInConstructor:
65
65
  Enabled: true
66
66
  AutoCorrect: false
67
67
 
68
+ Lint/DuplicateSetElement:
69
+ Enabled: true
70
+
68
71
  Lint/DuplicateMatchPattern:
69
72
  Enabled: true
70
73
 
@@ -75,6 +78,7 @@ Lint/DuplicateBranch:
75
78
  Enabled: true
76
79
  IgnoreLiteralBranches: false
77
80
  IgnoreConstantBranches: false
81
+ IgnoreDuplicateElseBranch: true
78
82
 
79
83
  Lint/DuplicateCaseCondition:
80
84
  Enabled: true
@@ -185,6 +189,7 @@ Lint/IdentityComparison:
185
189
 
186
190
  Lint/ImplicitStringConcatenation:
187
191
  Enabled: true
192
+ AutoCorrect: true
188
193
 
189
194
  Lint/IncompatibleIoSelectWithFiberScheduler:
190
195
  Enabled: true
@@ -278,6 +283,9 @@ Lint/PercentStringArray:
278
283
  Lint/PercentSymbolArray:
279
284
  Enabled: true
280
285
 
286
+ Lint/UselessNumericOperation:
287
+ Enabled: true
288
+
281
289
  Lint/UselessElseWithoutRescue:
282
290
  Enabled: true
283
291
 
@@ -388,6 +396,9 @@ Lint/TrailingCommaInAttributeDeclaration:
388
396
  Lint/TripleQuotes:
389
397
  Enabled: false
390
398
 
399
+ Lint/UnescapedBracketInRegexp:
400
+ Enabled: true
401
+
391
402
  Lint/UnexpectedBlockArity:
392
403
  Enabled: false
393
404
 
@@ -19,6 +19,7 @@ Metrics/BlockLength:
19
19
  Metrics/BlockNesting:
20
20
  Enabled: true
21
21
  CountBlocks: false
22
+ CountModifierForms: false
22
23
  Max: 3
23
24
 
24
25
  Metrics/CollectionLiteralLength:
@@ -138,6 +138,9 @@ Performance/StartWith:
138
138
  Enabled: true
139
139
  AutoCorrect: false
140
140
 
141
+ Performance/StringBytesize:
142
+ Enabled: true
143
+
141
144
  Performance/StringIdentifierArgument:
142
145
  Enabled: true
143
146
 
data/lib/common/rails.yml CHANGED
@@ -132,6 +132,9 @@ Rails/DynamicFindBy:
132
132
  AllowedReceivers:
133
133
  - Gem::Specification
134
134
 
135
+ Rails/EnumSyntax:
136
+ Enabled: true
137
+
135
138
  Rails/EnumHash:
136
139
  Enabled: true
137
140
  Include:
@@ -396,6 +399,9 @@ Rails/UnknownEnv:
396
399
  Rails/Validation:
397
400
  Enabled: true
398
401
 
402
+ Rails/WhereRange:
403
+ Enabled: true
404
+
399
405
  Rails/WhereNotWithMultipleConditions:
400
406
  Enabled: false
401
407
 
data/lib/common/style.yml CHANGED
@@ -1,3 +1,6 @@
1
+ Style/AmbiguousEndlessMethodDefinition:
2
+ Enabled: true
3
+
1
4
  Style/AccessorGrouping:
2
5
  Enabled: true
3
6
  EnforcedStyle: separated
@@ -6,6 +9,7 @@ Style/AccessModifierDeclarations:
6
9
  Enabled: true
7
10
  EnforcedStyle: group
8
11
  AllowModifiersOnSymbols: true
12
+ AllowModifiersOnAttrs: true
9
13
 
10
14
  Style/Alias:
11
15
  Enabled: true
@@ -47,6 +51,9 @@ Style/BarePercentLiterals:
47
51
  Style/BeginBlock:
48
52
  Enabled: true
49
53
 
54
+ Style/BitwisePredicate:
55
+ Enabled: false
56
+
50
57
  Style/BisectedAttrAccessor:
51
58
  Enabled: true
52
59
 
@@ -112,6 +119,9 @@ Style/ColonMethodCall:
112
119
  Style/ColonMethodDefinition:
113
120
  Enabled: true
114
121
 
122
+ Style/CombinableDefined:
123
+ Enabled: true
124
+
115
125
  Style/ComparableClamp:
116
126
  Enabled: true
117
127
 
@@ -354,6 +364,9 @@ Style/InverseMethods:
354
364
  Style/IpAddresses:
355
365
  Enabled: false
356
366
 
367
+ Style/KeywordArgumentsMerging:
368
+ Enabled: true
369
+
357
370
  Style/KeywordParametersOrder:
358
371
  Enabled: false
359
372
 
@@ -373,6 +386,9 @@ Style/MagicCommentFormat:
373
386
  DirectiveCapitalization: lowercase
374
387
  ValueCapitalization: ~
375
388
 
389
+ Style/MapIntoArray:
390
+ Enabled: false # NOTE: it is unsafe at the moment
391
+
376
392
  Style/MapToSet:
377
393
  Enabled: false # NOTE: it is totally unsafe
378
394
 
@@ -584,6 +600,9 @@ Style/RandomWithOffset:
584
600
  Style/ReturnNilInPredicateMethodDefinition:
585
601
  Enabled: true
586
602
 
603
+ Style/RedundantInterpolationUnfreeze:
604
+ Enabled: true
605
+
587
606
  Style/RedundantRegexpArgument:
588
607
  Enabled: true
589
608
 
@@ -686,14 +705,25 @@ Style/RedundantSelfAssignmentBranch:
686
705
  Style/SuperWithArgsParentheses:
687
706
  Enabled: true
688
707
 
708
+ Style/SuperArguments:
709
+ Enabled: true
710
+
689
711
  Style/SafeNavigation:
690
712
  Enabled: true
691
713
  ConvertCodeThatCanStartToReturnNil: false
692
- MaxChainLength: 3
714
+ MaxChainLength: 4
715
+
716
+ Style/SafeNavigationChainLength:
717
+ Enabled: true
718
+ Max: 4
693
719
 
694
720
  Style/Sample:
695
721
  Enabled: true
696
722
 
723
+ Style/SendWithLiteralMethodName:
724
+ Enabled: true
725
+ AllowSend: true
726
+
697
727
  Style/SelectByRegexp:
698
728
  Enabled: false
699
729
 
@@ -784,6 +814,7 @@ Style/SymbolLiteral:
784
814
  Style/SymbolProc:
785
815
  Enabled: true
786
816
  AllowMethodsWithArguments: true
817
+ AllowedPatterns: []
787
818
  AllowComments: false
788
819
  AllowedMethods:
789
820
  - define_method
@@ -1,12 +1,12 @@
1
+ Capybara/RedundantWithinFind:
2
+ Enabled: true
3
+
1
4
  Capybara/CurrentPathExpectation:
2
5
  Enabled: true
3
6
 
4
7
  Capybara/ClickLinkOrButtonStyle:
5
8
  Enabled: true
6
9
 
7
- RSpec/Capybara/FeatureMethods:
8
- Enabled: false
9
-
10
10
  Capybara/RSpec/PredicateMatcher:
11
11
  Enabled: true
12
12
  Strict: true
@@ -1,3 +1,6 @@
1
+ FactoryBot/ExcessiveCreateList:
2
+ Enabled: false
3
+
1
4
  FactoryBot/AttributeDefinedStatically:
2
5
  Enabled: false
3
6
 
data/lib/rspec/rspec.yml CHANGED
@@ -55,6 +55,7 @@ RSpec/DescribedClass:
55
55
  Enabled: true
56
56
  SkipBlocks: false
57
57
  EnforcedStyle: described_class
58
+ OnlyStaticConstants: true
58
59
 
59
60
  RSpec/DescribedClassModuleWrapping:
60
61
  Enabled: true
@@ -66,6 +67,9 @@ RSpec/Dialect:
66
67
  RSpec/Eq:
67
68
  Enabled: true
68
69
 
70
+ RSpec/EmptyOutput:
71
+ Enabled: true
72
+
69
73
  RSpec/EmptyExampleGroup:
70
74
  Enabled: true
71
75
  AutoCorrect: true
@@ -100,11 +104,14 @@ RSpec/ExampleWithoutDescription:
100
104
  EnforcedStyle: always_allow
101
105
 
102
106
  RSpec/ExampleWording:
103
- Enabled: false
107
+ Enabled: true
104
108
 
105
109
  RSpec/ExpectActual:
106
110
  Enabled: true
107
111
 
112
+ RSpec/ExpectInLet:
113
+ Enabled: true
114
+
108
115
  RSpec/ExcessiveDocstringSpacing:
109
116
  Enabled: true
110
117
 
@@ -118,9 +125,6 @@ RSpec/ExpectInHook:
118
125
  RSpec/ExpectOutput:
119
126
  Enabled: true
120
127
 
121
- RSpec/FilePath:
122
- Enabled: false
123
-
124
128
  RSpec/SpecFilePathSuffix:
125
129
  Enabled: false
126
130
 
@@ -137,6 +141,9 @@ RSpec/HookArgument:
137
141
  RSpec/HooksBeforeExamples:
138
142
  Enabled: true
139
143
 
144
+ RSpec/IsExpectedSpecify:
145
+ Enabled: true
146
+
140
147
  RSpec/IdenticalEqualityAssertion:
141
148
  Enabled: true
142
149
 
@@ -201,6 +208,9 @@ RSpec/MessageSpies:
201
208
  RSpec/MissingExampleGroupArgument:
202
209
  Enabled: true
203
210
 
211
+ RSpec/MissingExpectationTargetMethod:
212
+ Enabled: true
213
+
204
214
  RSpec/MultipleDescribes:
205
215
  Enabled: true
206
216
 
@@ -244,12 +254,18 @@ RSpec/PredicateMatcher:
244
254
  - have_http_status
245
255
  - have_been_made
246
256
 
257
+ RSpec/RemoveConst:
258
+ Enabled: true
259
+
247
260
  RSpec/ReceiveMessages:
248
261
  Enabled: true
249
262
 
250
263
  RSpec/RedundantAround:
251
264
  Enabled: true
252
265
 
266
+ RSpec/RedundantPredicateMatcher:
267
+ Enabled: true
268
+
253
269
  RSpec/ReceiveCounts:
254
270
  Enabled: false
255
271
 
@@ -271,6 +287,9 @@ RSpec/RepeatedExampleGroupDescription:
271
287
  RSpec/RepeatedIncludeExample:
272
288
  Enabled: true
273
289
 
290
+ RSpec/RepeatedSubjectCall:
291
+ Enabled: false
292
+
274
293
  RSpec/ReturnFromStub:
275
294
  Enabled: true
276
295
  EnforcedStyle: and_return
@@ -310,6 +329,12 @@ RSpec/SubjectDeclaration:
310
329
  RSpec/StubbedMock:
311
330
  Enabled: true
312
331
 
332
+ RSpec/StringAsInstanceDoubleConstant:
333
+ Enabled: false
334
+
335
+ RSpec/UndescriptiveLiteralsDescription:
336
+ Enabled: true
337
+
313
338
  RSpec/UnspecifiedException:
314
339
  Enabled: true
315
340
 
@@ -19,4 +19,5 @@ AllCops:
19
19
  ExtraDetails: true
20
20
  UseCache: false
21
21
  ActiveSupportExtensionsEnabled: false
22
+ StringLiteralsFrozenByDefault: true
22
23
  TargetRubyVersion: ~
@@ -9,7 +9,14 @@ inherit_from:
9
9
 
10
10
  AllCops:
11
11
  TargetRailsVersion: ~
12
+ TargetRubyVersion: ~
12
13
  ActiveSupportExtensionsEnabled: true
14
+ DefaultFormatter: progress
15
+ DisplayCopNames: true
16
+ DisplayStyleGuide: false
17
+ ExtraDetails: true
18
+ UseCache: false
19
+ StringLiteralsFrozenByDefault: true
13
20
 
14
21
  Rails:
15
22
  Enabled: true
@@ -1,5 +1,6 @@
1
1
  require:
2
2
  - rubocop-rspec
3
+ - rubocop-rspec_rails
3
4
  - rubocop-capybara
4
5
  - rubocop-factory_bot
5
6
 
@@ -13,8 +14,8 @@ RSpec:
13
14
  Include:
14
15
  - _spec.rb
15
16
  - "(?:^|/)spec/"
16
-
17
- RSpec/FactoryBot:
17
+
18
+ FactoryBot:
18
19
  Include:
19
20
  - spec/factories.rb
20
21
  - spec/factories/**/*.rb
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.59.0
4
+ version: 1.68.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-25 00:00:00.000000000 Z
11
+ date: 2024-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,56 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.59.0
19
+ version: 1.68.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.59.0
26
+ version: 1.68.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.20.1
33
+ version: 1.23.0
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.20.1
40
+ version: 1.23.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.23.1
47
+ version: 2.27.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.23.1
54
+ version: 2.27.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.25.0
61
+ version: 3.2.0
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.25.0
68
+ version: 3.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rspec_rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.30.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.30.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop-rake
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +100,28 @@ dependencies:
86
100
  requirements:
87
101
  - - '='
88
102
  - !ruby/object:Gem::Version
89
- version: 2.19.0
103
+ version: 2.21.0
90
104
  type: :runtime
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - '='
95
109
  - !ruby/object:Gem::Version
96
- version: 2.19.0
110
+ version: 2.21.0
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubocop-factory_bot
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - '='
102
116
  - !ruby/object:Gem::Version
103
- version: 2.24.0
117
+ version: 2.26.1
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - '='
109
123
  - !ruby/object:Gem::Version
110
- version: 2.24.0
124
+ version: 2.26.1
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: bundler
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +156,14 @@ dependencies:
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: '0.14'
159
+ version: '0.15'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: '0.14'
166
+ version: '0.15'
153
167
  description: 'A set of rubocop settings used in my own projects.Support for: vanilla
154
168
  ruby, rspec, rails.'
155
169
  email:
@@ -201,14 +215,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
215
  requirements:
202
216
  - - ">="
203
217
  - !ruby/object:Gem::Version
204
- version: '3.1'
218
+ version: '3.3'
205
219
  required_rubygems_version: !ruby/object:Gem::Requirement
206
220
  requirements:
207
221
  - - ">="
208
222
  - !ruby/object:Gem::Version
209
223
  version: '0'
210
224
  requirements: []
211
- rubygems_version: 3.4.21
225
+ rubygems_version: 3.5.23
212
226
  signing_key:
213
227
  specification_version: 4
214
228
  summary: A set of rubocop settings