aroundhome_cops 7.0.1 → 8.1.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/.gitlab-ci.yml +3 -2
- data/CHANGELOG.md +12 -0
- data/aroundhome_cops.gemspec +3 -2
- data/default.yml +24 -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: b37a7b7b0f18f2e07adc756a65d0d4b8fc1bdef36926e6d22f4530fde3873737
|
|
4
|
+
data.tar.gz: da2037e0fb471c000ea7e9f79a94e691c00b1c032603471c0f082f689cc54f49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79ee0fca9b7e708f65e32c05c41213e56871fdf6ac6106f7ec2bb9b779f7a3f9a0ea94857127c409e54afc8bd742922a9866b6dc314920a75c04e051b952909e
|
|
7
|
+
data.tar.gz: 51a52882e0592ad66bc47b3226efb299e0f1a02138effcde06541de6133c3223cfed5cdd690680af3cd74050a2f910d7d1df2c09ae787084f354de1b336bdc20
|
data/.gitlab-ci.yml
CHANGED
|
@@ -9,8 +9,9 @@ variables:
|
|
|
9
9
|
|
|
10
10
|
before_script:
|
|
11
11
|
- mkdir -p /root/.ssh && ssh-keyscan -H codevault.io > /root/.ssh/known_hosts 2>/dev/null
|
|
12
|
-
- bundle config jobs 8
|
|
13
|
-
- bundle
|
|
12
|
+
- bundle config set jobs 8
|
|
13
|
+
- bundle config set path /tmp/bundler
|
|
14
|
+
- bundle install --quiet
|
|
14
15
|
|
|
15
16
|
rubocop:
|
|
16
17
|
stage: test
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## Version 8.1.0 (2026-10-27)
|
|
2
|
+
|
|
3
|
+
* Raise `RSpec/MultipleExpectations` `Max` from 1 to 3
|
|
4
|
+
|
|
5
|
+
## Version 8.0.0 (2025-04-01)
|
|
6
|
+
|
|
7
|
+
* Upgrade `rubocop-rspec` to `3.5.x`
|
|
8
|
+
* We removed `Capypara` cop
|
|
9
|
+
* Removed all `RSpecRails` cops
|
|
10
|
+
* Migrated from `required` to `plugins`
|
|
11
|
+
* This Major release is not an April fools joke
|
|
12
|
+
|
|
1
13
|
## Version 7.0.1 (2025-03-31)
|
|
2
14
|
|
|
3
15
|
* 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:
|
|
@@ -150,6 +149,10 @@ RSpec/ContextWording:
|
|
|
150
149
|
RSpec/ExampleLength:
|
|
151
150
|
Max: 10
|
|
152
151
|
|
|
152
|
+
# One example often checks a few related outcomes. The default (1) is too tight.
|
|
153
|
+
RSpec/MultipleExpectations:
|
|
154
|
+
Max: 3
|
|
155
|
+
|
|
153
156
|
# Complex tests often rely on more objects than allowed by default (5).
|
|
154
157
|
RSpec/MultipleMemoizedHelpers:
|
|
155
158
|
Max: 10
|
|
@@ -414,8 +417,6 @@ RSpec/ExcessiveDocstringSpacing: # (new in 2.5)
|
|
|
414
417
|
Enabled: true
|
|
415
418
|
RSpec/IdenticalEqualityAssertion: # (new in 2.4)
|
|
416
419
|
Enabled: true
|
|
417
|
-
RSpecRails/AvoidSetupHook: # (new in 2.4)
|
|
418
|
-
Enabled: true
|
|
419
420
|
RSpec/SubjectDeclaration: # (new in 2.5)
|
|
420
421
|
Enabled: true
|
|
421
422
|
RSpec/BeEq: # new in 2.9.0
|
|
@@ -426,12 +427,6 @@ RSpec/ChangeByZero: # new in 2.11.0
|
|
|
426
427
|
Enabled: true
|
|
427
428
|
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
|
428
429
|
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
430
|
RSpec/RedundantPredicateMatcher: # new in 2.26
|
|
436
431
|
Enabled: true
|
|
437
432
|
RSpec/RemoveConst: # new in 2.26
|
|
@@ -476,44 +471,6 @@ RSpec/ReceiveMessages: # new in 2.23
|
|
|
476
471
|
Enabled: true
|
|
477
472
|
RSpec/RedundantAround: # new in 2.19
|
|
478
473
|
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
474
|
RSpec/ExpectInLet: # new in 2.30
|
|
518
475
|
Enabled: true
|
|
519
476
|
|
|
@@ -556,3 +513,21 @@ Performance/StringInclude: # new in 1.7
|
|
|
556
513
|
Enabled: true
|
|
557
514
|
Performance/Sum: # new in 1.8
|
|
558
515
|
Enabled: true
|
|
516
|
+
|
|
517
|
+
# ----------------- FactoryBot forced enablements --------------
|
|
518
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
|
519
|
+
Enabled: true
|
|
520
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
|
521
|
+
Enabled: true
|
|
522
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
|
523
|
+
Enabled: true
|
|
524
|
+
FactoryBot/ExcessiveCreateList: # new in 2.25
|
|
525
|
+
Enabled: true
|
|
526
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
|
527
|
+
Enabled: true
|
|
528
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
|
529
|
+
Enabled: true
|
|
530
|
+
FactoryBot/IdSequence: # new in 2.24
|
|
531
|
+
Enabled: true
|
|
532
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
533
|
+
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.1.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:
|
|
115
|
+
rubygems_version: 4.0.20
|
|
102
116
|
specification_version: 4
|
|
103
117
|
summary: Dependency and configuration for rubocop.
|
|
104
118
|
test_files: []
|