ruboconf 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +18 -20
- data/Rakefile +1 -1
- data/cops/gemspec.yml +3 -0
- data/cops/lint.yml +9 -0
- data/cops/style.yml +31 -0
- data/ruboconf.gemspec +13 -13
- 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: 42f2c524683e99169f7085cefa2887cb378074b4f3758470111e5f79bb466765
|
4
|
+
data.tar.gz: 7a80c0071bf39dba9f562f800cc872bf6d4458f286c6c57c6969b80c57ef574c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122b167e6a6a4cd638819b8d1bacdba5902592b37e23a27f75d3f06d9abd456d45e5aa87119cb799537b0d55232b71551c0c29db16c6dd6fd2cd0f8c6a5f2e69
|
7
|
+
data.tar.gz: 2956ec6079c30e5859b613db8d748ad140caeb8ccc15ee0740c4b01378560e6b23fa06aebc5edeef35d5aad60f84773c4fa2367f58d178d4fb936b9ab8b8722e
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,49 +1,47 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruboconf (1.
|
5
|
-
rubocop (~> 1.
|
6
|
-
rubocop-performance (~> 1.
|
4
|
+
ruboconf (1.16.0)
|
5
|
+
rubocop (~> 1.68.0)
|
6
|
+
rubocop-performance (~> 1.22.0)
|
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.8.1)
|
13
13
|
language_server-protocol (3.17.0.3)
|
14
|
-
parallel (1.
|
15
|
-
parser (3.3.0
|
14
|
+
parallel (1.26.3)
|
15
|
+
parser (3.3.6.0)
|
16
16
|
ast (~> 2.4.1)
|
17
17
|
racc
|
18
|
-
racc (1.
|
18
|
+
racc (1.8.1)
|
19
19
|
rainbow (3.1.1)
|
20
|
-
rake (13.
|
21
|
-
regexp_parser (2.9.
|
22
|
-
|
23
|
-
rubocop (1.61.0)
|
20
|
+
rake (13.2.1)
|
21
|
+
regexp_parser (2.9.2)
|
22
|
+
rubocop (1.68.0)
|
24
23
|
json (~> 2.3)
|
25
24
|
language_server-protocol (>= 3.17.0)
|
26
25
|
parallel (~> 1.10)
|
27
26
|
parser (>= 3.3.0.2)
|
28
27
|
rainbow (>= 2.2.2, < 4.0)
|
29
|
-
regexp_parser (>=
|
30
|
-
|
31
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
28
|
+
regexp_parser (>= 2.4, < 3.0)
|
29
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
32
30
|
ruby-progressbar (~> 1.7)
|
33
31
|
unicode-display_width (>= 2.4.0, < 3.0)
|
34
|
-
rubocop-ast (1.
|
35
|
-
parser (>= 3.3.0
|
36
|
-
rubocop-performance (1.
|
32
|
+
rubocop-ast (1.34.1)
|
33
|
+
parser (>= 3.3.1.0)
|
34
|
+
rubocop-performance (1.22.1)
|
37
35
|
rubocop (>= 1.48.1, < 2.0)
|
38
|
-
rubocop-ast (>= 1.
|
36
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
39
37
|
ruby-progressbar (1.13.0)
|
40
|
-
unicode-display_width (2.
|
38
|
+
unicode-display_width (2.6.0)
|
41
39
|
|
42
40
|
PLATFORMS
|
43
41
|
x86_64-linux
|
44
42
|
|
45
43
|
DEPENDENCIES
|
46
|
-
rake (~> 13.
|
44
|
+
rake (~> 13.2)
|
47
45
|
ruboconf!
|
48
46
|
|
49
47
|
BUNDLED WITH
|
data/Rakefile
CHANGED
data/cops/gemspec.yml
CHANGED
data/cops/lint.yml
CHANGED
@@ -25,6 +25,9 @@ Lint/DuplicateMatchPattern:
|
|
25
25
|
Lint/DuplicateRegexpCharacterClassElement:
|
26
26
|
Enabled: true
|
27
27
|
|
28
|
+
Lint/DuplicateSetElement:
|
29
|
+
Enabled: true
|
30
|
+
|
28
31
|
Lint/EmptyBlock:
|
29
32
|
Enabled: true
|
30
33
|
|
@@ -85,6 +88,9 @@ Lint/ToEnumArguments:
|
|
85
88
|
Lint/TripleQuotes:
|
86
89
|
Enabled: true
|
87
90
|
|
91
|
+
Lint/UnescapedBracketInRegexp:
|
92
|
+
Enabled: true
|
93
|
+
|
88
94
|
Lint/UnexpectedBlockArity:
|
89
95
|
Enabled: true
|
90
96
|
|
@@ -97,6 +103,9 @@ Lint/UnusedBlockArgument:
|
|
97
103
|
Lint/UselessAssignment:
|
98
104
|
Enabled: true
|
99
105
|
|
106
|
+
Lint/UselessNumericOperation:
|
107
|
+
Enabled: true
|
108
|
+
|
100
109
|
Lint/UselessRescue:
|
101
110
|
Enabled: true
|
102
111
|
|
data/cops/style.yml
CHANGED
@@ -1,15 +1,24 @@
|
|
1
|
+
Style/AmbiguousEndlessMethodDefinition:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Style/ArgumentsForwarding:
|
2
5
|
Enabled: true
|
3
6
|
|
4
7
|
Style/ArrayIntersect:
|
5
8
|
Enabled: true
|
6
9
|
|
10
|
+
Style/BitwisePredicate:
|
11
|
+
Enabled: true
|
12
|
+
|
7
13
|
Style/ClassAndModuleChildren:
|
8
14
|
EnforcedStyle: compact
|
9
15
|
|
10
16
|
Style/CollectionCompact:
|
11
17
|
Enabled: true
|
12
18
|
|
19
|
+
Style/CombinableDefined:
|
20
|
+
Enabled: true
|
21
|
+
|
13
22
|
Style/ComparableClamp:
|
14
23
|
Enabled: true
|
15
24
|
|
@@ -82,6 +91,9 @@ Style/IfWithBooleanLiteralBranches:
|
|
82
91
|
Style/InPatternThen:
|
83
92
|
Enabled: false
|
84
93
|
|
94
|
+
Style/KeywordArgumentsMerging:
|
95
|
+
Enabled: true
|
96
|
+
|
85
97
|
Style/Lambda:
|
86
98
|
EnforcedStyle: literal
|
87
99
|
|
@@ -94,6 +106,9 @@ Style/MagicCommentFormat:
|
|
94
106
|
Style/MapCompactWithConditionalBlock:
|
95
107
|
Enabled: true
|
96
108
|
|
109
|
+
Style/MapIntoArray:
|
110
|
+
Enabled: true
|
111
|
+
|
97
112
|
Style/MapToHash:
|
98
113
|
Enabled: true
|
99
114
|
|
@@ -184,6 +199,9 @@ Style/RedundantHeredocDelimiterQuotes:
|
|
184
199
|
Style/RedundantInitialize:
|
185
200
|
Enabled: true
|
186
201
|
|
202
|
+
Style/RedundantInterpolationUnfreeze:
|
203
|
+
Enabled: true
|
204
|
+
|
187
205
|
Style/RedundantLineContinuation:
|
188
206
|
Enabled: true
|
189
207
|
|
@@ -205,15 +223,28 @@ Style/RedundantStringEscape:
|
|
205
223
|
Style/ReturnNilInPredicateMethodDefinition:
|
206
224
|
Enabled: true
|
207
225
|
|
226
|
+
Style/SafeNavigationChainLength:
|
227
|
+
Enabled: false
|
228
|
+
|
208
229
|
Style/SelectByRegexp:
|
209
230
|
Enabled: true
|
210
231
|
|
232
|
+
Style/SendWithLiteralMethodName:
|
233
|
+
Enabled: true
|
234
|
+
|
211
235
|
Style/SingleLineDoEndBlock:
|
212
236
|
Enabled: true
|
213
237
|
|
214
238
|
Style/StringChars:
|
215
239
|
Enabled: true
|
216
240
|
|
241
|
+
Style/StringLiterals:
|
242
|
+
Enabled: true
|
243
|
+
EnforcedStyle: double_quotes
|
244
|
+
|
245
|
+
Style/SuperArguments:
|
246
|
+
Enabled: true
|
247
|
+
|
217
248
|
Style/SuperWithArgsParentheses:
|
218
249
|
Enabled: true
|
219
250
|
|
data/ruboconf.gemspec
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.name =
|
5
|
-
spec.version =
|
6
|
-
spec.authors = [
|
7
|
-
spec.email = [
|
4
|
+
spec.name = "ruboconf"
|
5
|
+
spec.version = "1.16.0"
|
6
|
+
spec.authors = ["Richard Böhme"]
|
7
|
+
spec.email = ["richard.boehme1999@gmail.com"]
|
8
8
|
|
9
|
-
spec.summary =
|
10
|
-
spec.homepage =
|
11
|
-
spec.license =
|
12
|
-
spec.required_ruby_version =
|
9
|
+
spec.summary = "Opinionated Rubocop configuration for personal projects."
|
10
|
+
spec.homepage = "https://github.com/richardboehme/ruboconf"
|
11
|
+
spec.license = "MIT"
|
12
|
+
spec.required_ruby_version = ">= 2.6.0"
|
13
13
|
|
14
|
-
spec.metadata[
|
15
|
-
spec.metadata[
|
14
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
15
|
+
spec.metadata["source_code_uri"] = "https://github.com/richardboehme/ruboconf"
|
16
16
|
|
17
17
|
# Specify which files should be added to the gem when it is released.
|
18
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.add_dependency
|
26
|
-
spec.add_dependency
|
27
|
-
spec.metadata[
|
25
|
+
spec.add_dependency "rubocop", "~> 1.68.0"
|
26
|
+
spec.add_dependency "rubocop-performance", "~> 1.22.0"
|
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.16.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: 2024-
|
11
|
+
date: 2024-11-10 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.68.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.
|
26
|
+
version: 1.68.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.
|
33
|
+
version: 1.22.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.
|
40
|
+
version: 1.22.0
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|