aroundhome_cops 5.1.0 → 6.0.1

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: 517552a00778127bcd6d59387e3bf7b37b9aaf5ebef291b955548413ceba9b6e
4
+ data.tar.gz: 83531d7101e998e0d121f985dc36d224a145f1bb25742b844811aa856515cacf
5
5
  SHA512:
6
- metadata.gz: 2c7ea1ed5ca3543e9e0ce2001e6f920c31a3f41a7ec2d18f1fbcbb55d964790041527b3c842edca2e09f63d32658694ef34f042f8244188ee3f3e49255929926
7
- data.tar.gz: 11147059a588b84bc6d1c4cd0d3d76fb95b97185acf6d4d4bc901077099580d4c03a6ef6ca33fa3df1c580a7bdad3cc5fd500ac3b9e5ddac6de21c31eb56837a
6
+ metadata.gz: 78161b654b59f80b7c96ee975910ba7ecb9aba9037035cf9486e721e21195dba76fb1397987185108920957e2b060a4735d35ab84c6cb83e79e279160b96e65d
7
+ data.tar.gz: 7462aa9cdb696eafd1bb4b1fa2f7637bf872d37062694c21c21dd19073b2e819a37f44e807de38d61086c5f8d9c4aa301cb361205b45bb72b49975b56108a68a
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,15 @@
1
- ## Version 5.10
1
+ ## Version 6.0.1
2
+
3
+ * Fix deprecation warnings and multiple defined default cops
4
+
5
+ ## Version 6.0.0
6
+
7
+ * Update underlying rubocop to at least 1.63
8
+ * Opt into all Rubocop offenses up until 1.63
9
+ * **Breaking**: Effectively dropping runtime support for Ruby 2.6 and below
10
+ * Adds support for Ruby 3.3
11
+
12
+ ## Version 5.1.0
2
13
 
3
14
  * Disable `Rake/Desc` cop
4
15
 
@@ -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
@@ -134,6 +134,7 @@ Metrics/ParameterLists:
134
134
  # People coming from other languages or our junior colleagues will find a single & confusing.
135
135
  # Omitting the parameter name is neither more readable or helpful, therefore we prefer to use &block syntax.
136
136
  Naming/BlockForwarding:
137
+ Enabled: true
137
138
  EnforcedStyle: explicit
138
139
 
139
140
  # Adding "and" prefix to list of allowed prefixes to allow for nested contexts
@@ -333,13 +334,83 @@ Style/OpenStructUse: # new in 1.23
333
334
  Enabled: true
334
335
  Style/RedundantInitialize: # new in 1.27
335
336
  Enabled: true
337
+ Gemspec/DevelopmentDependencies: # new in 1.44
338
+ Enabled: true
339
+ Lint/DuplicateMagicComment: # new in 1.37
340
+ Enabled: true
341
+ Lint/DuplicateMatchPattern: # new in 1.50
342
+ Enabled: true
343
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
344
+ Enabled: true
345
+ Lint/LiteralAssignmentInCondition: # new in 1.58
346
+ Enabled: true
347
+ Lint/MixedCaseRange: # new in 1.53
348
+ Enabled: true
349
+ Lint/RedundantRegexpQuantifiers: # new in 1.53
350
+ Enabled: true
351
+ Lint/UselessRescue: # new in 1.43
352
+ Enabled: true
353
+ Metrics/CollectionLiteralLength: # new in 1.47
354
+ Enabled: true
355
+ Style/ArrayIntersect: # new in 1.40
356
+ Enabled: true
357
+ Style/ComparableClamp: # new in 1.44
358
+ Enabled: true
359
+ Style/ConcatArrayLiterals: # new in 1.41
360
+ Enabled: true
361
+ Style/DataInheritance: # new in 1.49
362
+ Enabled: true
363
+ Style/DirEmpty: # new in 1.48
364
+ Enabled: true
365
+ Style/ExactRegexpMatch: # new in 1.51
366
+ Enabled: true
367
+ Style/FileEmpty: # new in 1.48
368
+ Enabled: true
369
+ Style/MapIntoArray: # new in 1.63
370
+ Enabled: true
371
+ Style/MapToSet: # new in 1.42
372
+ Enabled: true
373
+ Style/MinMaxComparison: # new in 1.42
374
+ Enabled: true
375
+ Style/OperatorMethodCall: # new in 1.37
376
+ Enabled: true
377
+ Style/RedundantArrayConstructor: # new in 1.52
378
+ Enabled: true
379
+ Style/RedundantConstantBase: # new in 1.40
380
+ Enabled: true
381
+ Style/RedundantCurrentDirectoryInPath: # new in 1.53
382
+ Enabled: true
383
+ Style/RedundantDoubleSplatHashBraces: # new in 1.41
384
+ Enabled: true
385
+ Style/RedundantEach: # new in 1.38
386
+ Enabled: true
387
+ Style/RedundantFilterChain: # new in 1.52
388
+ Enabled: true
389
+ Style/RedundantHeredocDelimiterQuotes: # new in 1.45
390
+ Enabled: true
391
+ Style/RedundantLineContinuation: # new in 1.49
392
+ Enabled: true
393
+ Style/RedundantRegexpArgument: # new in 1.53
394
+ Enabled: true
395
+ Style/RedundantRegexpConstructor: # new in 1.52
396
+ Enabled: true
397
+ Style/RedundantStringEscape: # new in 1.37
398
+ Enabled: true
399
+ Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
400
+ Enabled: true
401
+ Style/SingleLineDoEndBlock: # new in 1.57
402
+ Enabled: true
403
+ Style/SuperWithArgsParentheses: # new in 1.58
404
+ Enabled: true
405
+ Style/YAMLFileRead: # new in 1.53
406
+ Enabled: true
336
407
 
