meowcop 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bfe3f7c2dc82978622a41983ad0d946afae8f9fb9a4e85accb53f97c128fdcc
4
- data.tar.gz: 106229607619b37f71e64dc2e2d651f000583955132b113291442e0f11e70fc4
3
+ metadata.gz: 286d4eac61709cf29252c2fe8b43b48af4dee06ee65b0711adcd69f3a2e68042
4
+ data.tar.gz: 49ddd5f91b0b21fbcfaf32b604766eb7bb6d938bb958edec03de3806a32f065c
5
5
  SHA512:
6
- metadata.gz: 777a504864356e8c11c9f7f1f4ea7f86ac1498fbaa98bb3347ebba048f68ebc00b40fb87fabf368d3f51bb5bedd3a49747eefcc0dc81778ca29fceb27ada8506
7
- data.tar.gz: 16e9757eddefe6072fcc552ddb1f95a690bc4f50e8ae90d30bdb6b1adfe8222bc32248abe0256f421d5602ecdfe4744c700ff942fc77ca27c2d84622032fddf5
6
+ metadata.gz: 4c57408641a429e0274456683752b7803bc6dbae9834f42b8787a63f6597a9aec0ed8267329e35d25fc1ae3e58bce5499c457bbf587ecb5eb5929ed0f69236cd
7
+ data.tar.gz: 6a976a5927153df322bcf12f5f170d216ea4f76f0dcd7df7a3ad9bbb46abd21ca4181bbb1b03d4463680f84f9ff9bae266eb4ece2ba9f888039031301b2a7609
@@ -6,6 +6,9 @@ rvm:
6
6
  - 2.5
7
7
  - 2.6
8
8
 
9
+ services:
10
+ - docker
11
+
9
12
  branches:
10
13
  only:
