ruboconf 1.17.0 → 1.18.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: d1a9615d7916a83bda00d547db133593a642c730b6052138da85b8213e745df7
4
- data.tar.gz: c14fa01c649510b80ed2bb756411754609832bd2ac07bcc2d9bcd5abe4b1d430
3
+ metadata.gz: 5c3a142765fd78316dd628c65644c4778225053a37570239bbdcd5fae56da64a
4
+ data.tar.gz: a949390f04a80dbf0ef3f2b6a73d0d931da79af3e52e0bf6d11e486f3791a397
5
5
  SHA512:
6
- metadata.gz: 2c24614de6756c185cdfce08f1ca4ca5bb766ac4113dd3ee1973bc67a8037afd3b497cc71f6163519dfe4cbee071816f2b4e4237569df577b45db75d9fd56c42
7
- data.tar.gz: bfab825c380811986751f921ee86f71ecb02ad77e44d3b17657ad8e28f05459f497338a810ec8db41fd7fcbe84b6bf5a667674ccbe61929b521eecb2337b2de5
6
+ metadata.gz: 8bea723a0dcccb04120cf299146f1873394562262551c24166d3067ccfcc780f45f715d9aba7da8071f8da66b89c551eb3f8977622452ba3929a21e1ff69f439
7
+ data.tar.gz: 6207922828aca2139c2eb8aa5e9f2b1e8d2d5268784244a564f7a65b5b18f283a839a5492d4bb4ad1c19e63a43d569a70df8a34144f4f2ec9e9391b1a1114cc3
data/Gemfile.lock CHANGED
@@ -1,39 +1,44 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruboconf (1.17.0)
5
- rubocop (~> 1.70.0)
6
- rubocop-performance (~> 1.23.0)
4
+ ruboconf (1.18.0)
5
+ rubocop (~> 1.77.0)
6
+ rubocop-performance (~> 1.25.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.4.2)
12
- json (2.9.1)
13
- language_server-protocol (3.17.0.3)
14
- parallel (1.26.3)
15
- parser (3.3.7.0)
11
+ ast (2.4.3)
12
+ json (2.12.2)
13
+ language_server-protocol (3.17.0.5)
14
+ lint_roller (1.1.0)
15
+ parallel (1.27.0)
16
+ parser (3.3.8.0)
16
17
  ast (~> 2.4.1)
17
18
  racc
19
+ prism (1.4.0)
18
20
  racc (1.8.1)
19
21
  rainbow (3.1.1)
20
22
  rake (13.2.1)
21
23
  regexp_parser (2.10.0)
22
- rubocop (1.70.0)
24
+ rubocop (1.77.0)
23
25
  json (~> 2.3)
24
- language_server-protocol (>= 3.17.0)
26
+ language_server-protocol (~> 3.17.0.2)
27
+ lint_roller (~> 1.1.0)
25
28
  parallel (~> 1.10)
26
29
  parser (>= 3.3.0.2)
27
30
  rainbow (>= 2.2.2, < 4.0)
28
31
  regexp_parser (>= 2.9.3, < 3.0)
29
- rubocop-ast (>= 1.36.2, < 2.0)
32
+ rubocop-ast (>= 1.45.1, < 2.0)
30
33
  ruby-progressbar (~> 1.7)
31
34
  unicode-display_width (>= 2.4.0, < 4.0)
32
- rubocop-ast (1.37.0)
33
- parser (>= 3.3.1.0)
34
- rubocop-performance (1.23.1)
35
- rubocop (>= 1.48.1, < 2.0)
36
- rubocop-ast (>= 1.31.1, < 2.0)
35
+ rubocop-ast (1.45.1)
36
+ parser (>= 3.3.7.2)
37
+ prism (~> 1.4)
38
+ rubocop-performance (1.25.0)
39
+ lint_roller (~> 1.1)
40
+ rubocop (>= 1.75.0, < 2.0)
41
+ rubocop-ast (>= 1.38.0, < 2.0)
37
42
  ruby-progressbar (1.13.0)
38
43
  unicode-display_width (3.1.4)
39
44
  unicode-emoji (~> 4.0, >= 4.0.4)
data/cops/gemspec.yml CHANGED
@@ -1,6 +1,9 @@
1
1
  Gemspec/AddRuntimeDependency:
2
2
  Enabled: true
3
3
 
4
+ Gemspec/AttributeAssignment:
5
+ Enabled: true
6
+
4
7
  Gemspec/DeprecatedAttributeAssignment:
5
8
  Enabled: true
6
9
 
@@ -8,4 +11,4 @@ Gemspec/RequireMFA:
8
11
  Enabled: true
9
12
 
10
13
  Gemspec/DevelopmentDependencies:
11
- Enabled: true
14
+ Enabled: true
data/cops/lint.yml CHANGED
@@ -7,12 +7,21 @@ Lint/AmbiguousOperatorPrecedence:
7
7
  Lint/AmbiguousRange:
8
8
  Enabled: true
9
9
 
10
+ Lint/ArrayLiteralInRegexp:
11
+ Enabled: true
12
+
13
+ Lint/AssignmentInCondition:
14
+ Enabled: true
15
+
10
16
  Lint/ConstantOverwrittenInRescue:
11
17
  Enabled: true
12
18
 
13
19
  Lint/ConstantReassignment:
14
20
  Enabled: true
15
21
 
22
+ Lint/CopDirectiveSyntax:
23
+ Enabled: true
24
+
16
25
  Lint/DeprecatedConstants:
17
26
  Enabled: true
18
27
 
@@ -79,6 +88,9 @@ Lint/RedundantDirGlobSort:
79
88
  Lint/RedundantRegexpQuantifiers:
