meowcop 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +15 -1
- data/Rakefile +1 -6
- data/config/rubocop.yml +235 -1
- data/lib/meowcop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7af5048278795186a55aea14499e890484e7f2740e06f613d4c8ac7a9eb0ae78
|
4
|
+
data.tar.gz: 073e02f071c07fddbbc15c51eb1a527ce8930175b3c273e356dc8f0dd02bb730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218511b10c1663383dbaa75b38211e2f4033609f413f1af1a2728d2d5cb443da3e7e29795bc2b1c43c90199db3670bd3572d33e074e98c8fd1e94fda305921ce
|
7
|
+
data.tar.gz: 68c4827b7700651941e088f55edd678e3fe01dc93c31fa4105c32ce4dcd286b97a95d9cb4552eecc63d2d7476bc87a72eaec9fb4a9791d4bcc60dbb71bb18974
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,14 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
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
|
+
|
5
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
|
6
13
|
|
7
14
|
## 2.2.0 (2019-08-30)
|
8
15
|
|
data/README.md
CHANGED
@@ -82,7 +82,21 @@ $ rubocop
|
|
82
82
|
|
83
83
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
84
84
|
|
85
|
-
To install this gem onto your local machine, run
|
85
|
+
To install this gem onto your local machine, run:
|
86
|
+
|
87
|
+
```sh
|
88
|
+
$ bundle exec rake install
|
89
|
+
```
|
90
|
+
|
91
|
+
To release a new version,
|
92
|
+
|
93
|
+
1. Update the version number in [`version.rb`](lib/meowcop/version.rb).
|
94
|
+
2. Update the [changelog](CHANGELOG.md).
|
95
|
+
3. 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
|
+
```sh
|
98
|
+
$ bundle exec rake release
|
99
|
+
```
|
86
100
|
|
87
101
|
## Contributing
|
88
102
|
|
data/Rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require "rake/testtask"
|
3
3
|
|
4
|
-
task :default => [:test, :smoke
|
4
|
+
task :default => [:test, :smoke]
|
5
5
|
|
6
6
|
Rake::TestTask.new do |t|
|
7
7
|
t.libs << "test"
|
@@ -14,8 +14,3 @@ task :smoke do
|
|
14
14
|
sh "docker build -t meowcop/smoke -f test/smoke/Dockerfile ."
|
15
15
|
sh "docker run -it --rm meowcop/smoke"
|
16
16
|
end
|
17
|
-
|
18
|
-
desc "Lint"
|
19
|
-
task :lint do
|
20
|
-
sh "bundle exec rubocop --config config/rubocop.yml"
|
21
|
-
end
|
data/config/rubocop.yml
CHANGED
@@ -249,7 +249,241 @@ Naming/UncommunicativeBlockParamName:
|
|
249
249
|
Naming/UncommunicativeMethodParamName:
|
250
250
|
Enabled: false
|
251
251
|
|
252
|
-
Style:
|
252
|
+
Style/Alias:
|
253
|
+
Enabled: false
|
254
|
+
Style/AndOr:
|
255
|
+
Enabled: false
|
256
|
+
Style/AsciiComments:
|
257
|
+
Enabled: false
|
258
|
+
Style/Attr:
|
259
|
+
Enabled: false
|
260
|
+
Style/BarePercentLiterals:
|
261
|
+
Enabled: false
|
262
|
+
Style/BlockComments:
|
263
|
+
Enabled: false
|
264
|
+
Style/BlockDelimiters:
|
265
|
+
Enabled: false
|
266
|
+
Style/BracesAroundHashParameters:
|
267
|
+
Enabled: false
|
268
|
+
Style/CaseEquality:
|
269
|
+
Enabled: false
|
270
|
+
Style/CharacterLiteral:
|
271
|
+
Enabled: false
|
272
|
+
Style/ClassAndModuleChildren:
|
273
|
+
Enabled: false
|
274
|
+
Style/ClassCheck:
|
275
|
+
Enabled: false
|
276
|
+
Style/ClassVars:
|
277
|
+
Enabled: false
|
278
|
+
Style/CollectionMethods:
|
279
|
+
Enabled: false
|
280
|
+
Style/ColonMethodCall:
|
281
|
+
Enabled: false
|
282
|
+
Style/CommandLiteral:
|
283
|
+
Enabled: false
|
284
|
+
Style/CommentAnnotation:
|
285
|
+
Enabled: false
|
286
|
+
Style/CommentedKeyword:
|
287
|
+
Enabled: false
|
288
|
+
Style/ConditionalAssignment:
|
289
|
+
Enabled: false
|
290
|
+
Style/DefWithParentheses:
|
291
|
+
Enabled: false
|
292
|
+
Style/Documentation:
|
293
|
+
Enabled: false
|
294
|
+
Style/DoubleNegation:
|
295
|
+
Enabled: false
|
296
|
+
Style/EmptyCaseCondition:
|
297
|
+
Enabled: false
|
298
|
+
Style/EmptyElse:
|
299
|
+
Enabled: false
|
300
|
+
Style/EmptyLambdaParameter:
|
301
|
+
Enabled: false
|
302
|
+
Style/EmptyLiteral:
|
303
|
+
Enabled: false
|
304
|
+
Style/EmptyMethod:
|
305
|
+
Enabled: false
|
306
|
+
Style/Encoding:
|
307
|
+
Enabled: false
|
308
|
+
Style/EndBlock:
|
309
|
+
Enabled: false
|
310
|
+
Style/EvenOdd:
|
311
|
+
Enabled: false
|
312
|
+
Style/FloatDivision:
|
313
|
+
Enabled: false
|
314
|
+
Style/For:
|
315
|
+
Enabled: false
|
316
|
+
Style/FormatString:
|
317
|
+
Enabled: false
|
318
|
+
Style/FormatStringToken:
|
319
|
+
Enabled: false
|
320
|
+
Style/FrozenStringLiteralComment:
|
321
|
+
Enabled: false
|
322
|
+
Style/GuardClause:
|
323
|
+
Enabled: false
|
324
|
+
Style/HashSyntax:
|
325
|
+
Enabled: false
|
326
|
+
Style/IfInsideElse:
|
327
|
+
Enabled: false
|
328
|
+
Style/IfUnlessModifier:
|
329
|
+
Enabled: false
|
330
|
+
Style/InfiniteLoop:
|
331
|
+
Enabled: false
|
332
|
+
Style/InverseMethods:
|
333
|
+
Enabled: false
|
334
|
+
Style/Lambda:
|
335
|
+
Enabled: false
|
336
|
+
Style/LambdaCall:
|
337
|
+
Enabled: false
|
338
|
+
Style/LineEndConcatenation:
|
339
|
+
Enabled: false
|
340
|
+
Style/MethodCallWithArgsParentheses:
|
341
|
+
Enabled: false
|
342
|
+
Style/MethodCallWithoutArgsParentheses:
|
343
|
+
Enabled: false
|
344
|
+
Style/MethodDefParentheses:
|
345
|
+
Enabled: false
|
346
|
+
Style/MethodMissingSuper:
|
347
|
+
Enabled: false
|
348
|
+
Style/MissingRespondToMissing:
|
349
|
+
Enabled: false
|
350
|
+
Style/MixinGrouping:
|
351
|
+
Enabled: false
|
352
|
+
Style/ModuleFunction:
|
353
|
+
Enabled: false
|
354
|
+
Style/MultilineBlockChain:
|
355
|
+
Enabled: false
|
356
|
+
Style/MultilineIfThen:
|
357
|
+
Enabled: false
|
358
|
+
Style/MultilineMemoization:
|
359
|
+
Enabled: false
|
360
|
+
Style/MultilineIfModifier:
|
361
|
+
Enabled: false
|
362
|
+
Style/MultilineTernaryOperator:
|
363
|
+
Enabled: false
|
364
|
+
Style/MultipleComparison:
|
365
|
+
Enabled: false
|
366
|
+
Style/MultilineWhenThen:
|
367
|
+
Enabled: false
|
368
|
+
Style/MutableConstant:
|
369
|
+
Enabled: false
|
370
|
+
Style/NegatedIf:
|
371
|
+
Enabled: false
|
372
|
+
Style/NegatedUnless:
|
373
|
+
Enabled: false
|
374
|
+
Style/NegatedWhile:
|
375
|
+
Enabled: false
|
376
|
+
Style/NestedParenthesizedCalls:
|
377
|
+
Enabled: false
|
378
|
+
Style/NestedTernaryOperator:
|
379
|
+
Enabled: false
|
380
|
+
Style/Next:
|
381
|
+
Enabled: false
|
382
|
+
Style/NilComparison:
|
383
|
+
Enabled: false
|
384
|
+
Style/NonNilCheck:
|
385
|
+
Enabled: false
|
386
|
+
Style/Not:
|
387
|
+
Enabled: false
|
388
|
+
Style/NumericLiteralPrefix:
|
389
|
+
Enabled: false
|
390
|
+
Style/NumericLiterals:
|
391
|
+
Enabled: false
|
392
|
+
Style/NumericPredicate:
|
393
|
+
Enabled: false
|
394
|
+
Style/OneLineConditional:
|
395
|
+
Enabled: false
|
396
|
+
Style/OptionalArguments:
|
397
|
+
Enabled: false
|
398
|
+
Style/OptionHash:
|
399
|
+
Enabled: false
|
400
|
+
Style/ParallelAssignment:
|
401
|
+
Enabled: false
|
402
|
+
Style/PercentLiteralDelimiters:
|
403
|
+
Enabled: false
|
404
|
+
Style/PercentQLiterals:
|
405
|
+
Enabled: false
|
406
|
+
Style/PerlBackrefs:
|
407
|
+
Enabled: false
|
408
|
+
Style/PreferredHashMethods:
|
409
|
+
Enabled: false
|
410
|
+
Style/Proc:
|
411
|
+
Enabled: false
|
412
|
+
Style/RaiseArgs:
|
413
|
+
Enabled: false
|
414
|
+
Style/RedundantBegin:
|
415
|
+
Enabled: false
|
416
|
+
Style/RedundantException:
|
417
|
+
Enabled: false
|
418
|
+
Style/RedundantParentheses:
|
419
|
+
Enabled: false
|
420
|
+
Style/RedundantReturn:
|
421
|
+
Enabled: false
|
422
|
+
Style/RedundantSelf:
|
423
|
+
Enabled: false
|
424
|
+
Style/RegexpLiteral:
|
425
|
+
Enabled: false
|
426
|
+
Style/RescueModifier:
|
427
|
+
Enabled: false
|
428
|
+
Style/Semicolon:
|
429
|
+
Enabled: false
|
430
|
+
Style/Send:
|
431
|
+
Enabled: false
|
432
|
+
Style/SignalException:
|
433
|
+
Enabled: false
|
434
|
+
Style/SingleLineBlockParams:
|
435
|
+
Enabled: false
|
436
|
+
Style/SingleLineMethods:
|
437
|
+
Enabled: false
|
438
|
+
Style/SpecialGlobalVars:
|
439
|
+
Enabled: false
|
440
|
+
Style/StabbyLambdaParentheses:
|
441
|
+
Enabled: false
|
442
|
+
Style/StringLiterals:
|
443
|
+
Enabled: false
|
444
|
+
Style/StringLiteralsInInterpolation:
|
445
|
+
Enabled: false
|
446
|
+
Style/StringMethods:
|
447
|
+
Enabled: false
|
448
|
+
Style/StructInheritance:
|
449
|
+
Enabled: false
|
450
|
+
Style/SymbolArray:
|
451
|
+
Enabled: false
|
452
|
+
Style/SymbolLiteral:
|
453
|
+
Enabled: false
|
454
|
+
Style/SymbolProc:
|
455
|
+
Enabled: false
|
456
|
+
Style/TernaryParentheses:
|
457
|
+
Enabled: false
|
458
|
+
Style/TrailingCommaInArguments:
|
459
|
+
Enabled: false
|
460
|
+
Style/TrailingCommaInArrayLiteral:
|
461
|
+
Enabled: false
|
462
|
+
Style/TrailingCommaInHashLiteral:
|
463
|
+
Enabled: false
|
464
|
+
Style/TrailingUnderscoreVariable:
|
465
|
+
Enabled: false
|
466
|
+
Style/TrivialAccessors:
|
467
|
+
Enabled: false
|
468
|
+
Style/UnlessElse:
|
469
|
+
Enabled: false
|
470
|
+
Style/UnneededInterpolation:
|
471
|
+
Enabled: false
|
472
|
+
Style/UnneededPercentQ:
|
473
|
+
Enabled: false
|
474
|
+
Style/WhenThen:
|
475
|
+
Enabled: false
|
476
|
+
Style/WhileUntilDo:
|
477
|
+
Enabled: false
|
478
|
+
Style/WhileUntilModifier:
|
479
|
+
Enabled: false
|
480
|
+
Style/WordArray:
|
481
|
+
Enabled: false
|
482
|
+
Style/YodaCondition:
|
483
|
+
Enabled: false
|
484
|
+
Style/ZeroLengthPredicate:
|
485
|
+
Enabled: false
|
486
|
+
Style/AccessModifierDeclarations:
|
253
487
|
Enabled: false
|
254
488
|
|
255
489
|
Gemspec/OrderedDependencies:
|
data/lib/meowcop/version.rb
CHANGED