rubocop-rubomatic 1.6.0.rc.pre.3 → 1.6.0.rc.pre.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 366175b4cee4057a13a3aa830e3d3b6d5792a4a8769ecbf05c242d45d04b02e6
4
- data.tar.gz: 1b46b321dfaa75c7a0dc6a8414a1b8f70ba255b4c4d736f0d779554a921b9a1f
3
+ metadata.gz: 0671eebf5609f03be689786986c86218952f3acac169a32a39828f63bf611a66
4
+ data.tar.gz: 8754ebfb32948aad9b24a472b83a5d79346bbad736c68c2e6fb171aac31ab532
5
5
  SHA512:
6
- metadata.gz: 2c011520f266a5734ebc12d6ace5c9089db36686761232b901ace8179ac24a852e0b7c6928b6013091c4a78e629fb7ba2c172d6e8034f0cd22cd58380965975b
7
- data.tar.gz: 1b11a43dab354bd17f100a8d987634211f828868077b37a58a8a6f4c5cf1fb9fd551e45a7fff8eeb167042b12a57632bb85cee4df7c0da06f39146815851b682
6
+ metadata.gz: 145b8ce5e94d6153dff86ba32c2cf4885d9ac3959d957375fe0ac3ba84fa717e6ff5b62c2bf945b9db55f07e74cf551b806fec8eec4f193b5f7d3356e4e84ba2
7
+ data.tar.gz: 5ed517b7a4046175d1b1b6055df136ca5423a64a01543240211c5b7de549003b151f9eea598d0053c4876eb89aa67b0b26082b7d0c7c6168bb95d4a124f1d3b0
data/CHANGELOG.adoc CHANGED
@@ -3,54 +3,172 @@
3
3
  * Upgrade to ``ruobcop 1.76.1``
4
4
  ** This includes the change from ``require:`` to ``plugins:``.
5
5
  While ``require:`` will still work, there will be a deprecation warning