80
89
  Enabled: true
81
90
 
91
+ Lint/RedundantTypeConversion:
92
+ Enabled: true
93
+
82
94
  Lint/RefinementImportMethods:
83
95
  Enabled: true
84
96
 
@@ -91,6 +103,9 @@ Lint/RequireRelativeSelfPath:
91
103
  Lint/SharedMutableDefault:
92
104
  Enabled: true
93
105
 
106
+ Lint/SuppressedExceptionInNumberConversion:
107
+ Enabled: true
108
+
94
109
  Lint/SymbolConversion:
95
110
  Enabled: true
96
111
 
@@ -115,12 +130,21 @@ Lint/UnusedBlockArgument:
115
130
  Lint/UselessAssignment:
116
131
  Enabled: true
117
132
 
133
+ Lint/UselessConstantScoping:
134
+ Enabled: true
135
+
136
+ Lint/UselessDefaultValueArgument:
137
+ Enabled: true
138
+
118
139
  Lint/UselessDefined:
119
140
  Enabled: true
120
141
 
121
142
  Lint/UselessNumericOperation:
122
143
  Enabled: true
123
144
 
145
+ Lint/UselessOr:
146
+ Enabled: true
147
+
124
148
  Lint/UselessRescue:
125
149
  Enabled: true
126
150
 
data/cops/naming.yml CHANGED
@@ -1,9 +1,11 @@
1
1
  Naming/BlockForwarding:
2
2
  Enabled: true
3
3
 
4
- Naming/VariableNumber:
5
- EnforcedStyle: snake_case
6
-
7
4
  Naming/MethodParameterName:
8
5
  Enabled: false
9
6
 
7
+ Naming/PredicateMethod:
8
+ Enabled: true
9
+
10
+ Naming/VariableNumber:
11
+ EnforcedStyle: snake_case
data/cops/performance.yml CHANGED
@@ -57,3 +57,6 @@ Performance/StringInclude:
57
57
 
58
58
  Performance/Sum:
59
59
  Enabled: true
60
+
61
+ Performance/ZipWithoutBlock:
62
+ Enabled: true
data/cops/style.yml CHANGED
@@ -16,9 +16,15 @@ Style/ClassAndModuleChildren:
16
16
  Style/CollectionCompact:
17
17
  Enabled: true
18
18
 
19
+ Style/CollectionQuerying:
20
+ Enabled: true
21
+
19
22
  Style/CombinableDefined:
20
23
  Enabled: true
21
24
 
25
+ Style/ComparableBetween:
26
+ Enabled: true
27
+
22
28
  Style/ComparableClamp:
23
29
  Enabled: true
24
30
 
@@ -46,6 +52,9 @@ Style/EmptyHeredoc:
46
52
  Style/EmptyMethod:
47
53
  EnforcedStyle: expanded
48
54
 
55
+ Style/EmptyStringInsideInterpolation:
56
+ Enabled: false
57
+
49
58
  Style/EndlessMethod:
50
59
  Enabled: true
51
60
 
@@ -88,6 +97,12 @@ Style/HashConversion:
88
97
  Style/HashExcept:
89
98
  Enabled: true
90
99
 
100
+ Style/HashFetchChain:
101
+ Enabled: true
102
+
103
+ Style/HashSlice:
104
+ Enabled: true
105
+
91
106
  Style/HashSyntax:
92
107
  EnforcedShorthandSyntax: either
93
108
 
@@ -103,6 +118,10 @@ Style/InPatternThen:
103
118
  Style/ItAssignment:
104
119
  Enabled: true
105
120
 
121
+ Style/ItBlockParameter:
122
+ Enabled: true
123
+ EnforcedStyle: only_numbered_parameters
124
+
106
125
  Style/KeywordArgumentsMerging:
107
126
  Enabled: true
108
127
 
@@ -181,6 +200,9 @@ Style/QuotedSymbols:
181
200
  Style/RedundantArrayConstructor:
182
201
  Enabled: true
183
202
 
203
+ Style/RedundantArrayFlatten:
204
+ Enabled: true
205
+
184
206
  Style/RedundantArgument:
185
207
  Enabled: true
186
208
 
@@ -202,6 +224,9 @@ Style/RedundantFetchBlock:
202
224
  Style/RedundantFilterChain:
203
225
  Enabled: true
204
226
 
227
+ Style/RedundantFormat:
228
+ Enabled: true
229
+
205
230
  Style/RedundantFreeze:
206
231
  Enabled: true
207
232
 
data/ruboconf.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "ruboconf"
5
- spec.version = "1.17.0"
5
+ spec.version = "1.18.0"
6
6
  spec.authors = ["Richard Böhme"]
7
7
  spec.email = ["richard.boehme1999@gmail.com"]
8
8
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  end
23
23
  end
24
24
 
25
- spec.add_dependency "rubocop", "~> 1.70.0"
26
- spec.add_dependency "rubocop-performance", "~> 1.23.0"
25
+ spec.add_dependency "rubocop", "~> 1.77.0"
26
+ spec.add_dependency "rubocop-performance", "~> 1.25.0"
27
27
  spec.metadata["rubygems_mfa_required"] = "true"
28
28
  end
data/ruboconf.yml CHANGED
@@ -1,4 +1,4 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-performance
3
3
 
4
4
  inherit_from:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Böhme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-20 00:00:00.000000000 Z
11
+ date: 2025-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.70.0
19
+ version: 1.77.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.70.0
26
+ version: 1.77.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.23.0
33
+ version: 1.25.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.23.0
40
+ version: 1.25.0
41
41
  description:
42
42
  email:
43
43
  - richard.boehme1999@gmail.com