aroundhome_cops 4.3.1 → 5.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/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/aroundhome_cops.gemspec +2 -2
- data/default.yml +63 -3
- data/lib/aroundhome_cops.rb +1 -1
- metadata +4 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b3ed872a0065df50104dab56c15c0ec6112345943e4a87ccea027a956893aad
|
|
4
|
+
data.tar.gz: 6fb3f2a8f00d60815922347aec18555e06b5155af2610237f2d9223d72279c65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f33fcac4d0b2f1e2c2d2ddf599a0564e8e8e6a2a8c48ff2c63f46434380924ded040d93c279028d67eb9f9d490702cce0d4aef5006e0b7c71d1cf10fee5f6d2c
|
|
7
|
+
data.tar.gz: 25e603de2b851c365356fdaa260a165f3b455212952e48e2510b31bc3e976b9dc884cb90f03b4e1d23190d83bb1e4cdbbc0279360f38694301c4295be5507358
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.6.9
|
data/CHANGELOG.md
CHANGED
data/aroundhome_cops.gemspec
CHANGED
|
@@ -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.
|
|
21
|
+
spec.required_ruby_version = '>= 2.6.0'
|
|
22
22
|
|
|
23
|
-
spec.add_dependency 'rubocop', '~> 1.
|
|
23
|
+
spec.add_dependency 'rubocop', '~> 1.35'
|
|
24
24
|
spec.add_dependency 'rubocop-rake', '~> 0.6'
|
|
25
25
|
spec.add_dependency 'rubocop-rspec', '~> 2.5'
|
|
26
26
|
end
|
data/default.yml
CHANGED
|
@@ -53,7 +53,7 @@ Layout/LineLength:
|
|
|
53
53
|
# long, since they are less comparable to methods and more comparable to
|
|
54
54
|
# modules/classes.
|
|
55
55
|
Metrics/BlockLength:
|
|
56
|
-
|
|
56
|
+
AllowedMethods:
|
|
57
57
|
- context
|
|
58
58
|
- describe
|
|
59
59
|
- namespace
|
|
@@ -174,6 +174,10 @@ RSpec/NestedGroups:
|
|
|
174
174
|
RSpec/PredicateMatcher:
|
|
175
175
|
Enabled: false
|
|
176
176
|
|
|
177
|
+
# While in general 2FA is a good idea, adding 2FA to CI/CD is a difficulty.
|
|
178
|
+
Gemspec/RequireMFA: # new in 1.23
|
|
179
|
+
Enabled: false
|
|
180
|
+
|
|
177
181
|
# ----------------- Rubocop-forced enablements --------------
|
|
178
182
|
|
|
179
183
|
# Since version 0.80 rubocop wants to cause fewer breaking changes by new cops.
|
|
@@ -182,8 +186,6 @@ RSpec/PredicateMatcher:
|
|
|
182
186
|
# them below.
|
|
183
187
|
# Disabled cops will appear above with a comment explaining disablement.
|
|
184
188
|
|
|
185
|
-
Gemspec/DateAssignment: # (new in 1.10)
|
|
186
|
-
Enabled: true
|
|
187
189
|
Layout/SpaceBeforeBrackets: # (new in 1.7)
|
|
188
190
|
Enabled: true
|
|
189
191
|
Lint/AmbiguousAssignment: # (new in 1.7)
|
|
@@ -272,6 +274,50 @@ Style/MultilineInPatternThen: # (new in 1.16)
|
|
|
272
274
|
Enabled: true
|
|
273
275
|
Style/QuotedSymbols: # (new in 1.16)
|
|
274
276
|
Enabled: true
|
|
277
|
+
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
278
|
+
Enabled: true
|
|
279
|
+
Layout/LineContinuationLeadingSpace: # new in 1.31
|
|
280
|
+
Enabled: true
|
|
281
|
+
Layout/LineContinuationSpacing: # new in 1.31
|
|
282
|
+
Enabled: true
|
|
283
|
+
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
284
|
+
Enabled: true
|
|
285
|
+
Lint/NonAtomicFileOperation: # new in 1.31
|
|
286
|
+
Enabled: true
|
|
287
|
+
Lint/RefinementImportMethods: # new in 1.27
|
|
288
|
+
Enabled: true
|
|
289
|
+
Lint/RequireRangeParentheses: # new in 1.32
|
|
290
|
+
Enabled: true
|
|
291
|
+
Lint/UselessRuby2Keywords: # new in 1.23
|
|
292
|
+
Enabled: true
|
|
293
|
+
Naming/BlockForwarding: # new in 1.24
|
|
294
|
+
Enabled: true
|
|
295
|
+
Security/CompoundHash: # new in 1.28
|
|
296
|
+
Enabled: true
|
|
297
|
+
Style/EmptyHeredoc: # new in 1.32
|
|
298
|
+
Enabled: true
|
|
299
|
+
Style/EnvHome: # new in 1.29
|
|
300
|
+
Enabled: true
|
|
301
|
+
Style/FetchEnvVar: # new in 1.28
|
|
302
|
+
Enabled: true
|
|
303
|
+
Style/FileRead: # new in 1.24
|
|
304
|
+
Enabled: true
|
|
305
|
+
Style/FileWrite: # new in 1.24
|
|
306
|
+
Enabled: true
|
|
307
|
+
Style/MagicCommentFormat: # new in 1.35
|
|
308
|
+
Enabled: true
|
|
309
|
+
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
310
|
+
Enabled: true
|
|
311
|
+
Style/MapToHash: # new in 1.24
|
|
312
|
+
Enabled: true
|
|
313
|
+
Style/NestedFileDirname: # new in 1.26
|
|
314
|
+
Enabled: true
|
|
315
|
+
Style/ObjectThen: # new in 1.28
|
|
316
|
+
Enabled: true
|
|
317
|
+
Style/OpenStructUse: # new in 1.23
|
|
318
|
+
Enabled: true
|
|
319
|
+
Style/RedundantInitialize: # new in 1.27
|
|
320
|
+
Enabled: true
|
|
275
321
|
|
|
276
322
|
# ----------------- Rubocop-Rspec forced enablements --------------
|
|
277
323
|
RSpec/ExcessiveDocstringSpacing: # (new in 2.5)
|
|
@@ -282,3 +328,17 @@ RSpec/Rails/AvoidSetupHook: # (new in 2.4)
|
|
|
282
328
|
Enabled: true
|
|
283
329
|
RSpec/SubjectDeclaration: # (new in 2.5)
|
|
284
330
|
Enabled: true
|
|
331
|
+
RSpec/BeEq: # new in 2.9.0
|
|
332
|
+
Enabled: true
|
|
333
|
+
RSpec/BeNil: # new in 2.9.0
|
|
334
|
+
Enabled: true
|
|
335
|
+
RSpec/ChangeByZero: # new in 2.11.0
|
|
336
|
+
Enabled: true
|
|
337
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
|
338
|
+
Enabled: true
|
|
339
|
+
RSpec/Capybara/SpecificMatcher: # new in 2.12
|
|
340
|
+
Enabled: true
|
|
341
|
+
RSpec/FactoryBot/SyntaxMethods: # new in 2.7
|
|
342
|
+
Enabled: true
|
|
343
|
+
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
|
344
|
+
Enabled: true
|
data/lib/aroundhome_cops.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aroundhome_cops
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 5.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Sandbrink
|
|
@@ -16,20 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
20
|
-
- - "<"
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '1.31'
|
|
19
|
+
version: '1.35'
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
23
|
requirements:
|
|
27
24
|
- - "~>"
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '1.
|
|
30
|
-
- - "<"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '1.31'
|
|
26
|
+
version: '1.35'
|
|
33
27
|
- !ruby/object:Gem::Dependency
|
|
34
28
|
name: rubocop-rake
|
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -86,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
86
80
|
requirements:
|
|
87
81
|
- - ">="
|
|
88
82
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 2.
|
|
83
|
+
version: 2.6.0
|
|
90
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
85
|
requirements:
|
|
92
86
|
- - ">="
|