337
408
  # ----------------- Rubocop-Rspec forced enablements --------------
338
409
  RSpec/ExcessiveDocstringSpacing: # (new in 2.5)
339
410
  Enabled: true
340
411
  RSpec/IdenticalEqualityAssertion: # (new in 2.4)
341
412
  Enabled: true
342
- RSpec/Rails/AvoidSetupHook: # (new in 2.4)
413
+ RSpecRails/AvoidSetupHook: # (new in 2.4)
343
414
  Enabled: true
344
415
  RSpec/SubjectDeclaration: # (new in 2.5)
345
416
  Enabled: true
@@ -351,10 +422,91 @@ RSpec/ChangeByZero: # new in 2.11.0
351
422
  Enabled: true
352
423
  RSpec/VerifiedDoubleReference: # new in 2.10.0
353
424
  Enabled: true
354
- RSpec/Capybara/SpecificMatcher: # new in 2.12
425
+ Capybara/SpecificMatcher: # new in 2.12
355
426
  Enabled: true
356
- RSpec/FactoryBot/SyntaxMethods: # new in 2.7
427
+ FactoryBot/SyntaxMethods: # new in 2.7
357
428
  Enabled: true
358
- RSpec/Rails/HaveHttpStatus: # new in 2.12
429
+ RSpecRails/HaveHttpStatus: # new in 2.12
430
+ Enabled: true
431
+ RSpec/RedundantPredicateMatcher: # new in 2.26
432
+ Enabled: true
433
+ RSpec/RemoveConst: # new in 2.26
434
+ Enabled: true
435
+ RSpec/RepeatedSubjectCall: # new in 2.27
436
+ Enabled: true
437
+ RSpec/SkipBlockInsideExample: # new in 2.19
438
+ Enabled: true
439
+ RSpec/SortMetadata: # new in 2.14
440
+ Enabled: true
441
+ RSpec/SpecFilePathFormat: # new in 2.24
442
+ Enabled: true
443
+ RSpec/SpecFilePathSuffix: # new in 2.24
444
+ Enabled: true
445
+ RSpec/UndescriptiveLiteralsDescription: # new in 2.29
446
+ Enabled: true
447
+ RSpec/BeEmpty: # new in 2.20
448
+ Enabled: true
449
+ RSpec/ContainExactly: # new in 2.19
450
+ Enabled: true
451
+ RSpec/DuplicatedMetadata: # new in 2.16
452
+ Enabled: true
453
+ RSpec/EmptyMetadata: # new in 2.24
454
+ Enabled: true
455
+ RSpec/EmptyOutput: # new in 2.29
456
+ Enabled: true
457
+ RSpec/Eq: # new in 2.24
458
+ Enabled: true
459
+ RSpec/IndexedLet: # new in 2.20
460
+ Enabled: true
461
+ RSpec/IsExpectedSpecify: # new in 2.27
462
+ Enabled: true
463
+ RSpec/MatchArray: # new in 2.19
464
+ Enabled: true
465
+ RSpec/MetadataStyle: # new in 2.24
466
+ Enabled: true
467
+ RSpec/NoExpectationExample: # new in 2.13
468
+ Enabled: true
469
+ RSpec/PendingWithoutReason: # new in 2.16
470
+ Enabled: true
471
+ RSpec/ReceiveMessages: # new in 2.23
472
+ Enabled: true
473
+ RSpec/RedundantAround: # new in 2.19
474
+ Enabled: true
475
+ Capybara/ClickLinkOrButtonStyle: # new in 2.19
476
+ Enabled: true
477
+ Capybara/MatchStyle: # new in 2.17
478
+ Enabled: true
479
+ Capybara/NegationMatcher: # new in 2.14
480
+ Enabled: true
481
+ Capybara/RedundantWithinFind: # new in 2.20
482
+ Enabled: true
483
+ Capybara/SpecificActions: # new in 2.14
484
+ Enabled: true
485
+ Capybara/SpecificFinders: # new in 2.13
486
+ Enabled: true
487
+ Capybara/RSpec/HaveSelector: # new in 2.19
488
+ Enabled: true
489
+ Capybara/RSpec/PredicateMatcher: # new in 2.19
490
+ Enabled: true
491
+ FactoryBot/AssociationStyle: # new in 2.23
492
+ Enabled: true
493
+ FactoryBot/ConsistentParenthesesStyle: # new in 2.14
494
+ Enabled: true
495
+ FactoryBot/ExcessiveCreateList: # new in 2.25
496
+ Enabled: true
497
+ FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
498
+ Enabled: true
499
+ FactoryBot/FactoryNameStyle: # new in 2.16
500
+ Enabled: true
501
+ FactoryBot/IdSequence: # new in 2.24
502
+ Enabled: true
503
+ FactoryBot/RedundantFactoryOption: # new in 2.23
504
+ Enabled: true
505
+ RSpecRails/InferredSpecType: # new in 2.14
506
+ Enabled: true
507
+ RSpecRails/MinitestAssertions: # new in 2.17
508
+ Enabled: true
509
+ RSpecRails/NegationBeValid: # new in 2.23
510
+ Enabled: true
511
+ RSpecRails/TravelAround: # new in 2.19
359
512
  Enabled: true
360
-
@@ -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.1'
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.1
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.