ruboconf 1.11.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -13
- data/cops/lint.yml +9 -0
- data/cops/performance.yml +3 -0
- data/cops/style.yml +36 -6
- data/ruboconf.gemspec +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d13f66acf2896875c978ec7a6638b4a0ee9944629caa27a06dd4b05dffa8e2d
|
4
|
+
data.tar.gz: c2921760943238bf7c8797fb70b604685094d919676439d0a22655f9b0a2709e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fee8b6d9446b33207bb8beb0f730380e4eb2041b8f426b025f3382a94ea0b681094e9b182a508814de10ad0cffc92c1f04287699ac78537fc78379a4762b7df8
|
7
|
+
data.tar.gz: 69f9df86141d37b5ec9c1a9b921f5343331a5cb38219e9617c4cf61914c67eb1baf36914a1424f50258e8f7ee6765e5ca584344a4dc028066d69b8171a0f131a
|
data/Gemfile.lock
CHANGED
@@ -1,39 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruboconf (1.
|
5
|
-
rubocop (~> 1.
|
6
|
-
rubocop-performance (~> 1.
|
4
|
+
ruboconf (1.13.0)
|
5
|
+
rubocop (~> 1.58)
|
6
|
+
rubocop-performance (~> 1.19)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ast (2.4.2)
|
12
|
-
json (2.
|
12
|
+
json (2.7.1)
|
13
|
+
language_server-protocol (3.17.0.3)
|
13
14
|
parallel (1.23.0)
|
14
|
-
parser (3.2.2.
|
15
|
+
parser (3.2.2.4)
|
15
16
|
ast (~> 2.4.1)
|
17
|
+
racc
|
18
|
+
racc (1.7.3)
|
16
19
|
rainbow (3.1.1)
|
17
20
|
rake (13.0.6)
|
18
|
-
regexp_parser (2.8.
|
19
|
-
rexml (3.2.
|
20
|
-
rubocop (1.
|
21
|
+
regexp_parser (2.8.3)
|
22
|
+
rexml (3.2.6)
|
23
|
+
rubocop (1.58.0)
|
21
24
|
json (~> 2.3)
|
25
|
+
language_server-protocol (>= 3.17.0)
|
22
26
|
parallel (~> 1.10)
|
23
|
-
parser (>= 3.2.
|
27
|
+
parser (>= 3.2.2.4)
|
24
28
|
rainbow (>= 2.2.2, < 4.0)
|
25
29
|
regexp_parser (>= 1.8, < 3.0)
|
26
30
|
rexml (>= 3.2.5, < 4.0)
|
27
|
-
rubocop-ast (>= 1.
|
31
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
28
32
|
ruby-progressbar (~> 1.7)
|
29
33
|
unicode-display_width (>= 2.4.0, < 3.0)
|
30
|
-
rubocop-ast (1.
|
34
|
+
rubocop-ast (1.30.0)
|
31
35
|
parser (>= 3.2.1.0)
|
32
|
-
rubocop-performance (1.
|
36
|
+
rubocop-performance (1.19.1)
|
33
37
|
rubocop (>= 1.7.0, < 2.0)
|
34
38
|
rubocop-ast (>= 0.4.0)
|
35
39
|
ruby-progressbar (1.13.0)
|
36
|
-
unicode-display_width (2.
|
40
|
+
unicode-display_width (2.5.0)
|
37
41
|
|
38
42
|
PLATFORMS
|
39
43
|
x86_64-linux
|
data/cops/lint.yml
CHANGED
@@ -40,6 +40,12 @@ Lint/IncompatibleIoSelectWithFiberScheduler:
|
|
40
40
|
Lint/LambdaWithoutLiteralBlock:
|
41
41
|
Enabled: true
|
42
42
|
|
43
|
+
Lint/LiteralAssignmentInCondition:
|
44
|
+
Enabled: true
|
45
|
+
|
46
|
+
Lint/MixedCaseRange:
|
47
|
+
Enabled: true
|
48
|
+
|
43
49
|
Lint/NoReturnInBeginEndBlocks:
|
44
50
|
Enabled: true
|
45
51
|
|
@@ -55,6 +61,9 @@ Lint/OrAssignmentToConstant:
|
|
55
61
|
Lint/RedundantDirGlobSort:
|
56
62
|
Enabled: true
|
57
63
|
|
64
|
+
Lint/RedundantRegexpQuantifiers:
|
65
|
+
Enabled: true
|
66
|
+
|
58
67
|
Lint/RefinementImportMethods:
|
59
68
|
Enabled: true
|
60
69
|
|
data/cops/performance.yml
CHANGED
data/cops/style.yml
CHANGED
@@ -40,6 +40,9 @@ Style/EndlessMethod:
|
|
40
40
|
Style/EnvHome:
|
41
41
|
Enabled: true
|
42
42
|
|
43
|
+
Style/ExactRegexpMatch:
|
44
|
+
Enabled: true
|
45
|
+
|
43
46
|
Style/FetchEnvVar:
|
44
47
|
Enabled: true
|
45
48
|
|
@@ -138,22 +141,28 @@ Style/OperatorMethodCall:
|
|
138
141
|
|
139
142
|
Style/PercentLiteralDelimiters:
|
140
143
|
PreferredDelimiters:
|
141
|
-
default:
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
144
|
+
default: "()"
|
145
|
+
"%i": "()"
|
146
|
+
"%I": "()"
|
147
|
+
"%r": "()"
|
148
|
+
"%w": "()"
|
149
|
+
"%W": "()"
|
147
150
|
|
148
151
|
Style/QuotedSymbols:
|
149
152
|
Enabled: true
|
150
153
|
|
154
|
+
Style/RedundantArrayConstructor:
|
155
|
+
Enabled: true
|
156
|
+
|
151
157
|
Style/RedundantArgument:
|
152
158
|
Enabled: true
|
153
159
|
|
154
160
|
Style/RedundantConstantBase:
|
155
161
|
Enabled: true
|
156
162
|
|
163
|
+
Style/RedundantCurrentDirectoryInPath:
|
164
|
+
Enabled: true
|
165
|
+
|
157
166
|
Style/RedundantDoubleSplatHashBraces:
|
158
167
|
Enabled: true
|
159
168
|
|
@@ -163,6 +172,9 @@ Style/RedundantEach:
|
|
163
172
|
Style/RedundantFetchBlock:
|
164
173
|
Enabled: true
|
165
174
|
|
175
|
+
Style/RedundantFilterChain:
|
176
|
+
Enabled: true
|
177
|
+
|
166
178
|
Style/RedundantFreeze:
|
167
179
|
Enabled: true
|
168
180
|
|
@@ -175,6 +187,12 @@ Style/RedundantInitialize:
|
|
175
187
|
Style/RedundantLineContinuation:
|
176
188
|
Enabled: true
|
177
189
|
|
190
|
+
Style/RedundantRegexpArgument:
|
191
|
+
Enabled: true
|
192
|
+
|
193
|
+
Style/RedundantRegexpConstructor:
|
194
|
+
Enabled: true
|
195
|
+
|
178
196
|
Style/RedundantSelf:
|
179
197
|
Enabled: true
|
180
198
|
|
@@ -184,12 +202,21 @@ Style/RedundantSelfAssignmentBranch:
|
|
184
202
|
Style/RedundantStringEscape:
|
185
203
|
Enabled: true
|
186
204
|
|
205
|
+
Style/ReturnNilInPredicateMethodDefinition:
|
206
|
+
Enabled: true
|
207
|
+
|
187
208
|
Style/SelectByRegexp:
|
188
209
|
Enabled: true
|
189
210
|
|
211
|
+
Style/SingleLineDoEndBlock:
|
212
|
+
Enabled: true
|
213
|
+
|
190
214
|
Style/StringChars:
|
191
215
|
Enabled: true
|
192
216
|
|
217
|
+
Style/SuperWithArgsParentheses:
|
218
|
+
Enabled: true
|
219
|
+
|
193
220
|
Style/SwapValues:
|
194
221
|
Enabled: true
|
195
222
|
|
@@ -198,3 +225,6 @@ Style/SymbolArray:
|
|
198
225
|
|
199
226
|
Style/TrailingCommaInHashLiteral:
|
200
227
|
Enabled: true
|
228
|
+
|
229
|
+
Style/YAMLFileRead:
|
230
|
+
Enabled: true
|
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.
|
5
|
+
spec.version = '1.13.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.
|
26
|
-
spec.add_dependency 'rubocop-performance', '~> 1.
|
25
|
+
spec.add_dependency 'rubocop', '~> 1.58'
|
26
|
+
spec.add_dependency 'rubocop-performance', '~> 1.19'
|
27
27
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
28
28
|
end
|
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.
|
4
|
+
version: 1.13.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: 2023-
|
11
|
+
date: 2023-12-08 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.
|
19
|
+
version: '1.58'
|
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.
|
26
|
+
version: '1.58'
|
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.
|
33
|
+
version: '1.19'
|
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.
|
40
|
+
version: '1.19'
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|