11
14
  - master
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ - [#62](https://github.com/sider/meowcop/pull/62): Disable all Style Cops
6
+
3
7
  ## 2.2.0 (2019-08-30)
4
8
 
5
9
  This release does not add any features but adds the license: **MIT**.
data/Rakefile CHANGED
@@ -1,10 +1,21 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rake/testtask"
3
3
 
4
- task :default => :test
4
+ task :default => [:test, :smoke, :lint]
5
5
 
6
6
  Rake::TestTask.new do |t|
7
7
  t.libs << "test"
8
8
  t.test_files = FileList["test/**/*_test.rb"]
9
9
  t.verbose = true
10
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
17
+
18
+ desc "Lint"
19
+ task :lint do
20
+ sh "bundle exec rubocop --config config/rubocop.yml"
21
+ end
@@ -1,9 +1,11 @@
1
1
  AllCops:
2
2
  Exclude:
3
- # vendor directory is excluded by default.
3
+ # `vendor` directory is excluded by default.
4
4
  - 'vendor/**/*'
5
- # db/schema.rb is generated automatically.
5
+ # `db/schema.rb` is generated automatically.
6
6
  - 'db/schema.rb'
7
+ # `node_modules` directory is generated by npm.
8
+ - 'node_modules/**/*'
7
9
  DisplayCopNames: true
8
10
  DisplayStyleGuide: true
9
11
 
@@ -247,241 +249,7 @@ Naming/UncommunicativeBlockParamName:
247
249
  Naming/UncommunicativeMethodParamName:
248
250
  Enabled: false
249
251
 
250
- Style/Alias:
251
- Enabled: false
252
- Style/AndOr:
253
- Enabled: false
254
- Style/AsciiComments:
255
- Enabled: false
256
- Style/Attr:
257
- Enabled: false
258
- Style/BarePercentLiterals:
259
- Enabled: false
260
- Style/BlockComments:
261
- Enabled: false
262
- Style/BlockDelimiters:
263
- Enabled: false
264
- Style/BracesAroundHashParameters:
265
- Enabled: false
266
- Style/CaseEquality:
267
- Enabled: false
268
- Style/CharacterLiteral:
269
- Enabled: false
270
- Style/ClassAndModuleChildren:
271
- Enabled: false
272
- Style/ClassCheck:
273
- Enabled: false
274
- Style/ClassVars:
275
- Enabled: false
276
- Style/CollectionMethods:
277
- Enabled: false
278
- Style/ColonMethodCall:
279
- Enabled: false
280
- Style/CommandLiteral:
281
- Enabled: false
282
- Style/CommentAnnotation:
283
- Enabled: false
284
- Style/CommentedKeyword:
285
- Enabled: false
286
- Style/ConditionalAssignment:
287
- Enabled: false
288
- Style/DefWithParentheses:
289
- Enabled: false
290
- Style/Documentation:
291
- Enabled: false
292
- Style/DoubleNegation:
293
- Enabled: false
294
- Style/EmptyCaseCondition:
295
- Enabled: false
296
- Style/EmptyElse:
297
- Enabled: false
298
- Style/EmptyLambdaParameter:
299
- Enabled: false
300
- Style/EmptyLiteral:
301
- Enabled: false
302
- Style/EmptyMethod:
303
- Enabled: false
304
- Style/Encoding:
305
- Enabled: false
306
- Style/EndBlock:
307
- Enabled: false
308
- Style/EvenOdd:
309
- Enabled: false
310
- Style/FloatDivision:
311
- Enabled: false
312
- Style/For:
313
- Enabled: false
314
- Style/FormatString:
315
- Enabled: false
316
- Style/FormatStringToken:
317
- Enabled: false
318
- Style/FrozenStringLiteralComment:
319
- Enabled: false
320
- Style/GuardClause:
321
- Enabled: false
322
- Style/HashSyntax:
323
- Enabled: false
324
- Style/IfInsideElse:
325
- Enabled: false
326
- Style/IfUnlessModifier:
327
- Enabled: false
328
- Style/InfiniteLoop:
329
- Enabled: false
330
- Style/InverseMethods:
331
- Enabled: false
332
- Style/Lambda:
333
- Enabled: false
334
- Style/LambdaCall:
335
- Enabled: false
336
- Style/LineEndConcatenation:
337
- Enabled: false
338
- Style/MethodCallWithArgsParentheses:
339
- Enabled: false
340
- Style/MethodCallWithoutArgsParentheses:
341
- Enabled: false
342
- Style/MethodDefParentheses:
343
- Enabled: false
344
- Style/MethodMissingSuper:
345
- Enabled: false
346
- Style/MissingRespondToMissing:
347
- Enabled: false
348
- Style/MixinGrouping:
349
- Enabled: false
350
- Style/ModuleFunction:
351
- Enabled: false
352
- Style/MultilineBlockChain:
353
- Enabled: false
354
- Style/MultilineIfThen:
355
- Enabled: false
356
- Style/MultilineMemoization:
357
- Enabled: false
358
- Style/MultilineIfModifier:
359
- Enabled: false
360
- Style/MultilineTernaryOperator:
361
- Enabled: false
362
- Style/MultipleComparison:
363
- Enabled: false
364
- Style/MultilineWhenThen:
365
- Enabled: false
366
- Style/MutableConstant:
367
- Enabled: false
368
- Style/NegatedIf:
369
- Enabled: false
370
- Style/NegatedUnless:
371
- Enabled: false
372
- Style/NegatedWhile:
373
- Enabled: false
374
- Style/NestedParenthesizedCalls:
375
- Enabled: false
376
- Style/NestedTernaryOperator:
377
- Enabled: false
378
- Style/Next:
379
- Enabled: false
380
- Style/NilComparison:
381
- Enabled: false
382
- Style/NonNilCheck:
383
- Enabled: false
384
- Style/Not:
385
- Enabled: false
386
- Style/NumericLiteralPrefix:
387
- Enabled: false
388
- Style/NumericLiterals:
389
- Enabled: false
390
- Style/NumericPredicate:
391
- Enabled: false
392
- Style/OneLineConditional:
393
- Enabled: false
394
- Style/OptionalArguments:
395
- Enabled: false
396
- Style/OptionHash:
397
- Enabled: false
398
- Style/ParallelAssignment:
399
- Enabled: false
400
- Style/PercentLiteralDelimiters:
401
- Enabled: false
402
- Style/PercentQLiterals:
403
- Enabled: false
404
- Style/PerlBackrefs:
405
- Enabled: false
406
- Style/PreferredHashMethods:
407
- Enabled: false
408
- Style/Proc:
409
- Enabled: false
410
- Style/RaiseArgs:
411
- Enabled: false
412
- Style/RedundantBegin:
413
- Enabled: false
414
- Style/RedundantException:
415
- Enabled: false
416
- Style/RedundantParentheses:
417
- Enabled: false
418
- Style/RedundantReturn:
419
- Enabled: false
420
- Style/RedundantSelf:
421
- Enabled: false
422
- Style/RegexpLiteral:
423
- Enabled: false
424
- Style/RescueModifier:
425
- Enabled: false
426
- Style/Semicolon:
427
- Enabled: false
428
- Style/Send:
429
- Enabled: false
430
- Style/SignalException:
431
- Enabled: false
432
- Style/SingleLineBlockParams:
433
- Enabled: false
434
- Style/SingleLineMethods:
435
- Enabled: false
436
- Style/SpecialGlobalVars:
437
- Enabled: false
438
- Style/StabbyLambdaParentheses:
439
- Enabled: false
440
- Style/StringLiterals:
441
- Enabled: false
442
- Style/StringLiteralsInInterpolation:
443
- Enabled: false
444
- Style/StringMethods:
445
- Enabled: false
446
- Style/StructInheritance:
447
- Enabled: false
448
- Style/SymbolArray:
449
- Enabled: false
450
- Style/SymbolLiteral:
451
- Enabled: false
452
- Style/SymbolProc:
453
- Enabled: false
454
- Style/TernaryParentheses:
455
- Enabled: false
456
- Style/TrailingCommaInArguments:
457
- Enabled: false
458
- Style/TrailingCommaInArrayLiteral:
459
- Enabled: false
460
- Style/TrailingCommaInHashLiteral:
461
- Enabled: false
462
- Style/TrailingUnderscoreVariable:
463
- Enabled: false
464
- Style/TrivialAccessors:
465
- Enabled: false
466
- Style/UnlessElse:
467
- Enabled: false
468
- Style/UnneededInterpolation:
469
- Enabled: false
470
- Style/UnneededPercentQ:
471
- Enabled: false
472
- Style/WhenThen:
473
- Enabled: false
474
- Style/WhileUntilDo:
475
- Enabled: false
476
- Style/WhileUntilModifier:
477
- Enabled: false
478
- Style/WordArray:
479
- Enabled: false
480
- Style/YodaCondition:
481
- Enabled: false
482
- Style/ZeroLengthPredicate:
483
- Enabled: false
484
- Style/AccessModifierDeclarations:
252
+ Style:
485
253
  Enabled: false
486
254
 
487
255
  Gemspec/OrderedDependencies:
@@ -1,3 +1,3 @@
1
1
  module Meowcop
2
- VERSION = "2.2.0".freeze
2
+ VERSION = "2.3.0".freeze
3
3
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency 'rubocop', '>= 0.73.0'
29
29
 
30
30
  spec.add_development_dependency "bundler", ">= 1.12", "< 3.0"
31
- spec.add_development_dependency "rake", "~> 12.3"
31
+ spec.add_development_dependency "rake", "~> 13.0"
32
32
  spec.add_development_dependency "minitest", ">= 5.11.3"
33
33
  spec.add_development_dependency "minitest-reporters", ">= 1.3.8"
34
34
  end
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.2.0
4
+ version: 2.3.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-08-30 00:00:00.000000000 Z
12
+ date: 2019-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.3'
54
+ version: '13.0'
55
55
  type: :development
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '12.3'
61
+ version: '13.0'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: minitest
64
64
  requirement: !ruby/object:Gem::Requirement