aroundhome_cops 5.1.0 → 6.0.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: b45c59ee0af534f7d9178626c6fd8c33756d414be9a9e5e12f04d92bc51bbf97
4
- data.tar.gz: 9745fcb5d5f1d0501aaca110ff4e8bcb41a64fc944e7b4216d93158a73524e2e
3
+ metadata.gz: a35fcd55f78d6a4fb19bc2a788ea4823866b8367b3b8223ae5d84390d27e6911
4
+ data.tar.gz: bc4712d7e3da71cdf98a2d3e83f25129756cb41beec1c63dace41229247aa8ce
5
5
  SHA512:
6
- metadata.gz: 2c7ea1ed5ca3543e9e0ce2001e6f920c31a3f41a7ec2d18f1fbcbb55d964790041527b3c842edca2e09f63d32658694ef34f042f8244188ee3f3e49255929926
7
- data.tar.gz: 11147059a588b84bc6d1c4cd0d3d76fb95b97185acf6d4d4bc901077099580d4c03a6ef6ca33fa3df1c580a7bdad3cc5fd500ac3b9e5ddac6de21c31eb56837a
6
+ metadata.gz: db604599b4b66e0481ecabb06debc543df1000feb641903b5d8f7b98bb9d403048dcecc023e41f1f9a61cb54db0aef9c569e4766ec994c3ac32721685dd6d800
7
+ data.tar.gz: dc707c3c258a163f0ece5b506089c4992e3ea941ee0074b3b5628f3054b571867de47119bfabdaefe2f1a2829a65eb07f031db3778f80c307504ad2f0273dc6b
data/.gitlab-ci.yml CHANGED
@@ -20,13 +20,6 @@ rubocop:
20
20
  publish_gem:
21
21
  stage: publish
22
22
  script:
23
- - mkdir ~/.gem
24
- - |
25
- cat << EOF > ~/.gem/credentials
26
- ---
27
- :rubygems_api_key: ${RUBYGEMS_API_KEY}
28
- EOF
29
- - chmod 0600 ~/.gem/credentials
30
23
  - gem build aroundhome_cops.gemspec
31
24
  - gem push $(find `pwd` -name "aroundhome_cops-*.gem")
32
25
  only:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.9
1
+ 3.3.0
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- ## Version 5.10
1
+ ## Version 6.0.0
2
+
3
+ * Update underlying rubocop to at least 1.63
4
+ * Opt into all Rubocop offenses up until 1.63
5
+ * **Breaking**: Effectively dropping runtime support for Ruby 2.6 and below
6
+ * Adds support for Ruby 3.3
7
+
8
+ ## Version 5.1.0
2
9
 
3
10
  * Disable `Rake/Desc` cop
