aroundhome_cops 7.0.1 → 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 +4 -4
- data/CHANGELOG.md +8 -0
- data/aroundhome_cops.gemspec +3 -2
- data/default.yml +20 -49
- data/lib/aroundhome_cops.rb +1 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f1a79e9099e345f95e7974a42a1102e5a71f9d0442056a7f44c68de06813f89
|
4
|
+
data.tar.gz: ccea1540c4c3be200ed7f144e2f99787e855dcd04e8fc1026d55639f768e5200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39150e42c0f101df7b86b3363b702b32fe6b5ecc206053c5df0b8f653d8cd933b4c46c1c3486dd6b03a1f687993e36313fe27d2c0c35b3188ff69ad8c0a9c3d7
|
7
|
+
data.tar.gz: e84873558882c9773c3b6fd70afe2b22aa3401f5bf81ddfd1277552483fe0e951c41671b23272cf6d7ae61ece1414f2d7d9af34cd10e4e08034d10279a58849e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
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
|
+
|
1
9
|
## Version 7.0.1 (2025-03-31)
|
2
10
|
|
3
11
|
* Fix incompatibility with more recent versions of rubocop-rspec
|
data/aroundhome_cops.gemspec
CHANGED
@@ -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.
|
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', '~>
|
27
|
+
spec.add_dependency 'rubocop-rspec', '~> 3.5'
|
27
28
|
end
|
data/default.yml
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
|
-
- rubocop-capybara
|
3
|
-
- rubocop-factory_bot
|
1
|
+
plugins:
|
4
2
|
- rubocop-performance
|
5
3
|
- rubocop-rspec
|
6
4
|
- rubocop-rake
|
5
|
+
- rubocop-factory_bot
|
7
6
|
|
8
7
|
AllCops:
|
9
8
|
Exclude:
|
@@ -414,8 +413,6 @@ RSpec/ExcessiveDocstringSpacing: # (new in 2.5)
|
|
414
413
|
Enabled: true
|
415
414
|
RSpec/IdenticalEqualityAssertion: # (new in 2.4)
|
416
415
|
Enabled: true
|
417
|
-
RSpecRails/AvoidSetupHook: # (new in 2.4)
|
418
|
-
Enabled: true
|
419
416
|
RSpec/SubjectDeclaration: # (new in 2.5)
|
420
417
|
Enabled: true
|
421
418
|
RSpec/BeEq: # new in 2.9.0
|
@@ -426,12 +423,6 @@ RSpec/ChangeByZero: # new in 2.11.0
|
|
426
423
|
Enabled: true
|
427
424
|
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
428
425
|
Enabled: true
|
429
|
-
Capybara/SpecificMatcher: # new in 2.12
|
430
|
-
Enabled: true
|
431
|
-
FactoryBot/SyntaxMethods: # new in 2.7
|
432
|
-
Enabled: true
|
433
|
-
RSpecRails/HaveHttpStatus: # new in 2.12
|
434
|
-
Enabled: true
|
435
426
|
RSpec/RedundantPredicateMatcher: # new in 2.26
|
436
427
|
Enabled: true
|
437
428
|
RSpec/RemoveConst: # new in 2.26
|
@@ -476,44 +467,6 @@ RSpec/ReceiveMessages: # new in 2.23
|
|
476
467
|
Enabled: true
|
477
468
|
RSpec/RedundantAround: # new in 2.19
|
478
469
|
Enabled: true
|
479
|
-
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
480
|
-
Enabled: true
|
481
|
-
Capybara/MatchStyle: # new in 2.17
|
482
|
-
Enabled: true
|
483
|
-
Capybara/NegationMatcher: # new in 2.14
|
484
|
-
Enabled: true
|
485
|
-
Capybara/RedundantWithinFind: # new in 2.20
|
486
|
-
Enabled: true
|
487
|
-
Capybara/SpecificActions: # new in 2.14
|
488
|
-
Enabled: true
|
489
|
-
Capybara/SpecificFinders: # new in 2.13
|
490
|
-
Enabled: true
|
491
|
-
Capybara/RSpec/HaveSelector: # new in 2.19
|
492
|
-
Enabled: true
|
493
|
-
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
494
|
-
Enabled: true
|
495
|
-
FactoryBot/AssociationStyle: # new in 2.23
|
496
|
-
Enabled: true
|
497
|
-
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
498
|
-
Enabled: true
|
499
|
-
FactoryBot/ExcessiveCreateList: # new in 2.25
|
500
|
-
Enabled: true
|
501
|
-
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
502
|
-
Enabled: true
|
503
|
-
FactoryBot/FactoryNameStyle: # new in 2.16
|
504
|
-
Enabled: true
|
505
|
-
FactoryBot/IdSequence: # new in 2.24
|
506
|
-
Enabled: true
|
507
|
-
FactoryBot/RedundantFactoryOption: # new in 2.23
|
508
|
-
Enabled: true
|
509
|
-
RSpecRails/InferredSpecType: # new in 2.14
|
510
|
-
Enabled: true
|
511
|
-
RSpecRails/MinitestAssertions: # new in 2.17
|
512
|
-
Enabled: true
|
513
|
-
RSpecRails/NegationBeValid: # new in 2.23
|
514
|
-
Enabled: true
|
515
|
-
RSpecRails/TravelAround: # new in 2.19
|
516
|
-
Enabled: true
|
517
470
|
RSpec/ExpectInLet: # new in 2.30
|
518
471
|
Enabled: true
|
519
472
|
|
@@ -556,3 +509,21 @@ Performance/StringInclude: # new in 1.7
|
|
556
509
|
Enabled: true
|
557
510
|
Performance/Sum: # new in 1.8
|
558
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
|
data/lib/aroundhome_cops.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aroundhome_cops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Sandbrink
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rubocop
|
@@ -15,14 +15,28 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '1.
|
18
|
+
version: '1.72'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '1.
|
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'
|
26
40
|
- !ruby/object:Gem::Dependency
|
27
41
|
name: rubocop-performance
|
28
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,14 +71,14 @@ dependencies:
|
|
57
71
|
requirements:
|
58
72
|
- - "~>"
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
74
|
+
version: '3.5'
|
61
75
|
type: :runtime
|
62
76
|
prerelease: false
|
63
77
|
version_requirements: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
79
|
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
81
|
+
version: '3.5'
|
68
82
|
email:
|
69
83
|
- jan.sandbrink@aroundhome.de
|
70
84
|
executables: []
|
@@ -98,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
112
|
- !ruby/object:Gem::Version
|
99
113
|
version: '0'
|
100
114
|
requirements: []
|
101
|
-
rubygems_version: 3.6.
|
115
|
+
rubygems_version: 3.6.7
|
102
116
|
specification_version: 4
|
103
117
|
summary: Dependency and configuration for rubocop.
|
104
118
|
test_files: []
|