meowcop 2.10.0 → 2.15.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 +0 -6
- data/config/rubocop.yml +38 -2
- data/examples/.rubocop.yml +0 -4
- data/lib/meowcop/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db4b54b83e8e61f8e6641d79f2990dbaef690447b974b5504d85fc220be9c17a
|
4
|
+
data.tar.gz: 1f513d4098a0f425260ac14a73ffcd127ec25e4bb37cf397f4814e124bba3f5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 369ed6c7c265bef39b9e805d85b45c210c7078a7ed75f681f9a531cd2a5a199bbed7eb24f04b80682cb29d07815aa9184914eb4e35c8c503ffbc45846af42ca4
|
7
|
+
data.tar.gz: 98a33718d327f0dc88e40ab642af17e124980bbc50d3da4bb840763b13dd500f30e92b268c629ea3da4750d9aed1c43fcd81723481ac5228d3691e956143c48a
|
data/README.md
CHANGED
@@ -49,10 +49,6 @@ inherit_gem:
|
|
49
49
|
meowcop:
|
50
50
|
- config/rubocop.yml
|
51
51
|
|
52
|
-
# Modify the version if you don't use MRI 2.6.
|
53
|
-
AllCops:
|
54
|
-
TargetRubyVersion: 2.6
|
55
|
-
|
56
52
|
# You can customize RuboCop settings.
|
57
53
|
# For example.
|
58
54
|
# Style/FrozenStringLiteralComment:
|
@@ -60,8 +56,6 @@ AllCops:
|
|
60
56
|
# EnforcedStyle: always
|
61
57
|
```
|
62
58
|
|
63
|
-
### Example
|
64
|
-
|
65
59
|
See this [example](examples/.rubocop.yml).
|
66
60
|
|
67
61
|
## Usage
|
data/config/rubocop.yml
CHANGED
@@ -260,10 +260,14 @@ Naming/MethodParameterName:
|
|
260
260
|
# === Disabled cops: BEGIN ===
|
261
261
|
Style/AccessModifierDeclarations:
|
262
262
|
Enabled: false
|
263
|
+
Style/AccessorGrouping:
|
264
|
+
Enabled: false
|
263
265
|
Style/Alias:
|
264
266
|
Enabled: false
|
265
267
|
Style/AndOr:
|
266
268
|
Enabled: false
|
269
|
+
Style/ArrayCoercion:
|
270
|
+
Enabled: false
|
267
271
|
Style/ArrayJoin:
|
268
272
|
Enabled: false
|
269
273
|
Style/AsciiComments:
|
@@ -276,20 +280,28 @@ Style/BarePercentLiterals:
|
|
276
280
|
Enabled: false
|
277
281
|
Style/BeginBlock:
|
278
282
|
Enabled: false
|
283
|
+
Style/BisectedAttrAccessor:
|
284
|
+
Enabled: false
|
279
285
|
Style/BlockComments:
|
280
286
|
Enabled: false
|
281
287
|
Style/BlockDelimiters:
|
282
288
|
Enabled: false
|
283
289
|
Style/CaseEquality:
|
284
290
|
Enabled: false
|
291
|
+
Style/CaseLikeIf:
|
292
|
+
Enabled: false
|
285
293
|
Style/CharacterLiteral:
|
286
294
|
Enabled: false
|
287
295
|
Style/ClassAndModuleChildren:
|
288
296
|
Enabled: false
|
289
297
|
Style/ClassCheck:
|
290
298
|
Enabled: false
|
299
|
+
Style/ClassEqualityComparison:
|
300
|
+
Enabled: false
|
291
301
|
Style/ClassMethods:
|
292
302
|
Enabled: false
|
303
|
+
Style/ClassMethodsDefinitions:
|
304
|
+
Enabled: false
|
293
305
|
Style/ClassVars:
|
294
306
|
Enabled: false
|
295
307
|
Style/CollectionMethods:
|
@@ -298,6 +310,8 @@ Style/ColonMethodCall:
|
|
298
310
|
Enabled: false
|
299
311
|
Style/ColonMethodDefinition:
|
300
312
|
Enabled: false
|
313
|
+
Style/CombinableLoops:
|
314
|
+
Enabled: false
|
301
315
|
Style/CommandLiteral:
|
302
316
|
Enabled: false
|
303
317
|
Style/CommentAnnotation:
|
@@ -352,6 +366,8 @@ Style/EvenOdd:
|
|
352
366
|
Enabled: false
|
353
367
|
Style/ExpandPathArguments:
|
354
368
|
Enabled: false
|
369
|
+
Style/ExplicitBlockArgument:
|
370
|
+
Enabled: false
|
355
371
|
Style/ExponentialNotation:
|
356
372
|
Enabled: false
|
357
373
|
Style/FloatDivision:
|
@@ -364,12 +380,18 @@ Style/FormatStringToken:
|
|
364
380
|
Enabled: false
|
365
381
|
Style/FrozenStringLiteralComment:
|
366
382
|
Enabled: false
|
383
|
+
Style/GlobalStdStream:
|
384
|
+
Enabled: false
|
367
385
|
Style/GlobalVars:
|
368
386
|
Enabled: false
|
369
387
|
Style/GuardClause:
|
370
388
|
Enabled: false
|
389
|
+
Style/HashAsLastArrayItem:
|
390
|
+
Enabled: false
|
371
391
|
Style/HashEachMethods:
|
372
392
|
Enabled: false
|
393
|
+
Style/HashLikeCase:
|
394
|
+
Enabled: false
|
373
395
|
Style/HashSyntax:
|
374
396
|
Enabled: false
|
375
397
|
Style/HashTransformKeys:
|
@@ -396,6 +418,8 @@ Style/InverseMethods:
|
|
396
418
|
Enabled: false
|
397
419
|
Style/IpAddresses:
|
398
420
|
Enabled: false
|
421
|
+
Style/KeywordParametersOrder:
|
422
|
+
Enabled: false
|
399
423
|
Style/Lambda:
|
400
424
|
Enabled: false
|
401
425
|
Style/LambdaCall:
|
@@ -410,8 +434,6 @@ Style/MethodCalledOnDoEndBlock:
|
|
410
434
|
Enabled: false
|
411
435
|
Style/MethodDefParentheses:
|
412
436
|
Enabled: false
|
413
|
-
Style/MethodMissingSuper:
|
414
|
-
Enabled: false
|
415
437
|
Style/MinMax:
|
416
438
|
Enabled: false
|
417
439
|
Style/MissingElse:
|
@@ -474,6 +496,8 @@ Style/OptionHash:
|
|
474
496
|
Enabled: false
|
475
497
|
Style/OptionalArguments:
|
476
498
|
Enabled: false
|
499
|
+
Style/OptionalBooleanParameter:
|
500
|
+
Enabled: false
|
477
501
|
Style/OrAssignment:
|
478
502
|
Enabled: false
|
479
503
|
Style/ParallelAssignment:
|
@@ -494,6 +518,8 @@ Style/RaiseArgs:
|
|
494
518
|
Enabled: false
|
495
519
|
Style/RandomWithOffset:
|
496
520
|
Enabled: false
|
521
|
+
Style/RedundantAssignment:
|
522
|
+
Enabled: false
|
497
523
|
Style/RedundantBegin:
|
498
524
|
Enabled: false
|
499
525
|
Style/RedundantCapitalW:
|
@@ -506,6 +532,8 @@ Style/RedundantException:
|
|
506
532
|
Enabled: false
|
507
533
|
Style/RedundantFetchBlock:
|
508
534
|
Enabled: false
|
535
|
+
Style/RedundantFileExtensionInRequire:
|
536
|
+
Enabled: false
|
509
537
|
Style/RedundantFreeze:
|
510
538
|
Enabled: false
|
511
539
|
Style/RedundantInterpolation:
|
@@ -522,6 +550,8 @@ Style/RedundantReturn:
|
|
522
550
|
Enabled: false
|
523
551
|
Style/RedundantSelf:
|
524
552
|
Enabled: false
|
553
|
+
Style/RedundantSelfAssignment:
|
554
|
+
Enabled: false
|
525
555
|
Style/RedundantSort:
|
526
556
|
Enabled: false
|
527
557
|
Style/RedundantSortBy:
|
@@ -546,18 +576,24 @@ Style/Send:
|
|
546
576
|
Enabled: false
|
547
577
|
Style/SignalException:
|
548
578
|
Enabled: false
|
579
|
+
Style/SingleArgumentDig:
|
580
|
+
Enabled: false
|
549
581
|
Style/SingleLineBlockParams:
|
550
582
|
Enabled: false
|
551
583
|
Style/SingleLineMethods:
|
552
584
|
Enabled: false
|
553
585
|
Style/SlicingWithRange:
|
554
586
|
Enabled: false
|
587
|
+
Style/SoleNestedConditional:
|
588
|
+
Enabled: false
|
555
589
|
Style/SpecialGlobalVars:
|
556
590
|
Enabled: false
|
557
591
|
Style/StabbyLambdaParentheses:
|
558
592
|
Enabled: false
|
559
593
|
Style/StderrPuts:
|
560
594
|
Enabled: false
|
595
|
+
Style/StringConcatenation:
|
596
|
+
Enabled: false
|
561
597
|
Style/StringLiterals:
|
562
598
|
Enabled: false
|
563
599
|
Style/StringLiteralsInInterpolation:
|
data/examples/.rubocop.yml
CHANGED
data/lib/meowcop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meowcop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sleeek Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.93.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.93.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|