ruboconf 1.10.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tool-versions +1 -0
- data/Gemfile.lock +50 -0
- data/cops/gemspec.yml +3 -0
- data/cops/lint.yml +15 -0
- data/cops/metrics.yml +3 -0
- data/cops/style.yml +75 -6
- data/ruboconf.gemspec +3 -3
- metadata +13 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aff169bc8f583a7106af764aa9c58cda1823f7b5df4966af3a61ba391cfdcb7
|
4
|
+
data.tar.gz: bb57a39edd0d08f3abab518a46bc24a69e7a7ebc5c3a23cde39752406bab5eeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7132b68d2cde6a16b9a55c4634fd9b4ef44750920a72328c6aace4e7a2d169bc05c99186ff440ce2710a2e85cc800a111f44195aa63741902646fc247dd2c57
|
7
|
+
data.tar.gz: eb94fa9f99f9d2c3f84fd55bdc2c1cd5b501a7d947ee62c92a1e4f3b3996031b32d59ef2ac9226fa984caf5316ac489d52e641e390b6fef3c4778fc7d575c79a
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.2.2
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
ruboconf (1.12.0)
|
5
|
+
rubocop (~> 1.54)
|
6
|
+
rubocop-performance (~> 1.18)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ast (2.4.2)
|
12
|
+
json (2.6.3)
|
13
|
+
language_server-protocol (3.17.0.3)
|
14
|
+
parallel (1.23.0)
|
15
|
+
parser (3.2.2.3)
|
16
|
+
ast (~> 2.4.1)
|
17
|
+
racc
|
18
|
+
racc (1.7.1)
|
19
|
+
rainbow (3.1.1)
|
20
|
+
rake (13.0.6)
|
21
|
+
regexp_parser (2.8.1)
|
22
|
+
rexml (3.2.5)
|
23
|
+
rubocop (1.54.0)
|
24
|
+
json (~> 2.3)
|
25
|
+
language_server-protocol (>= 3.17.0)
|
26
|
+
parallel (~> 1.10)
|
27
|
+
parser (>= 3.2.2.3)
|
28
|
+
rainbow (>= 2.2.2, < 4.0)
|
29
|
+
regexp_parser (>= 1.8, < 3.0)
|
30
|
+
rexml (>= 3.2.5, < 4.0)
|
31
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
32
|
+
ruby-progressbar (~> 1.7)
|
33
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
34
|
+
rubocop-ast (1.29.0)
|
35
|
+
parser (>= 3.2.1.0)
|
36
|
+
rubocop-performance (1.18.0)
|
37
|
+
rubocop (>= 1.7.0, < 2.0)
|
38
|
+
rubocop-ast (>= 0.4.0)
|
39
|
+
ruby-progressbar (1.13.0)
|
40
|
+
unicode-display_width (2.4.2)
|
41
|
+
|
42
|
+
PLATFORMS
|
43
|
+
x86_64-linux
|
44
|
+
|
45
|
+
DEPENDENCIES
|
46
|
+
rake (~> 13.0)
|
47
|
+
ruboconf!
|
48
|
+
|
49
|
+
BUNDLED WITH
|
50
|
+
2.3.26
|
data/cops/gemspec.yml
CHANGED
data/cops/lint.yml
CHANGED
@@ -16,6 +16,12 @@ Lint/DeprecatedConstants:
|
|
16
16
|
Lint/DuplicateBranch:
|
17
17
|
Enabled: true
|
18
18
|
|
19
|
+
Lint/DuplicateMagicComment:
|
20
|
+
Enabled: true
|
21
|
+
|
22
|
+
Lint/DuplicateMatchPattern:
|
23
|
+
Enabled: true
|
24
|
+
|
19
25
|
Lint/DuplicateRegexpCharacterClassElement:
|
20
26
|
Enabled: true
|
21
27
|
|
@@ -34,6 +40,9 @@ Lint/IncompatibleIoSelectWithFiberScheduler:
|
|
34
40
|
Lint/LambdaWithoutLiteralBlock:
|
35
41
|
Enabled: true
|
36
42
|
|
43
|
+
Lint/MixedCaseRange:
|
44
|
+
Enabled: true
|
45
|
+
|
37
46
|
Lint/NoReturnInBeginEndBlocks:
|
38
47
|
Enabled: true
|
39
48
|
|
@@ -49,6 +58,9 @@ Lint/OrAssignmentToConstant:
|
|
49
58
|
Lint/RedundantDirGlobSort:
|
50
59
|
Enabled: true
|
51
60
|
|
61
|
+
Lint/RedundantRegexpQuantifiers:
|
62
|
+
Enabled: true
|
63
|
+
|
52
64
|
Lint/RefinementImportMethods:
|
53
65
|
Enabled: true
|
54
66
|
|
@@ -79,5 +91,8 @@ Lint/UnusedBlockArgument:
|
|
79
91
|
Lint/UselessAssignment:
|
80
92
|
Enabled: true
|
81
93
|
|
94
|
+
Lint/UselessRescue:
|
95
|
+
Enabled: true
|
96
|
+
|
82
97
|
Lint/UselessRuby2Keywords:
|
83
98
|
Enabled: true
|
data/cops/metrics.yml
CHANGED
data/cops/style.yml
CHANGED
@@ -1,12 +1,27 @@
|
|
1
1
|
Style/ArgumentsForwarding:
|
2
2
|
Enabled: true
|
3
3
|
|
4
|
+
Style/ArrayIntersect:
|
5
|
+
Enabled: true
|
6
|
+
|
4
7
|
Style/ClassAndModuleChildren:
|
5
8
|
EnforcedStyle: compact
|
6
9
|
|
7
10
|
Style/CollectionCompact:
|
8
11
|
Enabled: true
|
9
12
|
|
13
|
+
Style/ComparableClamp:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Style/ConcatArrayLiterals:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
Style/DataInheritance:
|
20
|
+
Enabled: true
|
21
|
+
|
22
|
+
Style/DirEmpty:
|
23
|
+
Enabled: true
|
24
|
+
|
10
25
|
Style/Documentation:
|
11
26
|
Enabled: false
|
12
27
|
|
@@ -25,9 +40,15 @@ Style/EndlessMethod:
|
|
25
40
|
Style/EnvHome:
|
26
41
|
Enabled: true
|
27
42
|
|
43
|
+
Style/ExactRegexpMatch:
|
44
|
+
Enabled: true
|
45
|
+
|
28
46
|
Style/FetchEnvVar:
|
29
47
|
Enabled: true
|
30
48
|
|
49
|
+
Style/FileEmpty:
|
50
|
+
Enabled: true
|
51
|
+
|
31
52
|
Style/FileRead:
|
32
53
|
Enabled: true
|
33
54
|
|
@@ -76,6 +97,12 @@ Style/MapCompactWithConditionalBlock:
|
|
76
97
|
Style/MapToHash:
|
77
98
|
Enabled: true
|
78
99
|
|
100
|
+
Style/MapToSet:
|
101
|
+
Enabled: true
|
102
|
+
|
103
|
+
Style/MinMaxComparison:
|
104
|
+
Enabled: true
|
105
|
+
|
79
106
|
Style/MultilineInPatternThen:
|
80
107
|
Enabled: true
|
81
108
|
|
@@ -109,36 +136,75 @@ Style/ObjectThen:
|
|
109
136
|
Style/OpenStructUse:
|
110
137
|
Enabled: true
|
111
138
|
|
139
|
+
Style/OperatorMethodCall:
|
140
|
+
Enabled: true
|
141
|
+
|
112
142
|
Style/PercentLiteralDelimiters:
|
113
143
|
PreferredDelimiters:
|
114
|
-
default:
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
144
|
+
default: "()"
|
145
|
+
"%i": "()"
|
146
|
+
"%I": "()"
|
147
|
+
"%r": "()"
|
148
|
+
"%w": "()"
|
149
|
+
"%W": "()"
|
120
150
|
|
121
151
|
Style/QuotedSymbols:
|
122
152
|
Enabled: true
|
123
153
|
|
154
|
+
Style/RedundantArrayConstructor:
|
155
|
+
Enabled: true
|
156
|
+
|
124
157
|
Style/RedundantArgument:
|
125
158
|
Enabled: true
|
126
159
|
|
160
|
+
Style/RedundantConstantBase:
|
161
|
+
Enabled: true
|
162
|
+
|
163
|
+
Style/RedundantCurrentDirectoryInPath:
|
164
|
+
Enabled: true
|
165
|
+
|
166
|
+
Style/RedundantDoubleSplatHashBraces:
|
167
|
+
Enabled: true
|
168
|
+
|
169
|
+
Style/RedundantEach:
|
170
|
+
Enabled: true
|
171
|
+
|
127
172
|
Style/RedundantFetchBlock:
|
128
173
|
Enabled: true
|
129
174
|
|
175
|
+
Style/RedundantFilterChain:
|
176
|
+
Enabled: true
|
177
|
+
|
130
178
|
Style/RedundantFreeze:
|
131
179
|
Enabled: true
|
132
180
|
|
181
|
+
Style/RedundantHeredocDelimiterQuotes:
|
182
|
+
Enabled: true
|
183
|
+
|
133
184
|
Style/RedundantInitialize:
|
134
185
|
Enabled: true
|
135
186
|
|
187
|
+
Style/RedundantLineContinuation:
|
188
|
+
Enabled: true
|
189
|
+
|
190
|
+
Style/RedundantRegexpArgument:
|
191
|
+
Enabled: true
|
192
|
+
|
193
|
+
Style/RedundantRegexpConstructor:
|
194
|
+
Enabled: true
|
195
|
+
|
136
196
|
Style/RedundantSelf:
|
137
197
|
Enabled: true
|
138
198
|
|
139
199
|
Style/RedundantSelfAssignmentBranch:
|
140
200
|
Enabled: true
|
141
201
|
|
202
|
+
Style/RedundantStringEscape:
|
203
|
+
Enabled: true
|
204
|
+
|
205
|
+
Style/ReturnNilInPredicateMethodDefinition:
|
206
|
+
Enabled: true
|
207
|
+
|
142
208
|
Style/SelectByRegexp:
|
143
209
|
Enabled: true
|
144
210
|
|
@@ -153,3 +219,6 @@ Style/SymbolArray:
|
|
153
219
|
|
154
220
|
Style/TrailingCommaInHashLiteral:
|
155
221
|
Enabled: true
|
222
|
+
|
223
|
+
Style/YAMLFileRead:
|
224
|
+
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.12.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.54'
|
26
|
+
spec.add_dependency 'rubocop-performance', '~> 1.18'
|
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.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Böhme
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,37 +16,39 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.54'
|
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.54'
|
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.18'
|
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.
|
41
|
-
description:
|
40
|
+
version: '1.18'
|
41
|
+
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|
44
44
|
executables: []
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- ".tool-versions"
|
48
49
|
- CODE_OF_CONDUCT.md
|
49
50
|
- Gemfile
|
51
|
+
- Gemfile.lock
|
50
52
|
- LICENSE.txt
|
51
53
|
- README.md
|
52
54
|
- Rakefile
|
@@ -69,7 +71,7 @@ metadata:
|
|
69
71
|
homepage_uri: https://github.com/richardboehme/ruboconf
|
70
72
|
source_code_uri: https://github.com/richardboehme/ruboconf
|
71
73
|
rubygems_mfa_required: 'true'
|
72
|
-
post_install_message:
|
74
|
+
post_install_message:
|
73
75
|
rdoc_options: []
|
74
76
|
require_paths:
|
75
77
|
- lib
|
@@ -84,8 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
86
|
- !ruby/object:Gem::Version
|
85
87
|
version: '0'
|
86
88
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
88
|
-
signing_key:
|
89
|
+
rubygems_version: 3.4.10
|
90
|
+
signing_key:
|
89
91
|
specification_version: 4
|
90
92
|
summary: Opinionated Rubocop configuration for personal projects.
|
91
93
|
test_files: []
|