6
- ** Set ``Layout/LeadingCommentSpace/AllowSteepAnnotation`` to ``false``
7
- ** Enabled ``Lint/ArrayLiteralInRegexp``
8
- ** Enabled ``Lint/ConstantReassignment``
9
- ** Enabled ``Lint/CopDirectiveSyntax``
10
- ** Enabled ``Lint/DuplicateSetElement``
11
- ** Set ``Lint/DuplicateBranch/IgnoreDuplicateElseBranch`` to ``true``
12
- ** Enabled ``Lint/HashNewWithKeywordArgumentsAsDefault``
13
- ** Enabled ``Lint/NumericOperationWithConstantResult``
14
- ** Enabled ``Lint/RedundantTypeConversion``
15
- ** Enabled ``Lint/SharedMutableDefault``
16
- ** Enabled ``Lint/SuppressedExceptionInNumberConversion``
17
- ** Enabled ``Lint/UnescapedBracketInRegexp``
18
- ** Enabled ``Lint/UselessConstantScoping``
19
- ** Enabled ``Lint/UselessDefaultValueArgument``
20
- ** Enabled ``Lint/UselessDefined``
21
- ** Enabled ``Lint/UselessNumericOperation``
22
- ** Enabled ``Lint/UselessOr``
23
- ** Enabled ``Naming/PredicateMethod``
24
- ** Enabled ``Style/AmbiguousEndlessMethodDefinition``
25
- ** Enabled ``Style/BitwisePredicate``
26
- ** Enabled ``Style/ComparableBetween``
27
- ** Enabled ``Style/CombinableDefined``
28
- ** Enabled ``Style/DigChain``
29
- ** Enabled ``Style/EmptyStringInsideInterpolation``
30
- ** Enabled ``Style/FileNull``
31
- ** Enabled ``Style/FileTouch``
32
- ** Enabled ``Style/HashFetchChain``
33
- ** Enabled ``Style/HashSlice``
34
- ** Enabled ``Style/ItAssignment``
35
- ** Enabled ``Style/ItBlockParameter``
36
- ** Enabled ``Style/KeywordArgumentsMergin``
37
- ** Enabled ``Style/RedundantArrayFlatten``
38
- ** Enabled ``Style/RedundantFormat``
39
- ** Enabled ``Style/RedundantInterpolationUnfreeze``
6
+ ** Set
7
+ *** ``Layout/LeadingCommentSpace/AllowSteepAnnotation`` to ``false``
8
+ *** ``Lint/DuplicateBranch/IgnoreDuplicateElseBranch`` to ``true``
9
+ ** Enabled
10
+ *** ``Lint/ArrayLiteralInRegexp``
11
+ *** ``Lint/ConstantReassignment``
12
+ *** ``Lint/CopDirectiveSyntax``
13
+ *** ``Lint/DuplicateSetElement``
14
+ *** ``Lint/HashNewWithKeywordArgumentsAsDefault``
15
+ *** ``Lint/NumericOperationWithConstantResult``
16
+ *** ``Lint/RedundantTypeConversion``
17
+ *** ``Lint/SharedMutableDefault``
18
+ *** ``Lint/SuppressedExceptionInNumberConversion``
19
+ *** ``Lint/UnescapedBracketInRegexp``
20
+ *** ``Lint/UselessConstantScoping``
21
+ *** ``Lint/UselessDefaultValueArgument``
22
+ *** ``Lint/UselessDefined``
23
+ *** ``Lint/UselessNumericOperation``
24
+ *** ``Lint/UselessOr``
25
+ *** ``Naming/PredicateMethod``
26
+ *** ``Style/AmbiguousEndlessMethodDefinition``
27
+ *** ``Style/BitwisePredicate``
28
+ *** ``Style/ComparableBetween``
29
+ *** ``Style/CombinableDefined``
30
+ *** ``Style/DigChain``
31
+ *** ``Style/EmptyStringInsideInterpolation``
32
+ *** ``Style/FileNull``
33
+ *** ``Style/FileTouch``
34
+ *** ``Style/HashFetchChain``
35
+ *** ``Style/HashSlice``
36
+ *** ``Style/ItAssignment``
37
+ *** ``Style/ItBlockParameter``
38
+ *** ``Style/KeywordArgumentsMergin``
39
+ *** ``Style/RedundantArrayFlatten``
40
+ *** ``Style/RedundantFormat``
41
+ *** ``Style/RedundantInterpolationUnfreeze``
40
42
  ** Disabled ``Style/SafeNavigationChainLength``
41
43
  * Added ``rack_attack.rb`` to exclude list for ``Style/IpAddresses``
42
44
  * Upgraded to ``rubocop-performance 1.25.0``
43
- ** Enabled ``Performance/StringBytesize``
44
- ** Enabled ``Performance/ZipWithoutBlock``
45
+ ** Enabled
46
+ *** ``Performance/StringBytesize``
47
+ *** ``Performance/ZipWithoutBlock``
45
48
  * Added ``rubocop-packaging 0.6.0``
46
49
  ** Enabled ``Packaging/GemspecGit``
