ruboconf 1.17.0 → 1.19.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/.tool-versions +1 -1
- data/Gemfile.lock +26 -21
- data/cops/gemspec.yml +4 -1
- data/cops/layout.yml +3 -0
- data/cops/lint.yml +24 -0
- data/cops/naming.yml +5 -3
- data/cops/performance.yml +3 -0
- data/cops/style.yml +31 -0
- data/ruboconf.gemspec +3 -3
- data/ruboconf.yml +1 -1
- metadata +7 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9ba036920ecba63f05b20718b6a355e546deb1a44b108f2306f4e5c91d298b4
|
|
4
|
+
data.tar.gz: b94c1a5077cfb9dacb48eef1f4f5df3dc0d62f5044157b9ded49add1c96d7312
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fad8668d1112864e55863af06f36909e25d9ce0c2a7aa2660eacc7af6625874f442f1cc032dd109e2cf9c9e6a2c3f299457bf7494b561feff83d41c325616044
|
|
7
|
+
data.tar.gz: e233ac5ce22e33d8dc8be581a1247fd75b7b1c7e867da027bced66cd22bd92f9d142574d544876c9e3937bbe5efd9de771669013e1a5043790019b8352f2af77
|
data/.tool-versions
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby
|
|
1
|
+
ruby 4.0.0
|
data/Gemfile.lock
CHANGED
|
@@ -1,43 +1,48 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ruboconf (1.
|
|
5
|
-
rubocop (~> 1.
|
|
6
|
-
rubocop-performance (~> 1.
|
|
4
|
+
ruboconf (1.19.0)
|
|
5
|
+
rubocop (~> 1.82.1)
|
|
6
|
+
rubocop-performance (~> 1.26.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
ast (2.4.
|
|
12
|
-
json (2.
|
|
13
|
-
language_server-protocol (3.17.0.
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
ast (2.4.3)
|
|
12
|
+
json (2.18.0)
|
|
13
|
+
language_server-protocol (3.17.0.5)
|
|
14
|
+
lint_roller (1.1.0)
|
|
15
|
+
parallel (1.27.0)
|
|
16
|
+
parser (3.3.10.0)
|
|
16
17
|
ast (~> 2.4.1)
|
|
17
18
|
racc
|
|
19
|
+
prism (1.7.0)
|
|
18
20
|
racc (1.8.1)
|
|
19
21
|
rainbow (3.1.1)
|
|
20
|
-
rake (13.
|
|
21
|
-
regexp_parser (2.
|
|
22
|
-
rubocop (1.
|
|
22
|
+
rake (13.3.1)
|
|
23
|
+
regexp_parser (2.11.3)
|
|
24
|
+
rubocop (1.82.1)
|
|
23
25
|
json (~> 2.3)
|
|
24
|
-
language_server-protocol (
|
|
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.
|
|
32
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
30
33
|
ruby-progressbar (~> 1.7)
|
|
31
34
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
32
|
-
rubocop-ast (1.
|
|
33
|
-
parser (>= 3.3.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
rubocop-ast (1.49.0)
|
|
36
|
+
parser (>= 3.3.7.2)
|
|
37
|
+
prism (~> 1.7)
|
|
38
|
+
rubocop-performance (1.26.1)
|
|
39
|
+
lint_roller (~> 1.1)
|
|
40
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
41
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
37
42
|
ruby-progressbar (1.13.0)
|
|
38
|
-
unicode-display_width (3.
|
|
39
|
-
unicode-emoji (~> 4.
|
|
40
|
-
unicode-emoji (4.0
|
|
43
|
+
unicode-display_width (3.2.0)
|
|
44
|
+
unicode-emoji (~> 4.1)
|
|
45
|
+
unicode-emoji (4.2.0)
|
|
41
46
|
|
|
42
47
|
PLATFORMS
|
|
43
48
|
x86_64-linux
|
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/layout.yml
CHANGED
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
data/cops/performance.yml
CHANGED
data/cops/style.yml
CHANGED
|
@@ -7,6 +7,9 @@ Style/ArgumentsForwarding:
|
|
|
7
7
|
Style/ArrayIntersect:
|
|
8
8
|
Enabled: true
|
|
9
9
|
|
|
10
|
+
Style/ArrayIntersectWithSingleElement:
|
|
11
|
+
Enabled: true
|
|
12
|
+
|
|
10
13
|
Style/BitwisePredicate:
|
|
11
14
|
Enabled: true
|
|
12
15
|
|
|
@@ -16,9 +19,15 @@ Style/ClassAndModuleChildren:
|
|
|
16
19
|
Style/CollectionCompact:
|
|
17
20
|
Enabled: true
|
|
18
21
|
|
|
22
|
+
Style/CollectionQuerying:
|
|
23
|
+
Enabled: true
|
|
24
|
+
|
|
19
25
|
Style/CombinableDefined:
|
|
20
26
|
Enabled: true
|
|
21
27
|
|
|
28
|
+
Style/ComparableBetween:
|
|
29
|
+
Enabled: true
|
|
30
|
+
|
|
22
31
|
Style/ComparableClamp:
|
|
23
32
|
Enabled: true
|
|
24
33
|
|
|
@@ -46,6 +55,9 @@ Style/EmptyHeredoc:
|
|
|
46
55
|
Style/EmptyMethod:
|
|
47
56
|
EnforcedStyle: expanded
|
|
48
57
|
|
|
58
|
+
Style/EmptyStringInsideInterpolation:
|
|
59
|
+
Enabled: false
|
|
60
|
+
|
|
49
61
|
Style/EndlessMethod:
|
|
50
62
|
Enabled: true
|
|
51
63
|
|
|
@@ -88,6 +100,12 @@ Style/HashConversion:
|
|
|
88
100
|
Style/HashExcept:
|
|
89
101
|
Enabled: true
|
|
90
102
|
|
|
103
|
+
Style/HashFetchChain:
|
|
104
|
+
Enabled: true
|
|
105
|
+
|
|
106
|
+
Style/HashSlice:
|
|
107
|
+
Enabled: true
|
|
108
|
+
|
|
91
109
|
Style/HashSyntax:
|
|
92
110
|
EnforcedShorthandSyntax: either
|
|
93
111
|
|
|
@@ -103,6 +121,10 @@ Style/InPatternThen:
|
|
|
103
121
|
Style/ItAssignment:
|
|
104
122
|
Enabled: true
|
|
105
123
|
|
|
124
|
+
Style/ItBlockParameter:
|
|
125
|
+
Enabled: true
|
|
126
|
+
EnforcedStyle: only_numbered_parameters
|
|
127
|
+
|
|
106
128
|
Style/KeywordArgumentsMerging:
|
|
107
129
|
Enabled: true
|
|
108
130
|
|
|
@@ -130,6 +152,9 @@ Style/MapToSet:
|
|
|
130
152
|
Style/MinMaxComparison:
|
|
131
153
|
Enabled: true
|
|
132
154
|
|
|
155
|
+
Style/ModuleMemberExistenceCheck:
|
|
156
|
+
Enabled: true
|
|
157
|
+
|
|
133
158
|
Style/MultilineInPatternThen:
|
|
134
159
|
Enabled: true
|
|
135
160
|
|
|
@@ -181,6 +206,9 @@ Style/QuotedSymbols:
|
|
|
181
206
|
Style/RedundantArrayConstructor:
|
|
182
207
|
Enabled: true
|
|
183
208
|
|
|
209
|
+
Style/RedundantArrayFlatten:
|
|
210
|
+
Enabled: true
|
|
211
|
+
|
|
184
212
|
Style/RedundantArgument:
|
|
185
213
|
Enabled: true
|
|
186
214
|
|
|
@@ -202,6 +230,9 @@ Style/RedundantFetchBlock:
|
|
|
202
230
|
Style/RedundantFilterChain:
|
|
203
231
|
Enabled: true
|
|
204
232
|
|
|
233
|
+
Style/RedundantFormat:
|
|
234
|
+
Enabled: true
|
|
235
|
+
|
|
205
236
|
Style/RedundantFreeze:
|
|
206
237
|
Enabled: true
|
|
207
238
|
|
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.19.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.82.1"
|
|
26
|
+
spec.add_dependency "rubocop-performance", "~> 1.26.1"
|
|
27
27
|
spec.metadata["rubygems_mfa_required"] = "true"
|
|
28
28
|
end
|
data/ruboconf.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruboconf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Böhme
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rubocop
|
|
@@ -16,29 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
18
|
+
version: 1.82.1
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
25
|
+
version: 1.82.1
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: rubocop-performance
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
32
|
+
version: 1.26.1
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.
|
|
41
|
-
description:
|
|
39
|
+
version: 1.26.1
|
|
42
40
|
email:
|
|
43
41
|
- richard.boehme1999@gmail.com
|
|
44
42
|
executables: []
|
|
@@ -71,7 +69,6 @@ metadata:
|
|
|
71
69
|
homepage_uri: https://github.com/richardboehme/ruboconf
|
|
72
70
|
source_code_uri: https://github.com/richardboehme/ruboconf
|
|
73
71
|
rubygems_mfa_required: 'true'
|
|
74
|
-
post_install_message:
|
|
75
72
|
rdoc_options: []
|
|
76
73
|
require_paths:
|
|
77
74
|
- lib
|
|
@@ -86,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
86
83
|
- !ruby/object:Gem::Version
|
|
87
84
|
version: '0'
|
|
88
85
|
requirements: []
|
|
89
|
-
rubygems_version:
|
|
90
|
-
signing_key:
|
|
86
|
+
rubygems_version: 4.0.3
|
|
91
87
|
specification_version: 4
|
|
92
88
|
summary: Opinionated Rubocop configuration for personal projects.
|
|
93
89
|
test_files: []
|