manageiq-style 1.6.1 → 1.7.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/.github/workflows/ci.yaml +1 -1
- data/CHANGELOG.md +11 -1
- data/lib/manageiq/style/version.rb +1 -1
- data/manageiq-style.gemspec +1 -1
- data/styles/base.yml +4 -24
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4c7970766997db94e63a64c51642f600f4268ddff5bbb01ac4e64e2fe1faa04
|
|
4
|
+
data.tar.gz: b5626354f3c0a56718e3818c4312a32551b9672db2ce69e113c9a0373ee73856
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef304c5401c761efeafc45cd41133d553d176f21a72b1cdf4e07317a96ef2d6f60530ff071638f85d1894d537184bf2cfa683897d2dddbebe2c20e3a6f2f586b
|
|
7
|
+
data.tar.gz: 1c009bba9f47d9a9e3ff0d36d0994ad5a99f19fa0a3ed47ebe18a3d1df536ec5ba113110b0ee5a50bc69e0630c8e5254da9a706cda32dc2e88342e528816de38
|
data/.github/workflows/ci.yaml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.7.0] - 2026-05-20
|
|
9
|
+
### Changed
|
|
10
|
+
- Bump rubocop to minimum 1.88.2 for numerous CVEs in transitive dependency [[#82](https://github.com/ManageIQ/manageiq-style/pull/82)]
|
|
11
|
+
- Various style updates [[#79](https://github.com/ManageIQ/manageiq-style/pull/79)]
|
|
12
|
+
- Enable `Style/CollectionMethods` with preferred methods `find: detect`
|
|
13
|
+
- Enable `Style/MethodCallWithArgsParentheses`
|
|
14
|
+
- Enable `Style/SpecialGlobalVars` with `use_builtin_english_names`
|
|
15
|
+
- Remove disabled cops: `Style/GuardClause`, `Style/IfUnlessModifier`, `Style/NegatedIf`, `Style/NegatedIfElseCondition`, `Style/ParallelAssignment`, `Style/RescueStandardError`, `Style/SymbolArray`, `Style/WordArray`, `Layout/SpaceBeforeFirstArg`
|
|
16
|
+
|
|
8
17
|
## [1.6.1] - 2026-04-03
|
|
9
18
|
### Changed
|
|
10
19
|
- Bump rack for numerous CVEs [[#78](https://github.com/ManageIQ/manageiq-style/pull/78)]
|
|
@@ -85,7 +94,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
85
94
|
## [1.0.1] - 2020-06-19
|
|
86
95
|
## [1.0.0] - 2020-05-19
|
|
87
96
|
|
|
88
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-style/compare/v1.
|
|
97
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-style/compare/v1.7.0...HEAD
|
|
98
|
+
[1.7.0]: https://github.com/ManageIQ/manageiq-style/compare/v1.6.1...v1.7.0
|
|
89
99
|
[1.6.1]: https://github.com/ManageIQ/manageiq-style/compare/v1.6.0...v1.6.1
|
|
90
100
|
[1.6.0]: https://github.com/ManageIQ/manageiq-style/compare/v1.5.10...v1.6.0
|
|
91
101
|
[1.5.10]: https://github.com/ManageIQ/manageiq-style/compare/v1.5.9...v1.5.10
|
data/manageiq-style.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
|
|
27
27
|
spec.add_dependency "more_core_extensions"
|
|
28
28
|
spec.add_dependency "optimist"
|
|
29
|
-
spec.add_dependency "rubocop", "~> 1.
|
|
29
|
+
spec.add_dependency "rubocop", "~> 1.88", ">= 1.88.2"
|
|
30
30
|
spec.add_dependency "rubocop-performance"
|
|
31
31
|
spec.add_dependency "rubocop-rails"
|
|
32
32
|
|
data/styles/base.yml
CHANGED
|
@@ -21,8 +21,6 @@ Layout/ExtraSpacing:
|
|
|
21
21
|
- Gemfile
|
|
22
22
|
Layout/LineLength:
|
|
23
23
|
Enabled: false
|
|
24
|
-
Layout/SpaceBeforeFirstArg:
|
|
25
|
-
Enabled: false
|
|
26
24
|
Layout/SpaceInsideHashLiteralBraces:
|
|
27
25
|
EnforcedStyle: no_space
|
|
28
26
|
Metrics:
|
|
@@ -48,12 +46,9 @@ Style/ClassAndModuleChildren:
|
|
|
48
46
|
Style/ClassCheck:
|
|
49
47
|
EnforcedStyle: kind_of?
|
|
50
48
|
Style/CollectionMethods:
|
|
51
|
-
|
|
49
|
+
Enabled: true
|
|
52
50
|
PreferredMethods:
|
|
53
51
|
find: detect
|
|
54
|
-
find_all: select
|
|
55
|
-
map: collect
|
|
56
|
-
reduce: inject
|
|
57
52
|
Style/Documentation:
|
|
58
53
|
Enabled: false
|
|
59
54
|
Style/DoubleNegation:
|
|
@@ -68,23 +63,18 @@ Style/FormatStringToken:
|
|
|
68
63
|
EnforcedStyle: template
|
|
69
64
|
Style/FrozenStringLiteralComment:
|
|
70
65
|
Enabled: false
|
|
71
|
-
Style/GuardClause:
|
|
72
|
-
Enabled: false
|
|
73
66
|
Style/HashSyntax:
|
|
74
67
|
EnforcedStyle: hash_rockets
|
|
75
68
|
Exclude:
|
|
76
69
|
- db/schema.rb
|
|
77
|
-
Style/IfUnlessModifier:
|
|
78
|
-
Enabled: false
|
|
79
70
|
Style/MethodCallWithArgsParentheses:
|
|
71
|
+
Enabled: true
|
|
80
72
|
Exclude:
|
|
81
73
|
- Gemfile
|
|
82
74
|
- config/routes.rb
|
|
83
75
|
- lib/generators/**/*
|
|
84
|
-
- lib/resource_feeder/**/*
|
|
85
76
|
- lib/tasks/**/*
|
|
86
77
|
- spec/**/*
|
|
87
|
-
Enabled: true
|
|
88
78
|
AllowedMethods:
|
|
89
79
|
# Ruby
|
|
90
80
|
- add_dependency
|
|
@@ -222,14 +212,8 @@ Style/MethodCallWithArgsParentheses:
|
|
|
222
212
|
# Rake
|
|
223
213
|
- desc
|
|
224
214
|
- task
|
|
225
|
-
Style/NegatedIf:
|
|
226
|
-
Enabled: false
|
|
227
|
-
Style/NegatedIfElseCondition:
|
|
228
|
-
Enabled: false
|
|
229
215
|
Style/NumericPredicate:
|
|
230
216
|
Enabled: false
|
|
231
|
-
Style/ParallelAssignment:
|
|
232
|
-
Enabled: false
|
|
233
217
|
Style/PerlBackrefs:
|
|
234
218
|
Enabled: false
|
|
235
219
|
Style/QuotedSymbols:
|
|
@@ -238,16 +222,14 @@ Style/RedundantReturn:
|
|
|
238
222
|
AllowMultipleReturnValues: true
|
|
239
223
|
Style/RegexpLiteral:
|
|
240
224
|
Enabled: false
|
|
241
|
-
Style/RescueStandardError:
|
|
242
|
-
EnforcedStyle: implicit
|
|
243
225
|
Style/SingleLineMethods:
|
|
244
226
|
AllowIfMethodIsEmpty: false
|
|
227
|
+
Style/SpecialGlobalVars:
|
|
228
|
+
EnforcedStyle: use_builtin_english_names
|
|
245
229
|
Style/StringLiterals:
|
|
246
230
|
Enabled: false # Also see Style/QuotedSymbols
|
|
247
231
|
Style/StringLiteralsInInterpolation:
|
|
248
232
|
Enabled: false
|
|
249
|
-
Style/SymbolArray:
|
|
250
|
-
Enabled: false
|
|
251
233
|
Style/TrailingCommaInArrayLiteral:
|
|
252
234
|
Enabled: false
|
|
253
235
|
Style/TrailingCommaInHashLiteral:
|
|
@@ -256,5 +238,3 @@ Style/TrailingUnderscoreVariable:
|
|
|
256
238
|
Enabled: false
|
|
257
239
|
Style/WhileUntilModifier:
|
|
258
240
|
Enabled: false
|
|
259
|
-
Style/WordArray:
|
|
260
|
-
Enabled: false
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manageiq-style
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ManageIQ Authors
|
|
@@ -43,14 +43,20 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '1.
|
|
46
|
+
version: '1.88'
|
|
47
|
+
- - ">="
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: 1.88.2
|
|
47
50
|
type: :runtime
|
|
48
51
|
prerelease: false
|
|
49
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
53
|
requirements:
|
|
51
54
|
- - "~>"
|
|
52
55
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '1.
|
|
56
|
+
version: '1.88'
|
|
57
|
+
- - ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: 1.88.2
|
|
54
60
|
- !ruby/object:Gem::Dependency
|
|
55
61
|
name: rubocop-performance
|
|
56
62
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -192,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
198
|
- !ruby/object:Gem::Version
|
|
193
199
|
version: '0'
|
|
194
200
|
requirements: []
|
|
195
|
-
rubygems_version:
|
|
201
|
+
rubygems_version: 3.6.9
|
|
196
202
|
specification_version: 4
|
|
197
203
|
summary: Style and linting configuration for ManageIQ projects.
|
|
198
204
|
test_files: []
|