50
+ * Added ``rubocop-rspec 3.6.0``
51
+ ** Did **not** enable
52
+ *** ``RSpec/AlignLeftLetBrace``
53
+ *** ``RSpec/AlignRightLetBrace``
54
+ *** ``RSpec/Dialect``
55
+ *** ``RSpec/Pending``
56
+ ** Enabled
57
+ *** ``RSpec/AnyInstance``
58
+ *** ``RSpec/AroundBlock``
59
+ *** ``RSpec/Be``
60
+ *** ``RSpec/BeEmpty``
61
+ *** ``RSpec/BeEq``
62
+ *** ``RSpec/BeEql``
63
+ *** ``RSpec/BeNil``
64
+ *** ``RSpec/BeforeAfterAll``
65
+ *** ``RSpec/ChangeByZero``
66
+ *** ``RSpec/ClassCheck``
67
+ *** ``RSpec/ContainExactly``
68
+ *** ``RSpec/ContextMethod``
69
+ *** ``RSpec/ContextWording``
70
+ *** ``RSpec/DescribeClass``
71
+ *** ``RSpec/DescribeMethod``
72
+ *** ``RSpec/DescribeSymbol``
73
+ *** ``RSpec/DescribedClass``
74
+ *** ``RSpec/DescribedClassModuleWrapping``
75
+ *** ``RSpec/DuplicatedMetadata``
76
+ *** ``RSpec/EmptyExampleGroup``
77
+ *** ``RSpec/EmptyHook``
78
+ *** ``RSpec/EmptyLineAfterExample``
79
+ *** ``RSpec/EmptyLineAfterExampleGroup``
80
+ *** ``RSpec/EmptyLineAfterFinalLet``
81
+ *** ``RSpec/EmptyLineAfterHook``
82
+ *** ``RSpec/EmptyLineAfterSubject``
83
+ *** ``RSpec/EmptyMetadata``
84
+ *** ``RSpec/EmptyOutput``
85
+ *** ``RSpec/Eq``
86
+ *** ``RSpec/ExampleLength``
87
+ *** ``RSpec/ExampleWithoutDescription``
88
+ *** ``RSpec/ExampleWording``
89
+ *** ``RSpec/ExcessiveDocstringSpacing``
90
+ *** ``RSpec/ExpectActual``
91
+ *** ``RSpec/ExpectChange``
92
+ *** ``RSpec/ExpectInHook``
93
+ *** ``RSpec/ExpectInLet``
94
+ *** ``RSpec/ExpectOutput``
95
+ *** ``RSpec/Focus``
96
+ *** ``RSpec/HookArgument``
97
+ *** ``RSpec/HooksBeforeExamples``
98
+ *** ``RSpec/IdenticalEqualityAssertion``
99
+ *** ``RSpec/ImplicitBlockExpectation``
100
+ *** ``RSpec/ImplicitExpect``
101
+ *** ``RSpec/ImplicitSubject``
102
+ *** ``RSpec/IncludeExamples``
103
+ *** ``RSpec/IndexedLet``
104
+ *** ``RSpec/InstanceSpy``
105
+ *** ``RSpec/InstanceVariable``
106
+ *** ``RSpec/IsExpectedSpecify``
107
+ *** ``RSpec/ItBehavesLike``
108
+ *** ``RSpec/IteratedExpectation``
109
+ *** ``RSpec/LeadingSubject``
110
+ *** ``RSpec/LeakyConstantDeclaration``
111
+ *** ``RSpec/LetBeforeExamples``
112
+ *** ``RSpec/LetSetup``
113
+ *** ``RSpec/MatchArray``
114
+ *** ``RSpec/MessageChain``
115
+ *** ``RSpec/MessageExpectation``
116
+ *** ``RSpec/MessageSpies``
117
+ *** ``RSpec/MetadataStyle``
118
+ *** ``RSpec/MissingExampleGroupArgument``
119
+ *** ``RSpec/MissingExpectationTargetMethod``
120
+ *** ``RSpec/MultipleDescribes``
121
+ *** ``RSpec/MultipleExpectations``
122
+ *** ``RSpec/MultipleMemoizedHelpers``
123
+ *** ``RSpec/MultipleSubjects``
124
+ *** ``RSpec/NamedSubject``
125
+ *** ``RSpec/NestedGroups``
126
+ *** ``RSpec/NoExpectationExample``
127
+ *** ``RSpec/NotToNot``
128
+ *** ``RSpec/OverwritingSetup``
129
+ *** ``RSpec/PendingWithoutReason``
130
+ *** ``RSpec/PredicateMatcher``
131
+ *** ``RSpec/ReceiveCounts``
132
+ *** ``RSpec/ReceiveMessages``
133
+ *** ``RSpec/ReceiveNever``
134
+ *** ``RSpec/RedundantAround``
135
+ *** ``RSpec/RedundantPredicateMatcher``
136
+ *** ``RSpec/RemoveConst``
137
+ *** ``RSpec/RepeatedDescription``
138
+ *** ``RSpec/RepeatedExample``
139
+ *** ``RSpec/RepeatedExampleGroupBody``
140
+ *** ``RSpec/RepeatedExampleGroupDescription``
141
+ *** ``RSpec/RepeatedIncludeExample``
142
+ *** ``RSpec/RepeatedSubjectCall``
143
+ *** ``RSpec/ReturnFromStub``
144
+ *** ``RSpec/ScatteredLet``
145
+ *** ``RSpec/ScatteredSetup``
146
+ *** ``RSpec/SharedContext``
147
+ *** ``RSpec/SharedExamples``
148
+ *** ``RSpec/SingleArgumentMessageChain``
149
+ *** ``RSpec/SkipBlockInsideExample``
150
+ *** ``RSpec/SortMetadata``
151
+ *** ``RSpec/SpecFilePathFormat``
152
+ *** ``RSpec/SpecFilePathSuffix``
153
+ *** ``RSpec/StubbedMock``
154
+ *** ``RSpec/SubjectDeclaration``
155
+ *** ``RSpec/SubjectStub``
156
+ *** ``RSpec/UndescriptiveLiteralsDescription``
157
+ *** ``RSpec/UnspecifiedException``
158
+ *** ``RSpec/VariableDefinition``
159
+ *** ``RSpec/VariableName``
160
+ *** ``RSpec/VerifiedDoubleReference``
161
+ *** ``RSpec/VerifiedDoubles``
162
+ *** ``RSpec/VoidExpect``
163
+ *** ``RSpec/Yield``
47
164
  * Added ``rubocop-thread_safety 0.7.2``
