meowcop 2.3.1 → 2.4.0
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/README.md +2 -1
- data/config/rubocop.yml +117 -11
- data/lib/meowcop/version.rb +1 -1
- metadata +25 -13
- data/.gitignore +0 -10
- data/.travis.yml +0 -14
- data/CHANGELOG.md +0 -67
- data/Gemfile +0 -4
- data/Rakefile +0 -16
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/meowcop.gemspec +0 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 80840195ac11df1ff4287f3acac2da46c9ac206f7bc1257ea3d690ebf4be42b1
|
|
4
|
+
data.tar.gz: 7da3c0709418ee3facf29c723760ba542cac12acc95a2975b94bd4354f26d8ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf31fd7326f8927bb4c5caa090a11472f4d3464400c49aab3831fb3805acc2a137d79050353f5e5fc0602aef8e4aff4968423bee880efe3b88e0650d5fb9f9ca
|
|
7
|
+
data.tar.gz: 5fa32d78493e809513e4f42f69485e25540f486b6b35e6448bdc229f5317988a592f4ac02ff89441dc59c6003a0b9bdbc789191814415a3a6b3555520848d8f4
|
data/README.md
CHANGED
|
@@ -92,7 +92,8 @@ To release a new version,
|
|
|
92
92
|
|
|
93
93
|
1. Update the version number in [`version.rb`](lib/meowcop/version.rb).
|
|
94
94
|
2. Update the [changelog](CHANGELOG.md).
|
|
95
|
-
3.
|
|
95
|
+
3. Commit the updated files with the following format message: `Release x.y.z`
|
|
96
|
+
4. Run the following command, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
96
97
|
|
|
97
98
|
```sh
|
|
98
99
|
$ bundle exec rake release
|
data/config/rubocop.yml
CHANGED
|
@@ -12,6 +12,9 @@ AllCops:
|
|
|
12
12
|
Bundler/OrderedGems:
|
|
13
13
|
Enabled: false
|
|
14
14
|
|
|
15
|
+
Gemspec/OrderedDependencies:
|
|
16
|
+
Enabled: false
|
|
17
|
+
|
|
15
18
|
Lint/AmbiguousRegexpLiteral:
|
|
16
19
|
Enabled: false
|
|
17
20
|
Lint/AssignmentInCondition:
|
|
@@ -249,16 +252,26 @@ Naming/UncommunicativeBlockParamName:
|
|
|
249
252
|
Naming/UncommunicativeMethodParamName:
|
|
250
253
|
Enabled: false
|
|
251
254
|
|
|
255
|
+
# THIS BLOCK IS AUTO-GENERATED. DO NOT EDIT.
|
|
256
|
+
# === Disabled cops: BEGIN ===
|
|
257
|
+
Style/AccessModifierDeclarations:
|
|
258
|
+
Enabled: false
|
|
252
259
|
Style/Alias:
|
|
253
260
|
Enabled: false
|
|
254
261
|
Style/AndOr:
|
|
255
262
|
Enabled: false
|
|
263
|
+
Style/ArrayJoin:
|
|
264
|
+
Enabled: false
|
|
256
265
|
Style/AsciiComments:
|
|
257
266
|
Enabled: false
|
|
258
267
|
Style/Attr:
|
|
259
268
|
Enabled: false
|
|
269
|
+
Style/AutoResourceCleanup:
|
|
270
|
+
Enabled: false
|
|
260
271
|
Style/BarePercentLiterals:
|
|
261
272
|
Enabled: false
|
|
273
|
+
Style/BeginBlock:
|
|
274
|
+
Enabled: false
|
|
262
275
|
Style/BlockComments:
|
|
263
276
|
Enabled: false
|
|
264
277
|
Style/BlockDelimiters:
|
|
@@ -273,12 +286,16 @@ Style/ClassAndModuleChildren:
|
|
|
273
286
|
Enabled: false
|
|
274
287
|
Style/ClassCheck:
|
|
275
288
|
Enabled: false
|
|
289
|
+
Style/ClassMethods:
|
|
290
|
+
Enabled: false
|
|
276
291
|
Style/ClassVars:
|
|
277
292
|
Enabled: false
|
|
278
293
|
Style/CollectionMethods:
|
|
279
294
|
Enabled: false
|
|
280
295
|
Style/ColonMethodCall:
|
|
281
296
|
Enabled: false
|
|
297
|
+
Style/ColonMethodDefinition:
|
|
298
|
+
Enabled: false
|
|
282
299
|
Style/CommandLiteral:
|
|
283
300
|
Enabled: false
|
|
284
301
|
Style/CommentAnnotation:
|
|
@@ -287,12 +304,30 @@ Style/CommentedKeyword:
|
|
|
287
304
|
Enabled: false
|
|
288
305
|
Style/ConditionalAssignment:
|
|
289
306
|
Enabled: false
|
|
307
|
+
Style/ConstantVisibility:
|
|
308
|
+
Enabled: false
|
|
309
|
+
Style/Copyright:
|
|
310
|
+
Enabled: false
|
|
311
|
+
Style/DateTime:
|
|
312
|
+
Enabled: false
|
|
290
313
|
Style/DefWithParentheses:
|
|
291
314
|
Enabled: false
|
|
315
|
+
Style/Dir:
|
|
316
|
+
Enabled: false
|
|
292
317
|
Style/Documentation:
|
|
293
318
|
Enabled: false
|
|
319
|
+
Style/DocumentationMethod:
|
|
320
|
+
Enabled: false
|
|
321
|
+
Style/DoubleCopDisableDirective:
|
|
322
|
+
Enabled: false
|
|
294
323
|
Style/DoubleNegation:
|
|
295
324
|
Enabled: false
|
|
325
|
+
Style/EachForSimpleLoop:
|
|
326
|
+
Enabled: false
|
|
327
|
+
Style/EachWithObject:
|
|
328
|
+
Enabled: false
|
|
329
|
+
Style/EmptyBlockParameter:
|
|
330
|
+
Enabled: false
|
|
296
331
|
Style/EmptyCaseCondition:
|
|
297
332
|
Enabled: false
|
|
298
333
|
Style/EmptyElse:
|
|
@@ -307,8 +342,12 @@ Style/Encoding:
|
|
|
307
342
|
Enabled: false
|
|
308
343
|
Style/EndBlock:
|
|
309
344
|
Enabled: false
|
|
345
|
+
Style/EvalWithLocation:
|
|
346
|
+
Enabled: false
|
|
310
347
|
Style/EvenOdd:
|
|
311
348
|
Enabled: false
|
|
349
|
+
Style/ExpandPathArguments:
|
|
350
|
+
Enabled: false
|
|
312
351
|
Style/FloatDivision:
|
|
313
352
|
Enabled: false
|
|
314
353
|
Style/For:
|
|
@@ -319,18 +358,32 @@ Style/FormatStringToken:
|
|
|
319
358
|
Enabled: false
|
|
320
359
|
Style/FrozenStringLiteralComment:
|
|
321
360
|
Enabled: false
|
|
361
|
+
Style/GlobalVars:
|
|
362
|
+
Enabled: false
|
|
322
363
|
Style/GuardClause:
|
|
323
364
|
Enabled: false
|
|
324
365
|
Style/HashSyntax:
|
|
325
366
|
Enabled: false
|
|
367
|
+
Style/IdenticalConditionalBranches:
|
|
368
|
+
Enabled: false
|
|
326
369
|
Style/IfInsideElse:
|
|
327
370
|
Enabled: false
|
|
328
371
|
Style/IfUnlessModifier:
|
|
329
372
|
Enabled: false
|
|
373
|
+
Style/IfUnlessModifierOfIfUnless:
|
|
374
|
+
Enabled: false
|
|
375
|
+
Style/IfWithSemicolon:
|
|
376
|
+
Enabled: false
|
|
377
|
+
Style/ImplicitRuntimeError:
|
|
378
|
+
Enabled: false
|
|
330
379
|
Style/InfiniteLoop:
|
|
331
380
|
Enabled: false
|
|
381
|
+
Style/InlineComment:
|
|
382
|
+
Enabled: false
|
|
332
383
|
Style/InverseMethods:
|
|
333
384
|
Enabled: false
|
|
385
|
+
Style/IpAddresses:
|
|
386
|
+
Enabled: false
|
|
334
387
|
Style/Lambda:
|
|
335
388
|
Enabled: false
|
|
336
389
|
Style/LambdaCall:
|
|
@@ -341,30 +394,40 @@ Style/MethodCallWithArgsParentheses:
|
|
|
341
394
|
Enabled: false
|
|
342
395
|
Style/MethodCallWithoutArgsParentheses:
|
|
343
396
|
Enabled: false
|
|
397
|
+
Style/MethodCalledOnDoEndBlock:
|
|
398
|
+
Enabled: false
|
|
344
399
|
Style/MethodDefParentheses:
|
|
345
400
|
Enabled: false
|
|
346
401
|
Style/MethodMissingSuper:
|
|
347
402
|
Enabled: false
|
|
403
|
+
Style/MinMax:
|
|
404
|
+
Enabled: false
|
|
405
|
+
Style/MissingElse:
|
|
406
|
+
Enabled: false
|
|
348
407
|
Style/MissingRespondToMissing:
|
|
349
408
|
Enabled: false
|
|
350
409
|
Style/MixinGrouping:
|
|
351
410
|
Enabled: false
|
|
411
|
+
Style/MixinUsage:
|
|
412
|
+
Enabled: false
|
|
352
413
|
Style/ModuleFunction:
|
|
353
414
|
Enabled: false
|
|
354
415
|
Style/MultilineBlockChain:
|
|
355
416
|
Enabled: false
|
|
417
|
+
Style/MultilineIfModifier:
|
|
418
|
+
Enabled: false
|
|
356
419
|
Style/MultilineIfThen:
|
|
357
420
|
Enabled: false
|
|
358
421
|
Style/MultilineMemoization:
|
|
359
422
|
Enabled: false
|
|
360
|
-
Style/
|
|
423
|
+
Style/MultilineMethodSignature:
|
|
361
424
|
Enabled: false
|
|
362
425
|
Style/MultilineTernaryOperator:
|
|
363
426
|
Enabled: false
|
|
364
|
-
Style/MultipleComparison:
|
|
365
|
-
Enabled: false
|
|
366
427
|
Style/MultilineWhenThen:
|
|
367
428
|
Enabled: false
|
|
429
|
+
Style/MultipleComparison:
|
|
430
|
+
Enabled: false
|
|
368
431
|
Style/MutableConstant:
|
|
369
432
|
Enabled: false
|
|
370
433
|
Style/NegatedIf:
|
|
@@ -373,6 +436,8 @@ Style/NegatedUnless:
|
|
|
373
436
|
Enabled: false
|
|
374
437
|
Style/NegatedWhile:
|
|
375
438
|
Enabled: false
|
|
439
|
+
Style/NestedModifier:
|
|
440
|
+
Enabled: false
|
|
376
441
|
Style/NestedParenthesizedCalls:
|
|
377
442
|
Enabled: false
|
|
378
443
|
Style/NestedTernaryOperator:
|
|
@@ -393,12 +458,16 @@ Style/NumericPredicate:
|
|
|
393
458
|
Enabled: false
|
|
394
459
|
Style/OneLineConditional:
|
|
395
460
|
Enabled: false
|
|
461
|
+
Style/OptionHash:
|
|
462
|
+
Enabled: false
|
|
396
463
|
Style/OptionalArguments:
|
|
397
464
|
Enabled: false
|
|
398
|
-
Style/
|
|
465
|
+
Style/OrAssignment:
|
|
399
466
|
Enabled: false
|
|
400
467
|
Style/ParallelAssignment:
|
|
401
468
|
Enabled: false
|
|
469
|
+
Style/ParenthesesAroundCondition:
|
|
470
|
+
Enabled: false
|
|
402
471
|
Style/PercentLiteralDelimiters:
|
|
403
472
|
Enabled: false
|
|
404
473
|
Style/PercentQLiterals:
|
|
@@ -411,20 +480,38 @@ Style/Proc:
|
|
|
411
480
|
Enabled: false
|
|
412
481
|
Style/RaiseArgs:
|
|
413
482
|
Enabled: false
|
|
483
|
+
Style/RandomWithOffset:
|
|
484
|
+
Enabled: false
|
|
414
485
|
Style/RedundantBegin:
|
|
415
486
|
Enabled: false
|
|
487
|
+
Style/RedundantConditional:
|
|
488
|
+
Enabled: false
|
|
416
489
|
Style/RedundantException:
|
|
417
490
|
Enabled: false
|
|
491
|
+
Style/RedundantFreeze:
|
|
492
|
+
Enabled: false
|
|
418
493
|
Style/RedundantParentheses:
|
|
419
494
|
Enabled: false
|
|
420
495
|
Style/RedundantReturn:
|
|
421
496
|
Enabled: false
|
|
422
497
|
Style/RedundantSelf:
|
|
423
498
|
Enabled: false
|
|
499
|
+
Style/RedundantSortBy:
|
|
500
|
+
Enabled: false
|
|
424
501
|
Style/RegexpLiteral:
|
|
425
502
|
Enabled: false
|
|
426
503
|
Style/RescueModifier:
|
|
427
504
|
Enabled: false
|
|
505
|
+
Style/RescueStandardError:
|
|
506
|
+
Enabled: false
|
|
507
|
+
Style/ReturnNil:
|
|
508
|
+
Enabled: false
|
|
509
|
+
Style/SafeNavigation:
|
|
510
|
+
Enabled: false
|
|
511
|
+
Style/Sample:
|
|
512
|
+
Enabled: false
|
|
513
|
+
Style/SelfAssignment:
|
|
514
|
+
Enabled: false
|
|
428
515
|
Style/Semicolon:
|
|
429
516
|
Enabled: false
|
|
430
517
|
Style/Send:
|
|
@@ -439,12 +526,16 @@ Style/SpecialGlobalVars:
|
|
|
439
526
|
Enabled: false
|
|
440
527
|
Style/StabbyLambdaParentheses:
|
|
441
528
|
Enabled: false
|
|
529
|
+
Style/StderrPuts:
|
|
530
|
+
Enabled: false
|
|
442
531
|
Style/StringLiterals:
|
|
443
532
|
Enabled: false
|
|
444
533
|
Style/StringLiteralsInInterpolation:
|
|
445
534
|
Enabled: false
|
|
446
535
|
Style/StringMethods:
|
|
447
536
|
Enabled: false
|
|
537
|
+
Style/Strip:
|
|
538
|
+
Enabled: false
|
|
448
539
|
Style/StructInheritance:
|
|
449
540
|
Enabled: false
|
|
450
541
|
Style/SymbolArray:
|
|
@@ -455,22 +546,40 @@ Style/SymbolProc:
|
|
|
455
546
|
Enabled: false
|
|
456
547
|
Style/TernaryParentheses:
|
|
457
548
|
Enabled: false
|
|
549
|
+
Style/TrailingBodyOnClass:
|
|
550
|
+
Enabled: false
|
|
551
|
+
Style/TrailingBodyOnMethodDefinition:
|
|
552
|
+
Enabled: false
|
|
553
|
+
Style/TrailingBodyOnModule:
|
|
554
|
+
Enabled: false
|
|
458
555
|
Style/TrailingCommaInArguments:
|
|
459
556
|
Enabled: false
|
|
460
557
|
Style/TrailingCommaInArrayLiteral:
|
|
461
558
|
Enabled: false
|
|
462
559
|
Style/TrailingCommaInHashLiteral:
|
|
463
560
|
Enabled: false
|
|
561
|
+
Style/TrailingMethodEndStatement:
|
|
562
|
+
Enabled: false
|
|
464
563
|
Style/TrailingUnderscoreVariable:
|
|
465
564
|
Enabled: false
|
|
466
565
|
Style/TrivialAccessors:
|
|
467
566
|
Enabled: false
|
|
468
567
|
Style/UnlessElse:
|
|
469
568
|
Enabled: false
|
|
569
|
+
Style/UnneededCapitalW:
|
|
570
|
+
Enabled: false
|
|
571
|
+
Style/UnneededCondition:
|
|
572
|
+
Enabled: false
|
|
470
573
|
Style/UnneededInterpolation:
|
|
471
574
|
Enabled: false
|
|
472
575
|
Style/UnneededPercentQ:
|
|
473
576
|
Enabled: false
|
|
577
|
+
Style/UnneededSort:
|
|
578
|
+
Enabled: false
|
|
579
|
+
Style/UnpackFirst:
|
|
580
|
+
Enabled: false
|
|
581
|
+
Style/VariableInterpolation:
|
|
582
|
+
Enabled: false
|
|
474
583
|
Style/WhenThen:
|
|
475
584
|
Enabled: false
|
|
476
585
|
Style/WhileUntilDo:
|
|
@@ -483,14 +592,11 @@ Style/YodaCondition:
|
|
|
483
592
|
Enabled: false
|
|
484
593
|
Style/ZeroLengthPredicate:
|
|
485
594
|
Enabled: false
|
|
486
|
-
|
|
487
|
-
Enabled: false
|
|
488
|
-
|
|
489
|
-
Gemspec/OrderedDependencies:
|
|
490
|
-
Enabled: false
|
|
491
|
-
|
|
492
|
-
# ------------- Enabled cops
|
|
595
|
+
# === Disabled cops: END ===
|
|
493
596
|
|
|
597
|
+
# THIS BLOCK IS AUTO-GENERATED. DO NOT EDIT.
|
|
598
|
+
# === Enabled cops: BEGIN ===
|
|
494
599
|
# In many cases, hash keys should be a symbol, not a string.
|
|
495
600
|
Style/StringHashKeys:
|
|
496
601
|
Enabled: true
|
|
602
|
+
# === Enabled cops: END ===
|
data/lib/meowcop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meowcop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Masataka Kuwabara
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-10-
|
|
12
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rubocop
|
|
@@ -17,14 +17,20 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - ">="
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 0.
|
|
20
|
+
version: 0.75.0
|
|
21
|
+
- - "<"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 1.0.0
|
|
21
24
|
type: :runtime
|
|
22
25
|
prerelease: false
|
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
27
|
requirements:
|
|
25
28
|
- - ">="
|
|
26
29
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 0.
|
|
30
|
+
version: 0.75.0
|
|
31
|
+
- - "<"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 1.0.0
|
|
28
34
|
- !ruby/object:Gem::Dependency
|
|
29
35
|
name: bundler
|
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -87,6 +93,20 @@ dependencies:
|
|
|
87
93
|
- - ">="
|
|
88
94
|
- !ruby/object:Gem::Version
|
|
89
95
|
version: 1.3.8
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: activesupport
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - "<"
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: 6.0.0
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - "<"
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: 6.0.0
|
|
90
110
|
description: MeowCop is a RuboCop configuration recommended by Sider, Inc.
|
|
91
111
|
email: support@sider.review
|
|
92
112
|
executables:
|
|
@@ -94,22 +114,14 @@ executables:
|
|
|
94
114
|
extensions: []
|
|
95
115
|
extra_rdoc_files: []
|
|
96
116
|
files:
|
|
97
|
-
- ".gitignore"
|
|
98
|
-
- ".travis.yml"
|
|
99
|
-
- CHANGELOG.md
|
|
100
|
-
- Gemfile
|
|
101
117
|
- LICENSE
|
|
102
118
|
- README.md
|
|
103
|
-
- Rakefile
|
|
104
|
-
- bin/console
|
|
105
|
-
- bin/setup
|
|
106
119
|
- config/rubocop.yml
|
|
107
120
|
- examples/.rubocop.yml
|
|
108
121
|
- exe/meowcop
|
|
109
122
|
- lib/meowcop.rb
|
|
110
123
|
- lib/meowcop/cli.rb
|
|
111
124
|
- lib/meowcop/version.rb
|
|
112
|
-
- meowcop.gemspec
|
|
113
125
|
homepage: https://github.com/sider/meowcop
|
|
114
126
|
licenses:
|
|
115
127
|
- MIT
|
|
@@ -125,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
125
137
|
requirements:
|
|
126
138
|
- - ">="
|
|
127
139
|
- !ruby/object:Gem::Version
|
|
128
|
-
version:
|
|
140
|
+
version: 2.3.0
|
|
129
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
142
|
requirements:
|
|
131
143
|
- - ">="
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
data/CHANGELOG.md
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## Unreleased
|
|
4
|
-
|
|
5
|
-
## 2.3.1 (2019-10-01)
|
|
6
|
-
|
|
7
|
-
- [#68](https://github.com/sider/meowcop/pull/68) Revert "Disable all Style Cops"
|
|
8
|
-
|
|
9
|
-
## 2.3.0 (2019-10-01)
|
|
10
|
-
|
|
11
|
-
- [#62](https://github.com/sider/meowcop/pull/62): Disable all Style Cops
|
|
12
|
-
- [#63](https://github.com/sider/meowcop/pull/63): Exclude `node_modules` directory
|
|
13
|
-
|
|
14
|
-
## 2.2.0 (2019-08-30)
|
|
15
|
-
|
|
16
|
-
This release does not add any features but adds the license: **MIT**.
|
|
17
|
-
This may have an impact on certain users, so we decided it appropriate that this release is a minor update, not a patch update.
|
|
18
|
-
|
|
19
|
-
- [#56](https://github.com/sider/meowcop/pull/56): Add license and update gemspec
|
|
20
|
-
|
|
21
|
-
## 2.1.0 (2019-07-17)
|
|
22
|
-
|
|
23
|
-
- [#54](https://github.com/sider/meowcop/pull/54): Follow up of RuboCop v0.73
|
|
24
|
-
|
|
25
|
-
## 2.0.0 (2019-06-26)
|
|
26
|
-
|
|
27
|
-
- [#50](https://github.com/sider/meowcop/pull/50): Follow up of RuboCop v0.72.0 (including a breaking change, see below)
|
|
28
|
-
|
|
29
|
-
### Breaking Change
|
|
30
|
-
|
|
31
|
-
Since version 2, MeowCop has stopped supporting Rails Cops. Because RuboCop v0.72 has separated Rails Cops from its core gem to another [`rubocop-rails`](https://github.com/rubocop-hq/rubocop-rails) gem. For details, please see [the v0.72 changelog](https://github.com/rubocop-hq/rubocop/blob/v0.72.0/CHANGELOG.md) and [the related issue](https://github.com/rubocop-hq/rubocop/issues/5976).
|
|
32
|
-
|
|
33
|
-
If you want to continue using Rails Cops which were disabled by MeowCop v1, please copy the Cops in the following past config file and paste them to your `.rubocop.yml` file:
|
|
34
|
-
|
|
35
|
-
<https://github.com/sider/meowcop/blob/v1.20.0/config/rubocop.yml#L68-L97>
|
|
36
|
-
|
|
37
|
-
## 1.20.0 (2019-05-14)
|
|
38
|
-
|
|
39
|
-
- [#44](https://github.com/sider/meowcop/pull/44): Follow up of RuboCop v0.69.0
|
|
40
|
-
|
|
41
|
-
## 1.19.0 (2019-05-07)
|
|
42
|
-
|
|
43
|
-
- [#41](https://github.com/sider/meowcop/pull/41): Rename some cops to follow up of Rubocop v0.68
|
|
44
|
-
- [#42](https://github.com/sider/meowcop/pull/42): RuboCop v0.68
|
|
45
|
-
|
|
46
|
-
## 1.18.0 (2019-04-05)
|
|
47
|
-
|
|
48
|
-
- [#37](https://github.com/sider/meowcop/pull/37): Fix typo
|
|
49
|
-
- [#40](https://github.com/sider/meowcop/pull/40): Follow up of new cops (v0.67)
|
|
50
|
-
|
|
51
|
-
## 1.17.1 (2018-09-11)
|
|
52
|
-
|
|
53
|
-
- [#34](https://github.com/sider/meowcop/pull/34): Follow up of new cops (v0.59.0)
|
|
54
|
-
|
|
55
|
-
## 1.17.0 (2018-06-18)
|
|
56
|
-
|
|
57
|
-
- [#31](https://github.com/sider/meowcop/pull/31): Follow up of new cops (v0.57.0)
|
|
58
|
-
|
|
59
|
-
## 1.16.1 (2018-06-18)
|
|
60
|
-
|
|
61
|
-
- [#28](https://github.com/sider/meowcop/pull/28): Fix unrecognized cops warnings
|
|
62
|
-
- [#29](https://github.com/sider/meowcop/pull/29): Follow up of new cops (v0.54.0 ~ v0.56.0)
|
|
63
|
-
|
|
64
|
-
## 1.16.0 (2018-05-15)
|
|
65
|
-
|
|
66
|
-
- [#26](https://github.com/sider/meowcop/pull/26): Split Style/MethodMissing to follow RuboCop 0.56.0
|
|
67
|
-
|
data/Gemfile
DELETED
data/Rakefile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
require "bundler/gem_tasks"
|
|
2
|
-
require "rake/testtask"
|
|
3
|
-
|
|
4
|
-
task :default => [:test, :smoke]
|
|
5
|
-
|
|
6
|
-
Rake::TestTask.new do |t|
|
|
7
|
-
t.libs << "test"
|
|
8
|
-
t.test_files = FileList["test/**/*_test.rb"]
|
|
9
|
-
t.verbose = true
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
desc "Run smoke tests"
|
|
13
|
-
task :smoke do
|
|
14
|
-
sh "docker build -t meowcop/smoke -f test/smoke/Dockerfile ."
|
|
15
|
-
sh "docker run -it --rm meowcop/smoke"
|
|
16
|
-
end
|
data/bin/console
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
require "bundler/setup"
|
|
4
|
-
require "meowcop"
|
|
5
|
-
|
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
-
|
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
-
# require "pry"
|
|
11
|
-
# Pry.start
|
|
12
|
-
|
|
13
|
-
require "irb"
|
|
14
|
-
IRB.start
|
data/bin/setup
DELETED
data/meowcop.gemspec
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require 'meowcop/version'
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = "meowcop"
|
|
8
|
-
spec.version = Meowcop::VERSION
|
|
9
|
-
spec.licenses = ["MIT"]
|
|
10
|
-
spec.authors = ["Masataka Kuwabara", "Sider, Inc."]
|
|
11
|
-
spec.email = "support@sider.review"
|
|
12
|
-
|
|
13
|
-
spec.summary = %q{A RuboCop configuration focusing Lint}
|
|
14
|
-
spec.description = %q{MeowCop is a RuboCop configuration recommended by Sider, Inc.}
|
|
15
|
-
spec.homepage = "https://github.com/sider/meowcop"
|
|
16
|
-
|
|
17
|
-
spec.metadata = {
|
|
18
|
-
"bug_tracker_uri" => "https://github.com/sider/meowcop/issues",
|
|
19
|
-
"changelog_uri" => "https://github.com/sider/meowcop/blob/master/CHANGELOG.md",
|
|
20
|
-
"source_code_uri" => "https://github.com/sider/meowcop"
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
24
|
-
spec.bindir = "exe"
|
|
25
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
26
|
-
spec.require_paths = ["lib"]
|
|
27
|
-
|
|
28
|
-
spec.add_dependency 'rubocop', '>= 0.73.0'
|
|
29
|
-
|
|
30
|
-
spec.add_development_dependency "bundler", ">= 1.12", "< 3.0"
|
|
31
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
|
32
|
-
spec.add_development_dependency "minitest", ">= 5.11.3"
|
|
33
|
-
spec.add_development_dependency "minitest-reporters", ">= 1.3.8"
|
|
34
|
-
end
|