4
11
 
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  .reject { |f| f.match(%r{^spec/}) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.required_ruby_version = '>= 2.6.0'
21
+ spec.required_ruby_version = '>= 2.7.0'
22
22
 
23
- spec.add_dependency 'rubocop', '~> 1.35'
23
+ spec.add_dependency 'rubocop', '~> 1.63'
24
24
  spec.add_dependency 'rubocop-rake', '~> 0.6'
25
- spec.add_dependency 'rubocop-rspec', '~> 2.5'
25
+ spec.add_dependency 'rubocop-rspec', '~> 2.29'
26
26
  end
data/default.yml CHANGED
@@ -333,6 +333,78 @@ Style/OpenStructUse: # new in 1.23
333
333
  Enabled: true
334
334
  Style/RedundantInitialize: # new in 1.27
335
335
  Enabled: true
336
+ Gemspec/DevelopmentDependencies: # new in 1.44
337
+ Enabled: true
338
+ Lint/DuplicateMagicComment: # new in 1.37
339
+ Enabled: true
340
+ Lint/DuplicateMatchPattern: # new in 1.50
341
+ Enabled: true
342
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
343
+ Enabled: true
344
+ Lint/LiteralAssignmentInCondition: # new in 1.58
345
+ Enabled: true
346
+ Lint/MixedCaseRange: # new in 1.53
347
+ Enabled: true
348
+ Lint/RedundantRegexpQuantifiers: # new in 1.53
349
+ Enabled: true
350
+ Lint/UselessRescue: # new in 1.43
351
+ Enabled: true
352
+ Metrics/CollectionLiteralLength: # new in 1.47
353
+ Enabled: true
354
+ Naming/BlockForwarding: # new in 1.24
355
+ Enabled: true
356
+ Style/ArrayIntersect: # new in 1.40
357
+ Enabled: true
358
+ Style/ComparableClamp: # new in 1.44
359
+ Enabled: true
360
+ Style/ConcatArrayLiterals: # new in 1.41
361
+ Enabled: true
362
+ Style/DataInheritance: # new in 1.49
363
+ Enabled: true
364
+ Style/DirEmpty: # new in 1.48
365
+ Enabled: true
366
+ Style/ExactRegexpMatch: # new in 1.51
367
+ Enabled: true
368
+ Style/FileEmpty: # new in 1.48
369
+ Enabled: true
370
+ Style/MapIntoArray: # new in 1.63
371
+ Enabled: true
372
+ Style/MapToSet: # new in 1.42
373
+ Enabled: true
374
+ Style/MinMaxComparison: # new in 1.42
375
+ Enabled: true
376
+ Style/OperatorMethodCall: # new in 1.37
377
+ Enabled: true
378
+ Style/RedundantArrayConstructor: # new in 1.52
379
+ Enabled: true
380
+ Style/RedundantConstantBase: # new in 1.40
381
+ Enabled: true
382
+ Style/RedundantCurrentDirectoryInPath: # new in 1.53
383
+ Enabled: true
384
+ Style/RedundantDoubleSplatHashBraces: # new in 1.41
385
+ Enabled: true
386
+ Style/RedundantEach: # new in 1.38
387
+ Enabled: true
388
+ Style/RedundantFilterChain: # new in 1.52
389
+ Enabled: true
390
+ Style/RedundantHeredocDelimiterQuotes: # new in 1.45
391
+ Enabled: true
392
+ Style/RedundantLineContinuation: # new in 1.49
393
+ Enabled: true
394
+ Style/RedundantRegexpArgument: # new in 1.53
395
+ Enabled: true
396
+ Style/RedundantRegexpConstructor: # new in 1.52
397
+ Enabled: true
398
+ Style/RedundantStringEscape: # new in 1.37
399
+ Enabled: true
400
+ Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
401
+ Enabled: true
402
+ Style/SingleLineDoEndBlock: # new in 1.57
403
+ Enabled: true
404
+ Style/SuperWithArgsParentheses: # new in 1.58
405
+ Enabled: true
406
+ Style/YAMLFileRead: # new in 1.53
407
+ Enabled: true
336
408
 
337
409
  # ----------------- Rubocop-Rspec forced enablements --------------
338
410
  RSpec/ExcessiveDocstringSpacing: # (new in 2.5)
@@ -357,4 +429,85 @@ RSpec/FactoryBot/SyntaxMethods: # new in 2.7
357
429
  Enabled: true
358
430
  RSpec/Rails/HaveHttpStatus: # new in 2.12
359
431
  Enabled: true
360
-
432
+ RSpec/RedundantPredicateMatcher: # new in 2.26
433
+ Enabled: true
434
+ RSpec/RemoveConst: # new in 2.26
435
+ Enabled: true
436
+ RSpec/RepeatedSubjectCall: # new in 2.27
437
+ Enabled: true
438
+ RSpec/SkipBlockInsideExample: # new in 2.19
439
+ Enabled: true
440
+ RSpec/SortMetadata: # new in 2.14
441
+ Enabled: true
442
+ RSpec/SpecFilePathFormat: # new in 2.24
443
+ Enabled: true
444
+ RSpec/SpecFilePathSuffix: # new in 2.24
445
+ Enabled: true
446
+ RSpec/UndescriptiveLiteralsDescription: # new in 2.29
447
+ Enabled: true
448
+ RSpec/BeEmpty: # new in 2.20
449
+ Enabled: true
450
+ RSpec/ContainExactly: # new in 2.19
451
+ Enabled: true
452
+ RSpec/DuplicatedMetadata: # new in 2.16
453
+ Enabled: true
454
+ RSpec/EmptyMetadata: # new in 2.24
455
+ Enabled: true
456
+ RSpec/EmptyOutput: # new in 2.29
457
+ Enabled: true
458
+ RSpec/Eq: # new in 2.24
459
+ Enabled: true
460
+ RSpec/IndexedLet: # new in 2.20
461
+ Enabled: true
462
+ RSpec/IsExpectedSpecify: # new in 2.27
463
+ Enabled: true
464
+ RSpec/MatchArray: # new in 2.19
465
+ Enabled: true
466
+ RSpec/MetadataStyle: # new in 2.24
467
+ Enabled: true
468
+ RSpec/NoExpectationExample: # new in 2.13
469
+ Enabled: true
470
+ RSpec/PendingWithoutReason: # new in 2.16
471
+ Enabled: true
472
+ RSpec/ReceiveMessages: # new in 2.23
473
+ Enabled: true
474
+ RSpec/RedundantAround: # new in 2.19
475
+ Enabled: true
476
+ Capybara/ClickLinkOrButtonStyle: # new in 2.19
477
+ Enabled: true
478
+ Capybara/MatchStyle: # new in 2.17
479
+ Enabled: true
480
+ Capybara/NegationMatcher: # new in 2.14
481
+ Enabled: true
482
+ Capybara/RedundantWithinFind: # new in 2.20
483
+ Enabled: true
484
+ Capybara/SpecificActions: # new in 2.14
485
+ Enabled: true
486
+ Capybara/SpecificFinders: # new in 2.13
487
+ Enabled: true
488
+ Capybara/RSpec/HaveSelector: # new in 2.19
489
+ Enabled: true
490
+ Capybara/RSpec/PredicateMatcher: # new in 2.19
491
+ Enabled: true
492
+ FactoryBot/AssociationStyle: # new in 2.23
493
+ Enabled: true
494
+ FactoryBot/ConsistentParenthesesStyle: # new in 2.14
495
+ Enabled: true
496
+ FactoryBot/ExcessiveCreateList: # new in 2.25
497
+ Enabled: true
498
+ FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
499
+ Enabled: true
500
+ FactoryBot/FactoryNameStyle: # new in 2.16
501
+ Enabled: true
502
+ FactoryBot/IdSequence: # new in 2.24
503
+ Enabled: true
504
+ FactoryBot/RedundantFactoryOption: # new in 2.23
505
+ Enabled: true
506
+ RSpecRails/InferredSpecType: # new in 2.14
507
+ Enabled: true
508
+ RSpecRails/MinitestAssertions: # new in 2.17
509
+ Enabled: true
510
+ RSpecRails/NegationBeValid: # new in 2.23
511
+ Enabled: true
512
+ RSpecRails/TravelAround: # new in 2.19
513
+ Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AroundhomeCops
4
- VERSION = '5.1.0'
4
+ VERSION = '6.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aroundhome_cops
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Sandbrink
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.35'
19
+ version: '1.63'
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: '1.35'
26
+ version: '1.63'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.5'
47
+ version: '2.29'
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: '2.5'
54
+ version: '2.29'
55
55
  description:
56
56
  email:
57
57
  - jan.sandbrink@aroundhome.de
@@ -80,14 +80,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 2.6.0
83
+ version: 2.7.0
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.4.10
90
+ rubygems_version: 3.5.3
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Dependency and configuration for rubocop.