48
- ** Enabled ``ThreadSafety/ClassAndModuleAttributes``
49
- ** Enabled ``ThreadSafety/ClassInstanceVariable``
50
- ** Enabled ``ThreadSafety/DirChdir``
51
- ** Enabled ``ThreadSafety/MutableClassInstanceVariable``
52
- ** Enabled ``ThreadSafety/NewThread``
53
- ** Enabled ``ThreadSafety/RackMiddlewareInstanceVariable``
165
+ ** Enabled
166
+ *** ``ThreadSafety/ClassAndModuleAttributes``
167
+ *** ``ThreadSafety/ClassInstanceVariable``
168
+ *** ``ThreadSafety/DirChdir``
169
+ *** ``ThreadSafety/MutableClassInstanceVariable``
170
+ *** ``ThreadSafety/NewThread``
171
+ *** ``ThreadSafety/RackMiddlewareInstanceVariable``
54
172
 
55
173
  == 1.5.1 (2024-10-22)
56
174
 
data/config/rspec.yml ADDED
@@ -0,0 +1,425 @@
1
+ plugins: rubocop-rspec
2
+
3
+ RSpec/AlignLeftLetBrace:
4
+ Enabled: false
5
+
6
+ RSpec/AlignRightLetBrace:
7
+ Enabled: false
8
+
9
+ RSpec/AnyInstance:
10
+ Enabled: true
11
+
12
+ RSpec/AroundBlock:
13
+ Enabled: true
14
+
15
+ RSpec/Be:
16
+ Enabled: true
17
+
18
+ RSpec/BeEmpty:
19
+ Enabled: true
20
+
21
+ RSpec/BeEq:
22
+ Enabled: true
23
+
24
+ RSpec/BeEql:
25
+ Enabled: true
26
+
27
+ RSpec/BeNil:
28
+ Enabled: true
29
+ EnforcedStyle: be_nil
30
+
31
+ RSpec/BeforeAfterAll:
32
+ Enabled: true
33
+
34
+ RSpec/ChangeByZero:
35
+ Enabled: true
36
+ NegatedMatcher: ~
37
+
38
+ RSpec/ClassCheck:
39
+ Enabled: true
40
+ EnforcedStyle: be_a
41
+
42
+ RSpec/ContainExactly:
43
+ Enabled: true
44
+
45
+ RSpec/ContextMethod:
46
+ Enabled: true
47
+
48
+ RSpec/ContextWording:
49
+ Enabled: true
50
+ Prefixes:
51
+ - when
52
+ - with
53
+ - without
54
+ AllowedPatterns: [ ]
55
+
56
+ RSpec/DescribeClass:
57
+ Enabled: true
58
+ Exclude:
59
+ - '**/spec/features/**/*'
60
+ - '**/spec/requests/**/*'
61
+ - '**/spec/routing/**/*'
62
+ - '**/spec/system/**/*'
63
+ - '**/spec/views/**/*'
64
+ IgnoredMetadata:
65
+ type:
66
+ - channel
67
+ - controller
68
+ - helper
69
+ - job
70
+ - mailer
71
+ - model
72
+ - request
73
+ - routing
74
+ - view
75
+ - feature
76
+ - system
77
+ - mailbox
78
+ - aruba
79
+ - task
80
+
81
+ RSpec/DescribeMethod:
82
+ Enabled: true
83
+
84
+ RSpec/DescribeSymbol:
85
+ Enabled: true
86
+
87
+ RSpec/DescribedClass:
88
+ Enabled: true
89
+ EnforcedStyle: described_class
90
+ OnlyStaticConstants: true
91
+ SkipBlocks: false
92
+
93
+ RSpec/DescribedClassModuleWrapping:
94
+ Enabled: true
95
+
96
+ RSpec/Dialect:
97
+ Enabled: false
98
+
99
+ RSpec/DuplicatedMetadata:
100
+ Enabled: true
101
+
102
+ RSpec/EmptyExampleGroup:
103
+ Enabled: true
104
+
105
+ RSpec/EmptyHook:
106
+ Enabled: true
107
+
108
+ RSpec/EmptyLineAfterExample:
109
+ Enabled: true
110
+ AllowConsecutiveOneLiners: false
111
+
112
+ RSpec/EmptyLineAfterExampleGroup:
113
+ Enabled: true
114
+
115
+ RSpec/EmptyLineAfterFinalLet:
116
+ Enabled: true
117
+
118
+ RSpec/EmptyLineAfterHook:
119
+ Enabled: true
120
+ AllowConsecutiveOneLiners: false
121
+
122
+ RSpec/EmptyLineAfterSubject:
123
+ Enabled: true
124
+
125
+ RSpec/EmptyMetadata:
126
+ Enabled: true
127
+
128
+ RSpec/EmptyOutput:
129
+ Enabled: true
130
+
131
+ RSpec/Eq:
132
+ Enabled: true
133
+
134
+ RSpec/ExampleLength:
135
+ Enabled: true
136
+ Max: 5
137
+ CountAsOne:
138
+ - array
139
+ - hash
140
+ - heredoc
141
+ - method_call
142
+
143
+ RSpec/ExampleWithoutDescription:
144
+ Enabled: true
145
+ EnforcedStyle: single_line_only
146
+
147
+ RSpec/ExampleWording:
148
+ Enabled: true
149
+ DisallowedExamples:
150
+ - works
151
+
152
+ RSpec/ExcessiveDocstringSpacing:
153
+ Enabled: true
154
+
155
+ RSpec/ExpectActual:
156
+ Enabled: true
157
+ Exclude:
158
+ - '**/spec/routing/**/*'
159
+
160
+ RSpec/ExpectChange:
161
+ Enabled: true
162
+ EnforcedStyle: block
163
+
164
+ RSpec/ExpectInHook:
165
+ Enabled: true
166
+
167
+ RSpec/ExpectInLet:
168
+ Enabled: true
169
+
170
+ RSpec/ExpectOutput:
171
+ Enabled: true
172
+
173
+ RSpec/Focus:
174
+ Enabled: true
175
+
176
+ RSpec/HookArgument:
177
+ Enabled: true
178
+ EnforcedStyle: implicit
179
+
180
+
181
+ RSpec/HooksBeforeExamples:
182
+ Enabled: true
183
+
184
+ RSpec/IdenticalEqualityAssertion:
185
+ Enabled: true
186
+
187
+ RSpec/ImplicitBlockExpectation:
188
+ Enabled: true
189
+
190
+ RSpec/ImplicitExpect:
191
+ Enabled: true
192
+ EnforcedStyle: is_expected
193
+
194
+ RSpec/ImplicitSubject:
195
+ Enabled: true
196
+ EnforcedStyle: single_line_only
197
+
198
+ RSpec/IncludeExamples:
199
+ Enabled: true
200
+
201
+ RSpec/IndexedLet:
202
+ Enabled: true
203
+ Max: 1
204
+ AllowedIdentifiers: [ ]
205
+ AllowedPatterns: [ ]
206
+
207
+ RSpec/InstanceSpy:
208
+ Enabled: true
209
+
210
+ RSpec/InstanceVariable:
211
+ Enabled: true
212
+ AssignmentOnly: false
213
+
214
+ RSpec/IsExpectedSpecify:
215
+ Enabled: true
216
+
217
+ RSpec/ItBehavesLike:
218
+ Enabled: true
219
+ EnforcedStyle: it_behaves_like
220
+
221
+ RSpec/IteratedExpectation:
222
+ Enabled: true
223
+
224
+ RSpec/LeadingSubject:
225
+ Enabled: true
226
+
227
+ RSpec/LeakyConstantDeclaration:
228
+ Enabled: true
229
+
230
+ RSpec/LetBeforeExamples:
231
+ Enabled: true
232
+
233
+ RSpec/LetSetup:
234
+ Enabled: true
235
+
236
+ RSpec/MatchArray:
237
+ Enabled: true
238
+
239
+ RSpec/MessageChain:
240
+ Enabled: true
241
+
242
+ RSpec/MessageExpectation:
243
+ Enabled: true
244
+ EnforcedStyle: expect
245
+
246
+ RSpec/MessageSpies:
247
+ Enabled: true
248
+ EnforcedStyle: have_received
249
+
250
+ RSpec/MetadataStyle:
251
+ Enabled: true
252
+ EnforcedStyle: symbol
253
+
254
+ RSpec/MissingExampleGroupArgument:
255
+ Enabled: true
256
+
257
+ RSpec/MissingExpectationTargetMethod:
258
+ Enabled: true
259
+
260
+ RSpec/MultipleDescribes:
261
+ Enabled: true
262
+
263
+ RSpec/MultipleExpectations:
264
+ Enabled: true
265
+ Max: 1
266
+
267
+ RSpec/MultipleMemoizedHelpers:
268
+ Enabled: true
269
+ AllowSubject: true
270
+ Max: 5
271
+
272
+ RSpec/MultipleSubjects:
273
+ Enabled: true
274
+
275
+ RSpec/NamedSubject:
276
+ Enabled: true
277
+ EnforcedStyle: always
278
+ IgnoreSharedExamples: true
279
+
280
+ RSpec/NestedGroups:
281
+ Enabled: true
282
+ Max: 3
283
+ AllowedGroups: [ ]
284
+
285
+ RSpec/NoExpectationExample:
286
+ Enabled: true
287
+ AllowedPatterns:
288
+ - ^expect_
289
+ - ^assert_
290
+
291
+ RSpec/NotToNot:
292
+ Enabled: true
293
+ EnforcedStyle: to_not
294
+
295
+ RSpec/OverwritingSetup:
296
+ Enabled: true
297
+
298
+ RSpec/Pending:
299
+ Enabled: false
300
+
301
+ RSpec/PendingWithoutReason:
302
+ Enabled: true
303
+
304
+ RSpec/PredicateMatcher:
305
+ Enabled: true
306
+ Strict: true
307
+ EnforcedStyle: inflected
308
+ AllowedExplicitMatchers: [ ]
309
+
310
+ RSpec/ReceiveCounts:
311
+ Enabled: true
312
+
313
+ RSpec/ReceiveMessages:
314
+ Enabled: true
315
+
316
+ RSpec/ReceiveNever:
317
+ Enabled: true
318
+
319
+ RSpec/RedundantAround:
320
+ Enabled: true
321
+
322
+ RSpec/RedundantPredicateMatcher:
323
+ Enabled: true
324
+
325
+ RSpec/RemoveConst:
326
+ Enabled: true
327
+
328
+ RSpec/RepeatedDescription:
329
+ Enabled: true
330
+
331
+ RSpec/RepeatedExample:
332
+ Enabled: true
333
+
334
+ RSpec/RepeatedExampleGroupBody:
335
+ Enabled: true
336
+
337
+ RSpec/RepeatedExampleGroupDescription:
338
+ Enabled: true
339
+
340
+ RSpec/RepeatedIncludeExample:
341
+ Enabled: true
342
+
343
+ RSpec/RepeatedSubjectCall:
344
+ Enabled: true
345
+
346
+ RSpec/ReturnFromStub:
347
+ Enabled: true
348
+ EnforcedStyle: and_return
349
+
350
+ RSpec/ScatteredLet:
351
+ Enabled: true
352
+
353
+ RSpec/ScatteredSetup:
354
+ Enabled: true
355
+
356
+ RSpec/SharedContext:
357
+ Enabled: true
358
+
359
+ RSpec/SharedExamples:
360
+ Enabled: true
361
+ EnforcedStyle: symbol
362
+
363
+ RSpec/SingleArgumentMessageChain:
364
+ Enabled: true
365
+
366
+ RSpec/SkipBlockInsideExample:
367
+ Enabled: true
368
+
369
+ RSpec/SortMetadata:
370
+ Enabled: true
371
+
372
+ RSpec/SpecFilePathFormat:
373
+ Enabled: true
374
+ Include:
375
+ - '**/*_spec.rb'
376
+ Exclude:
377
+ - '**/spec/routing/**/*'
378
+ CustomTransform:
379
+ RuboCop: rubocop
380
+ RSpec: rspec
381
+ IgnoreMethods: false
382
+ IgnoreMetadata:
383
+ type: routing
384
+
385
+ RSpec/SpecFilePathSuffix:
386
+ Enabled: true
387
+ Include:
388
+ - '**/*_spec*rb*'
389
+ - '**/spec/**/*'
390
+
391
+ RSpec/StubbedMock:
392
+ Enabled: true
393
+
394
+ RSpec/SubjectDeclaration:
395
+ Enabled: true
396
+
397
+ RSpec/SubjectStub:
398
+ Enabled: true
399
+
400
+ RSpec/UndescriptiveLiteralsDescription:
401
+ Enabled: true
402
+
403
+ RSpec/UnspecifiedException:
404
+ Enabled: true
405
+
406
+ RSpec/VariableDefinition:
407
+ Enabled: true
408
+ EnforcedStyle: symbols
409
+
410
+ RSpec/VariableName:
411
+ Enabled: true
412
+ EnforcedStyle: snake_case
413
+ AllowedPatterns: [ ]
414
+
415
+ RSpec/VerifiedDoubleReference:
416
+ Enabled: true
417
+
418
+ RSpec/VerifiedDoubles:
419
+ Enabled: true
420
+
421
+ RSpec/VoidExpect:
422
+ Enabled: true
423
+
424
+ RSpec/Yield:
425
+ Enabled: true
data/config/style.yml CHANGED
@@ -785,7 +785,7 @@ Style/ItBlockParameter:
785
785
  Enabled: true
