rubocop-dbl 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/config/dbl.yml +16 -483
- data/lib/generators/rubocop_dbl/install_generator.rb +2 -0
- data/lib/rubocop_dbl/version.rb +5 -0
- metadata +40 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e9d5d79ad0b510d57586a22a73eea84ef43e57a2ab1656d77fe2aca677992e4
|
4
|
+
data.tar.gz: '090e7abd3959ce8cfef3ba4fa828e16be1cad7a2c67bdb0d6ba1b66f4218592a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a6e75c1d37b251cb41c02d0f7b0fdb926ac1d21a0120a0436c5110ac2eac9804707bc923f107effce73602d03734cc79e2bd6f94469899b1632bcbe9d6149d2
|
7
|
+
data.tar.gz: 50ae4306e6f6062fe1b9dfb29f0ad20e2826dc9280dab271028c8067aa08e912763d062e39cd604f18d61f8c95227b397651203d362c4f56ef4260aa9506dbc2
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# DBL Rubocop
|
2
2
|
|
3
|
-
![Test](https://github.com/dbl-works/rubocop-dbl/workflows/
|
3
|
+
[![Test](https://github.com/dbl-works/rubocop-dbl/actions/workflows/test.yml/badge.svg)](https://github.com/dbl-works/rubocop-dbl/actions/workflows/test.yml)
|
4
4
|
|
5
5
|
RuboCop configuration for our Ruby on Rails projects.
|
6
6
|
|
@@ -61,7 +61,10 @@ rails generate rubocop_dbl:install
|
|
61
61
|
|
62
62
|
### TargetRubyVersion
|
63
63
|
|
64
|
-
We only support the latest 2 versions of ruby, which is currently >= 2.
|
64
|
+
We only support the latest 2 versions of ruby, which is currently >= 2.7.
|
65
|
+
We only support the latest 2 versions of rails, which is currently >= 6.0.
|
66
|
+
See [test.yml](.github/workflows/test.yml) for details.
|
67
|
+
|
65
68
|
|
66
69
|
If you'd like to change `TargetRubyVersion`, see [Customization](#customization).
|
67
70
|
|
data/config/dbl.yml
CHANGED
@@ -1,21 +1,27 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-packaging
|
3
3
|
- rubocop-performance
|
4
|
-
- rubocop-rspec
|
5
4
|
- rubocop-rails
|
5
|
+
- rubocop-rspec
|
6
|
+
- rubocop-sorbet
|
7
|
+
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
inherit_from:
|
10
|
+
- cops/layout.yml
|
11
|
+
- cops/lint.yml
|
12
|
+
- cops/metrics.yml
|
13
|
+
- cops/naming.yml
|
14
|
+
- cops/performance.yml
|
15
|
+
- cops/rails.yml
|
16
|
+
- cops/rspec.yml
|
17
|
+
- cops/style.yml
|
18
|
+
- cops/types.yml
|
14
19
|
|
20
|
+
|
21
|
+
# if you want to change the cache directory, simple set `RUBOCOP_CACHE_ROOT` for your local shell.
|
22
|
+
# see: https://docs.rubocop.org/rubocop/usage/caching.html
|
15
23
|
AllCops:
|
16
24
|
UseCache: true
|
17
|
-
MaxFilesInCache: 5
|
18
|
-
CacheRootDirectory: ./tmp/**
|
19
25
|
TargetRubyVersion: 2.7.2
|
20
26
|
NewCops: enable
|
21
27
|
Exclude:
|
@@ -30,476 +36,3 @@ AllCops:
|
|
30
36
|
- 'bin/**/*'
|
31
37
|
- 'config/**/*'
|
32
38
|
- 'db/**/*'
|
33
|
-
|
34
|
-
Rails/UnknownEnv:
|
35
|
-
Environments:
|
36
|
-
- production
|
37
|
-
- development
|
38
|
-
- test
|
39
|
-
- staging
|
40
|
-
|
41
|
-
Rails/HttpStatus:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
Rails/ApplicationController:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
# Prefer assert_not over assert !
|
48
|
-
Rails/AssertNot:
|
49
|
-
Include:
|
50
|
-
- '**/test/**/*'
|
51
|
-
|
52
|
-
# Prefer assert_not_x over refute_x
|
53
|
-
Rails/RefuteMethods:
|
54
|
-
Include:
|
55
|
-
- '**/test/**/*'
|
56
|
-
|
57
|
-
Rails/IndexBy:
|
58
|
-
Enabled: true
|
59
|
-
|
60
|
-
Rails/IndexWith:
|
61
|
-
Enabled: true
|
62
|
-
|
63
|
-
Rails/ActiveRecordCallbacksOrder:
|
64
|
-
Enabled: true
|
65
|
-
|
66
|
-
Rails/AfterCommitOverride:
|
67
|
-
Enabled: true
|
68
|
-
|
69
|
-
Rails/AttributeDefaultBlockValue:
|
70
|
-
Enabled: true
|
71
|
-
|
72
|
-
Rails/FindById:
|
73
|
-
Enabled: true
|
74
|
-
|
75
|
-
Rails/Inquiry:
|
76
|
-
Enabled: true
|
77
|
-
|
78
|
-
Rails/MailerName:
|
79
|
-
Enabled: true
|
80
|
-
|
81
|
-
Rails/MatchRoute:
|
82
|
-
Enabled: true
|
83
|
-
|
84
|
-
Rails/NegateInclude:
|
85
|
-
Enabled: true
|
86
|
-
|
87
|
-
Rails/Pluck:
|
88
|
-
Enabled: true
|
89
|
-
|
90
|
-
Rails/PluckInWhere:
|
91
|
-
Enabled: true
|
92
|
-
|
93
|
-
Rails/RenderInline:
|
94
|
-
Enabled: true
|
95
|
-
|
96
|
-
Rails/RenderPlainText:
|
97
|
-
Enabled: true
|
98
|
-
|
99
|
-
Rails/ShortI18n:
|
100
|
-
Enabled: true
|
101
|
-
EnforcedStyle: aggressive
|
102
|
-
|
103
|
-
Rails/SquishedSQLHeredocs:
|
104
|
-
Enabled: true
|
105
|
-
|
106
|
-
Rails/WhereEquals:
|
107
|
-
Enabled: true
|
108
|
-
|
109
|
-
Rails/WhereExists:
|
110
|
-
Enabled: true
|
111
|
-
|
112
|
-
Rails/WhereNot:
|
113
|
-
Enabled: true
|
114
|
-
|
115
|
-
# Layout
|
116
|
-
|
117
|
-
# Align `when` with `case`.
|
118
|
-
Layout/CaseIndentation:
|
119
|
-
Enabled: true
|
120
|
-
|
121
|
-
Layout/ClosingHeredocIndentation:
|
122
|
-
Enabled: true
|
123
|
-
|
124
|
-
# Align comments with method definitions.
|
125
|
-
Layout/CommentIndentation:
|
126
|
-
Enabled: true
|
127
|
-
|
128
|
-
Layout/ElseAlignment:
|
129
|
-
Enabled: true
|
130
|
-
|
131
|
-
# Align `end` with the matching keyword or starting expression except for
|
132
|
-
# assignments, where it should be aligned with the LHS.
|
133
|
-
Layout/EndAlignment:
|
134
|
-
Enabled: true
|
135
|
-
EnforcedStyleAlignWith: variable
|
136
|
-
AutoCorrect: true
|
137
|
-
|
138
|
-
Layout/ParameterAlignment:
|
139
|
-
EnforcedStyle: with_fixed_indentation
|
140
|
-
SupportedStyles:
|
141
|
-
- with_first_parameter
|
142
|
-
- with_fixed_indentation
|
143
|
-
|
144
|
-
Layout/EmptyLineAfterMagicComment:
|
145
|
-
Enabled: true
|
146
|
-
|
147
|
-
Layout/EmptyLinesAroundAccessModifier:
|
148
|
-
Enabled: true
|
149
|
-
|
150
|
-
Layout/EmptyLinesAroundBlockBody:
|
151
|
-
Enabled: true
|
152
|
-
|
153
|
-
# In a regular class definition, no empty lines around the body.
|
154
|
-
Layout/EmptyLinesAroundClassBody:
|
155
|
-
Enabled: true
|
156
|
-
|
157
|
-
# In a regular method definition, no empty lines around the body.
|
158
|
-
Layout/EmptyLinesAroundMethodBody:
|
159
|
-
Enabled: true
|
160
|
-
|
161
|
-
# In a regular module definition, no empty lines around the body.
|
162
|
-
Layout/EmptyLinesAroundModuleBody:
|
163
|
-
Enabled: true
|
164
|
-
|
165
|
-
Layout/FirstArgumentIndentation:
|
166
|
-
Enabled: true
|
167
|
-
|
168
|
-
Layout/IndentationConsistency:
|
169
|
-
Enabled: true
|
170
|
-
|
171
|
-
# Two spaces, no tabs (for indentation).
|
172
|
-
Layout/IndentationWidth:
|
173
|
-
Enabled: true
|
174
|
-
|
175
|
-
Layout/LeadingCommentSpace:
|
176
|
-
Enabled: true
|
177
|
-
|
178
|
-
Layout/SpaceAfterColon:
|
179
|
-
Enabled: true
|
180
|
-
|
181
|
-
Layout/SpaceAfterComma:
|
182
|
-
Enabled: true
|
183
|
-
|
184
|
-
Layout/SpaceAfterSemicolon:
|
185
|
-
Enabled: true
|
186
|
-
|
187
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
188
|
-
Enabled: true
|
189
|
-
|
190
|
-
Layout/SpaceAroundKeyword:
|
191
|
-
Enabled: true
|
192
|
-
|
193
|
-
Layout/SpaceAroundOperators:
|
194
|
-
Enabled: true
|
195
|
-
|
196
|
-
Layout/SpaceBeforeComma:
|
197
|
-
Enabled: true
|
198
|
-
|
199
|
-
Layout/SpaceBeforeComment:
|
200
|
-
Enabled: true
|
201
|
-
|
202
|
-
Layout/SpaceBeforeFirstArg:
|
203
|
-
Enabled: true
|
204
|
-
|
205
|
-
# Use `foo {}` not `foo{}`.
|
206
|
-
Layout/SpaceBeforeBlockBraces:
|
207
|
-
Enabled: true
|
208
|
-
|
209
|
-
# Use `foo { bar }` not `foo {bar}`.
|
210
|
-
Layout/SpaceInsideBlockBraces:
|
211
|
-
Enabled: true
|
212
|
-
EnforcedStyleForEmptyBraces: space
|
213
|
-
|
214
|
-
# Use `{ a: 1 }` not `{a:1}`.
|
215
|
-
Layout/SpaceInsideHashLiteralBraces:
|
216
|
-
Enabled: true
|
217
|
-
|
218
|
-
Layout/SpaceInsideParens:
|
219
|
-
Enabled: true
|
220
|
-
|
221
|
-
# Detect hard tabs, no hard tabs.
|
222
|
-
Layout/IndentationStyle:
|
223
|
-
Enabled: true
|
224
|
-
|
225
|
-
# Empty lines should not have any spaces.
|
226
|
-
Layout/TrailingEmptyLines:
|
227
|
-
Enabled: true
|
228
|
-
|
229
|
-
# No trailing whitespace.
|
230
|
-
Layout/TrailingWhitespace:
|
231
|
-
Enabled: true
|
232
|
-
|
233
|
-
Layout/HashAlignment:
|
234
|
-
EnforcedHashRocketStyle: key
|
235
|
-
EnforcedColonStyle: key
|
236
|
-
|
237
|
-
|
238
|
-
# Naming
|
239
|
-
|
240
|
-
Naming/VariableNumber:
|
241
|
-
EnforcedStyle: snake_case
|
242
|
-
|
243
|
-
# Style
|
244
|
-
|
245
|
-
# Prefer &&/|| over and/or.
|
246
|
-
Style/AndOr:
|
247
|
-
Enabled: true
|
248
|
-
|
249
|
-
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
250
|
-
Style/HashSyntax:
|
251
|
-
Enabled: true
|
252
|
-
|
253
|
-
Style/DefWithParentheses:
|
254
|
-
Enabled: true
|
255
|
-
|
256
|
-
# Defining a method with parameters needs parentheses.
|
257
|
-
Style/MethodDefParentheses:
|
258
|
-
Enabled: true
|
259
|
-
|
260
|
-
Style/FrozenStringLiteralComment:
|
261
|
-
EnforcedStyle: never
|
262
|
-
|
263
|
-
Style/RedundantFreeze:
|
264
|
-
Enabled: true
|
265
|
-
|
266
|
-
# Check quotes usage according to lint rule below.
|
267
|
-
Style/StringLiterals:
|
268
|
-
Enabled: true
|
269
|
-
EnforcedStyle: single_quotes
|
270
|
-
|
271
|
-
# Use quotes for string literals when they are enough.
|
272
|
-
Style/RedundantPercentQ:
|
273
|
-
Enabled: true
|
274
|
-
|
275
|
-
Style/ParenthesesAroundCondition:
|
276
|
-
Enabled: true
|
277
|
-
|
278
|
-
Style/HashTransformKeys:
|
279
|
-
Enabled: true
|
280
|
-
|
281
|
-
Style/HashTransformValues:
|
282
|
-
Enabled: true
|
283
|
-
|
284
|
-
# enforces to use 'name'.to_sym over 'name'.intern and so on
|
285
|
-
Style/StringMethods:
|
286
|
-
Enabled: true
|
287
|
-
|
288
|
-
Style/EmptyMethod:
|
289
|
-
EnforcedStyle: expanded
|
290
|
-
SupportedStyles:
|
291
|
-
- compact
|
292
|
-
- expanded
|
293
|
-
|
294
|
-
Style/SymbolArray:
|
295
|
-
Enabled: true
|
296
|
-
|
297
|
-
Style/RedundantBegin:
|
298
|
-
Enabled: true
|
299
|
-
|
300
|
-
Style/RedundantReturn:
|
301
|
-
Enabled: true
|
302
|
-
AllowMultipleReturnValues: true
|
303
|
-
|
304
|
-
Style/RedundantRegexpEscape:
|
305
|
-
Enabled: true
|
306
|
-
|
307
|
-
Style/Semicolon:
|
308
|
-
Enabled: true
|
309
|
-
AllowAsExpressionSeparator: true
|
310
|
-
|
311
|
-
# Prefer Foo.method over Foo::method
|
312
|
-
Style/ColonMethodCall:
|
313
|
-
Enabled: true
|
314
|
-
|
315
|
-
Style/CollectionMethods:
|
316
|
-
Enabled: true
|
317
|
-
|
318
|
-
Style/Documentation:
|
319
|
-
Enabled: false
|
320
|
-
|
321
|
-
Style/TrivialAccessors:
|
322
|
-
Enabled: true
|
323
|
-
|
324
|
-
Style/ArgumentsForwarding:
|
325
|
-
Enabled: false
|
326
|
-
|
327
|
-
Style/CollectionCompact:
|
328
|
-
Enabled: true
|
329
|
-
|
330
|
-
Style/DocumentDynamicEvalDefinition:
|
331
|
-
Enabled: true
|
332
|
-
|
333
|
-
Style/NegatedIfElseCondition:
|
334
|
-
Enabled: true
|
335
|
-
|
336
|
-
Style/NilLambda:
|
337
|
-
Enabled: true
|
338
|
-
|
339
|
-
Style/RedundantArgument:
|
340
|
-
Enabled: true
|
341
|
-
|
342
|
-
Style/SwapValues:
|
343
|
-
Enabled: true
|
344
|
-
|
345
|
-
Style/TrailingCommaInArguments:
|
346
|
-
EnforcedStyleForMultiline: comma
|
347
|
-
|
348
|
-
Style/TrailingCommaInArrayLiteral:
|
349
|
-
EnforcedStyleForMultiline: comma
|
350
|
-
|
351
|
-
Style/TrailingCommaInHashLiteral:
|
352
|
-
EnforcedStyleForMultiline: comma
|
353
|
-
|
354
|
-
# Metrics
|
355
|
-
|
356
|
-
Metrics/BlockLength:
|
357
|
-
IgnoredMethods: ['describe', 'context', 'feature', 'scenario']
|
358
|
-
|
359
|
-
# Lint
|
360
|
-
|
361
|
-
Lint/AmbiguousOperator:
|
362
|
-
Enabled: true
|
363
|
-
|
364
|
-
Lint/AmbiguousRegexpLiteral:
|
365
|
-
Enabled: true
|
366
|
-
|
367
|
-
Lint/ErbNewArguments:
|
368
|
-
Enabled: true
|
369
|
-
|
370
|
-
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
371
|
-
Lint/RequireParentheses:
|
372
|
-
Enabled: true
|
373
|
-
|
374
|
-
Lint/ShadowingOuterLocalVariable:
|
375
|
-
Enabled: true
|
376
|
-
|
377
|
-
Lint/RedundantStringCoercion:
|
378
|
-
Enabled: true
|
379
|
-
|
380
|
-
Lint/UriEscapeUnescape:
|
381
|
-
Enabled: true
|
382
|
-
|
383
|
-
Lint/UselessAssignment:
|
384
|
-
Enabled: true
|
385
|
-
|
386
|
-
Lint/DeprecatedClassMethods:
|
387
|
-
Enabled: true
|
388
|
-
|
389
|
-
Lint/DuplicateBranch:
|
390
|
-
Enabled: true
|
391
|
-
|
392
|
-
Lint/DuplicateRegexpCharacterClassElement:
|
393
|
-
Enabled: true
|
394
|
-
|
395
|
-
Lint/EmptyBlock:
|
396
|
-
Enabled: true
|
397
|
-
|
398
|
-
Lint/EmptyClass:
|
399
|
-
Enabled: true
|
400
|
-
|
401
|
-
Lint/NoReturnInBeginEndBlocks:
|
402
|
-
Enabled: true
|
403
|
-
|
404
|
-
Lint/ToEnumArguments:
|
405
|
-
Enabled: true
|
406
|
-
|
407
|
-
Lint/UnexpectedBlockArity:
|
408
|
-
Enabled: true
|
409
|
-
|
410
|
-
Lint/UnmodifiedReduceAccumulator:
|
411
|
-
Enabled: true
|
412
|
-
|
413
|
-
|
414
|
-
# Performance
|
415
|
-
|
416
|
-
Performance:
|
417
|
-
Exclude:
|
418
|
-
- '**/test/**/*'
|
419
|
-
|
420
|
-
Performance/FlatMap:
|
421
|
-
Enabled: true
|
422
|
-
|
423
|
-
Performance/RedundantMerge:
|
424
|
-
Enabled: true
|
425
|
-
|
426
|
-
Performance/StartWith:
|
427
|
-
Enabled: true
|
428
|
-
|
429
|
-
Performance/EndWith:
|
430
|
-
Enabled: true
|
431
|
-
|
432
|
-
Performance/RegexpMatch:
|
433
|
-
Enabled: true
|
434
|
-
|
435
|
-
Performance/ReverseEach:
|
436
|
-
Enabled: true
|
437
|
-
|
438
|
-
Performance/UnfreezeString:
|
439
|
-
Enabled: true
|
440
|
-
|
441
|
-
Performance/DeletePrefix:
|
442
|
-
Enabled: true
|
443
|
-
|
444
|
-
Performance/DeleteSuffix:
|
445
|
-
Enabled: true
|
446
|
-
|
447
|
-
Performance/AncestorsInclude:
|
448
|
-
Enabled: true
|
449
|
-
|
450
|
-
Performance/BigDecimalWithNumericArgument:
|
451
|
-
Enabled: false
|
452
|
-
|
453
|
-
Performance/BlockGivenWithExplicitBlock:
|
454
|
-
Enabled: true
|
455
|
-
|
456
|
-
Performance/CollectionLiteralInLoop:
|
457
|
-
Enabled: true
|
458
|
-
|
459
|
-
Performance/ConstantRegexp:
|
460
|
-
Enabled: true
|
461
|
-
|
462
|
-
Performance/MethodObjectAsBlock:
|
463
|
-
Enabled: false
|
464
|
-
|
465
|
-
Performance/RedundantSortBlock:
|
466
|
-
Enabled: true
|
467
|
-
|
468
|
-
Performance/RedundantStringChars:
|
469
|
-
Enabled: true
|
470
|
-
|
471
|
-
Performance/ReverseFirst:
|
472
|
-
Enabled: true
|
473
|
-
|
474
|
-
Performance/SortReverse:
|
475
|
-
Enabled: true
|
476
|
-
|
477
|
-
Performance/Squeeze:
|
478
|
-
Enabled: true
|
479
|
-
|
480
|
-
Performance/StringInclude:
|
481
|
-
Enabled: true
|
482
|
-
|
483
|
-
Performance/Sum:
|
484
|
-
Enabled: true
|
485
|
-
|
486
|
-
# Rspec rules
|
487
|
-
|
488
|
-
RSpec/ContextWording:
|
489
|
-
Prefixes:
|
490
|
-
- when
|
491
|
-
- with
|
492
|
-
- without
|
493
|
-
- if
|
494
|
-
- and
|
495
|
-
|
496
|
-
RSpec/Capybara/FeatureMethods:
|
497
|
-
EnabledMethods:
|
498
|
-
- feature
|
499
|
-
- scenario
|
500
|
-
|
501
|
-
RSpec/NestedGroups:
|
502
|
-
Max: 5
|
503
|
-
|
504
|
-
RSpec/MultipleMemoizedHelpers:
|
505
|
-
Max: 6
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-dbl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 'Team DBL :rocket:'
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -16,100 +16,114 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5
|
19
|
+
version: '5'
|
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: '5
|
26
|
+
version: '5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1
|
33
|
+
version: '1'
|
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'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-ast
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1
|
47
|
+
version: '1'
|
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: 1
|
54
|
+
version: '1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-packaging
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.5'
|
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: '0.
|
68
|
+
version: '0.5'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-performance
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1
|
75
|
+
version: '1'
|
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: '1
|
82
|
+
version: '1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2
|
89
|
+
version: '2'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '2
|
96
|
+
version: '2'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '2
|
103
|
+
version: '2'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-sorbet
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.6'
|
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: '
|
124
|
+
version: '0.6'
|
111
125
|
description: RuboCop configuration for our Ruby on Rails projects
|
112
|
-
email:
|
126
|
+
email: oss@dbl.works
|
113
127
|
executables: []
|
114
128
|
extensions: []
|
115
129
|
extra_rdoc_files: []
|
@@ -118,10 +132,12 @@ files:
|
|
118
132
|
- README.md
|
119
133
|
- config/dbl.yml
|
120
134
|
- lib/generators/rubocop_dbl/install_generator.rb
|
135
|
+
- lib/rubocop_dbl/version.rb
|
121
136
|
homepage: https://github.com/dbl-works/rubocop-dbl
|
122
137
|
licenses:
|
123
138
|
- MIT
|
124
|
-
metadata:
|
139
|
+
metadata:
|
140
|
+
rubygems_mfa_required: 'true'
|
125
141
|
post_install_message:
|
126
142
|
rdoc_options: []
|
127
143
|
require_paths:
|
@@ -130,14 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
146
|
requirements:
|
131
147
|
- - ">="
|
132
148
|
- !ruby/object:Gem::Version
|
133
|
-
version: 2.
|
149
|
+
version: '2.7'
|
134
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
151
|
requirements:
|
136
152
|
- - ">="
|
137
153
|
- !ruby/object:Gem::Version
|
138
154
|
version: '0'
|
139
155
|
requirements: []
|
140
|
-
rubygems_version: 3.
|
156
|
+
rubygems_version: 3.1.6
|
141
157
|
signing_key:
|
142
158
|
specification_version: 4
|
143
159
|
summary: RuboCop configuration for our Ruby on Rails projects
|