aroundhome_cops 7.0.0 → 8.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e945f7b9bf460da0613d77d0f5a216bb846915fe638bf76e9e1645fa76b4a6b6
4
- data.tar.gz: c97a61b1641b38fd7b8de97c9a87ddf3bb95944eb94c7ae4912e675688cb5171
3
+ metadata.gz: 8f1a79e9099e345f95e7974a42a1102e5a71f9d0442056a7f44c68de06813f89
4
+ data.tar.gz: ccea1540c4c3be200ed7f144e2f99787e855dcd04e8fc1026d55639f768e5200
5
5
  SHA512:
6
- metadata.gz: 89cd014f0e01d75a1387ace3b87b37f1ddc85becf64805249311d470aedcf767f83ec2e8fa064f660a91a57ee24145f2ff44ed67c8621ef7241b584838b51b55
7
- data.tar.gz: 59b752ad8bdc0ad91c251316984378bb3c635d0c1996093e91b1e8569e4855b9c75f88821663b7183d4eaf3fdabc4e735de9f88885ff84123b8bda7e0608e5a7
6
+ metadata.gz: 39150e42c0f101df7b86b3363b702b32fe6b5ecc206053c5df0b8f653d8cd933b4c46c1c3486dd6b03a1f687993e36313fe27d2c0c35b3188ff69ad8c0a9c3d7
7
+ data.tar.gz: e84873558882c9773c3b6fd70afe2b22aa3401f5bf81ddfd1277552483fe0e951c41671b23272cf6d7ae61ece1414f2d7d9af34cd10e4e08034d10279a58849e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Version 8.0.0 (2025-04-01)
2
+
3
+ * Upgrade `rubocop-rspec` to `3.5.x`
4
+ * We removed `Capypara` cop
5
+ * Removed all `RSpecRails` cops
6
+ * Migrated from `required` to `plugins`
7
+ * This Major release is not an April fools joke
8
+
9
+ ## Version 7.0.1 (2025-03-31)
10
+
11
+ * Fix incompatibility with more recent versions of rubocop-rspec
12
+
1
13
  ## Version 7.0.0 (2024-06-14)
2
14
 
3
15
  * No longer suggest rubocop-factory_bot
@@ -20,8 +20,9 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.required_ruby_version = '>= 2.7.0'
22
22
 
23
- spec.add_dependency 'rubocop', '~> 1.64'
23
+ spec.add_dependency 'rubocop', '~> 1.72'
24
+ spec.add_dependency 'rubocop-factory_bot', '~> 2.27'
24
25
  spec.add_dependency 'rubocop-performance', '~> 1.21'
25
26
  spec.add_dependency 'rubocop-rake', '~> 0.6'
26
- spec.add_dependency 'rubocop-rspec', '~> 2.30'
27
+ spec.add_dependency 'rubocop-rspec', '~> 3.5'
27
28
  end
data/default.yml CHANGED
@@ -1,7 +1,8 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
  - rubocop-rake
5
+ - rubocop-factory_bot
5
6
 
6
7
  AllCops:
7
8
  Exclude:
@@ -412,8 +413,6 @@ RSpec/ExcessiveDocstringSpacing: # (new in 2.5)
412
413
  Enabled: true
413
414
  RSpec/IdenticalEqualityAssertion: # (new in 2.4)
414
415
  Enabled: true
415
- RSpecRails/AvoidSetupHook: # (new in 2.4)
416
- Enabled: true
417
416
  RSpec/SubjectDeclaration: # (new in 2.5)
418
417
  Enabled: true
419
418
  RSpec/BeEq: # new in 2.9.0
@@ -424,12 +423,6 @@ RSpec/ChangeByZero: # new in 2.11.0
424
423
  Enabled: true
425
424
  RSpec/VerifiedDoubleReference: # new in 2.10.0
426
425
  Enabled: true
427
- Capybara/SpecificMatcher: # new in 2.12
428
- Enabled: true
429
- FactoryBot/SyntaxMethods: # new in 2.7
430
- Enabled: true
431
- RSpecRails/HaveHttpStatus: # new in 2.12
432
- Enabled: true
433
426
  RSpec/RedundantPredicateMatcher: # new in 2.26
434
427
  Enabled: true
435
428
  RSpec/RemoveConst: # new in 2.26
@@ -474,44 +467,6 @@ RSpec/ReceiveMessages: # new in 2.23
474
467
  Enabled: true
475
468
  RSpec/RedundantAround: # new in 2.19
476
469
  Enabled: true