786
786
  EnforcedStyle: disallow
787
787
 
788
- Style/KeywordArgumentsMergin:
788
+ Style/KeywordArgumentsMerging:
789
789
  Enabled: true
790
790
 
791
791
  Style/KeywordParametersOrder:
@@ -10,7 +10,7 @@ module RuboCop
10
10
 
11
11
  # :nodoc:
12
12
  def initialize(badge:, **kwargs)
13
- super(badge: badge, **kwargs)
13
+ super
14
14
 
15
15
  @cop = badge.cop_name
16
16
  end
@@ -8,7 +8,7 @@ module RuboCop
8
8
  TINY = 0
9
9
 
10
10
  # Set PRE to nil unless it's a pre-release (beta, rc, etc.)
11
- PRE = 'rc.pre.3'
11
+ PRE = 'rc.pre.5'
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.').freeze
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rubomatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.rc.pre.3
4
+ version: 1.6.0.rc.pre.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance
@@ -72,6 +72,20 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.25.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubocop-rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 3.6.0
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 3.6.0
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: rubocop-thread_safety
77
91
  requirement: !ruby/object:Gem::Requirement
@@ -106,6 +120,7 @@ files:
106
120
  - config/migration.yml
107
121
  - config/naming.yml
108
122
  - config/performance.yml
123
+ - config/rspec.yml
109
124
  - config/rubocop.yml
110
125
  - config/rubomatic/layout.yml
111
126
  - config/rubomatic/rubocop.yml