477
- Capybara/ClickLinkOrButtonStyle: # new in 2.19
478
- Enabled: true
479
- Capybara/MatchStyle: # new in 2.17
480
- Enabled: true
481
- Capybara/NegationMatcher: # new in 2.14
482
- Enabled: true
483
- Capybara/RedundantWithinFind: # new in 2.20
484
- Enabled: true
485
- Capybara/SpecificActions: # new in 2.14
486
- Enabled: true
487
- Capybara/SpecificFinders: # new in 2.13
488
- Enabled: true
489
- Capybara/RSpec/HaveSelector: # new in 2.19
490
- Enabled: true
491
- Capybara/RSpec/PredicateMatcher: # new in 2.19
492
- Enabled: true
493
- FactoryBot/AssociationStyle: # new in 2.23
494
- Enabled: true
495
- FactoryBot/ConsistentParenthesesStyle: # new in 2.14
496
- Enabled: true
497
- FactoryBot/ExcessiveCreateList: # new in 2.25
498
- Enabled: true
499
- FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
500
- Enabled: true
501
- FactoryBot/FactoryNameStyle: # new in 2.16
502
- Enabled: true
503
- FactoryBot/IdSequence: # new in 2.24
504
- Enabled: true
505
- FactoryBot/RedundantFactoryOption: # new in 2.23
506
- Enabled: true
507
- RSpecRails/InferredSpecType: # new in 2.14
508
- Enabled: true
509
- RSpecRails/MinitestAssertions: # new in 2.17
510
- Enabled: true
511
- RSpecRails/NegationBeValid: # new in 2.23
512
- Enabled: true
513
- RSpecRails/TravelAround: # new in 2.19
514
- Enabled: true
515
470
  RSpec/ExpectInLet: # new in 2.30
516
471
  Enabled: true
517
472
 
@@ -554,3 +509,21 @@ Performance/StringInclude: # new in 1.7
554
509
  Enabled: true
555
510
  Performance/Sum: # new in 1.8
556
511
  Enabled: true
512
+
513
+ # ----------------- FactoryBot forced enablements --------------
514
+ FactoryBot/SyntaxMethods: # new in 2.7
515
+ Enabled: true
516
+ FactoryBot/AssociationStyle: # new in 2.23
517
+ Enabled: true
518
+ FactoryBot/ConsistentParenthesesStyle: # new in 2.14
519
+ Enabled: true
520
+ FactoryBot/ExcessiveCreateList: # new in 2.25
521
+ Enabled: true
522
+ FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
523
+ Enabled: true
524
+ FactoryBot/FactoryNameStyle: # new in 2.16
525
+ Enabled: true
526
+ FactoryBot/IdSequence: # new in 2.24
527
+ Enabled: true
528
+ FactoryBot/RedundantFactoryOption: # new in 2.23
529
+ Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AroundhomeCops
4
- VERSION = '7.0.0'
4
+ VERSION = '8.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aroundhome_cops
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Sandbrink
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rubocop
@@ -16,14 +15,28 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: '1.64'
18
+ version: '1.72'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: '1.64'
25
+ version: '1.72'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rubocop-factory_bot
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.27'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.27'
27
40
  - !ruby/object:Gem::Dependency
28
41
  name: rubocop-performance
29
42
  requirement: !ruby/object:Gem::Requirement
@@ -58,15 +71,14 @@ dependencies:
58
71
  requirements:
59
72
  - - "~>"
60
73
  - !ruby/object:Gem::Version
61
- version: '2.30'
74
+ version: '3.5'
62
75
  type: :runtime
63
76
  prerelease: false
64
77
  version_requirements: !ruby/object:Gem::Requirement
65
78
  requirements:
66
79
  - - "~>"
67
80
  - !ruby/object:Gem::Version
68
- version: '2.30'
69
- description:
81
+ version: '3.5'
70
82
  email:
71
83
  - jan.sandbrink@aroundhome.de
72
84
  executables: []
@@ -86,7 +98,6 @@ files:
86
98
  homepage: https://github.com/aroundhome/aroundhome_cops
87
99
  licenses: []
88
100
  metadata: {}
89
- post_install_message:
90
101
  rdoc_options: []
91
102
  require_paths:
92
103
  - lib
@@ -101,8 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
112
  - !ruby/object:Gem::Version
102
113
  version: '0'
103
114
  requirements: []
104
- rubygems_version: 3.5.11
105
- signing_key:
115
+ rubygems_version: 3.6.7
106
116
  specification_version: 4
107
117
  summary: Dependency and configuration for rubocop.
108
118
  test_files: []