ruboconf 1.15.0 → 1.17.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 +15 -13
- data/Rakefile +1 -1
- data/cops/lint.yml +21 -0
- data/cops/performance.yml +3 -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: d1a9615d7916a83bda00d547db133593a642c730b6052138da85b8213e745df7
|
4
|
+
data.tar.gz: c14fa01c649510b80ed2bb756411754609832bd2ac07bcc2d9bcd5abe4b1d430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c24614de6756c185cdfce08f1ca4ca5bb766ac4113dd3ee1973bc67a8037afd3b497cc71f6163519dfe4cbee071816f2b4e4237569df577b45db75d9fd56c42
|
7
|
+
data.tar.gz: bfab825c380811986751f921ee86f71ecb02ad77e44d3b17657ad8e28f05459f497338a810ec8db41fd7fcbe84b6bf5a667674ccbe61929b521eecb2337b2de5
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,41 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruboconf (1.
|
5
|
-
rubocop (~> 1.
|
6
|
-
rubocop-performance (~> 1.
|
4
|
+
ruboconf (1.17.0)
|
5
|
+
rubocop (~> 1.70.0)
|
6
|
+
rubocop-performance (~> 1.23.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.9.1)
|
13
13
|
language_server-protocol (3.17.0.3)
|
14
14
|
parallel (1.26.3)
|
15
|
-
parser (3.3.
|
15
|
+
parser (3.3.7.0)
|
16
16
|
ast (~> 2.4.1)
|
17
17
|
racc
|
18
18
|
racc (1.8.1)
|
19
19
|
rainbow (3.1.1)
|
20
20
|
rake (13.2.1)
|
21
|
-
regexp_parser (2.
|
22
|
-
rubocop (1.
|
21
|
+
regexp_parser (2.10.0)
|
22
|
+
rubocop (1.70.0)
|
23
23
|
json (~> 2.3)
|
24
24
|
language_server-protocol (>= 3.17.0)
|
25
25
|
parallel (~> 1.10)
|
26
26
|
parser (>= 3.3.0.2)
|
27
27
|
rainbow (>= 2.2.2, < 4.0)
|
28
|
-
regexp_parser (>= 2.
|
29
|
-
rubocop-ast (>= 1.
|
28
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
29
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
30
30
|
ruby-progressbar (~> 1.7)
|
31
|
-
unicode-display_width (>= 2.4.0, <
|
32
|
-
rubocop-ast (1.
|
31
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
32
|
+
rubocop-ast (1.37.0)
|
33
33
|
parser (>= 3.3.1.0)
|
34
|
-
rubocop-performance (1.
|
34
|
+
rubocop-performance (1.23.1)
|
35
35
|
rubocop (>= 1.48.1, < 2.0)
|
36
36
|
rubocop-ast (>= 1.31.1, < 2.0)
|
37
37
|
ruby-progressbar (1.13.0)
|
38
|
-
unicode-display_width (
|
38
|
+
unicode-display_width (3.1.4)
|
39
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
40
|
+
unicode-emoji (4.0.4)
|
39
41
|
|
40
42
|
PLATFORMS
|
41
43
|
x86_64-linux
|
data/Rakefile
CHANGED
data/cops/lint.yml
CHANGED
@@ -10,6 +10,9 @@ Lint/AmbiguousRange:
|
|
10
10
|
Lint/ConstantOverwrittenInRescue:
|
11
11
|
Enabled: true
|
12
12
|
|
13
|
+
Lint/ConstantReassignment:
|
14
|
+
Enabled: true
|
15
|
+
|
13
16
|
Lint/DeprecatedConstants:
|
14
17
|
Enabled: true
|
15
18
|
|
@@ -25,6 +28,9 @@ Lint/DuplicateMatchPattern:
|
|
25
28
|
Lint/DuplicateRegexpCharacterClassElement:
|
26
29
|
Enabled: true
|
27
30
|
|
31
|
+
Lint/DuplicateSetElement:
|
32
|
+
Enabled: true
|
33
|
+
|
28
34
|
Lint/EmptyBlock:
|
29
35
|
Enabled: true
|
30
36
|
|
@@ -34,6 +40,9 @@ Lint/EmptyClass:
|
|
34
40
|
Lint/EmptyInPattern:
|
35
41
|
Enabled: true
|
36
42
|
|
43
|
+
Lint/HashNewWithKeywordArgumentsAsDefault:
|
44
|
+
Enabled: true
|
45
|
+
|
37
46
|
Lint/IncompatibleIoSelectWithFiberScheduler:
|
38
47
|
Enabled: true
|
39
48
|
|
@@ -58,6 +67,9 @@ Lint/NonAtomicFileOperation:
|
|
58
67
|
Lint/NumberedParameterAssignment:
|
59
68
|
Enabled: true
|
60
69
|
|
70
|
+
Lint/NumericOperationWithConstantResult:
|
71
|
+
Enabled: true
|
72
|
+
|
61
73
|
Lint/OrAssignmentToConstant:
|
62
74
|
Enabled: true
|
63
75
|
|
@@ -76,6 +88,9 @@ Lint/RequireRangeParentheses:
|
|
76
88
|
Lint/RequireRelativeSelfPath:
|
77
89
|
Enabled: true
|
78
90
|
|
91
|
+
Lint/SharedMutableDefault:
|
92
|
+
Enabled: true
|
93
|
+
|
79
94
|
Lint/SymbolConversion:
|
80
95
|
Enabled: true
|
81
96
|
|
@@ -85,6 +100,9 @@ Lint/ToEnumArguments:
|
|
85
100
|
Lint/TripleQuotes:
|
86
101
|
Enabled: true
|
87
102
|
|
103
|
+
Lint/UnescapedBracketInRegexp:
|
104
|
+
Enabled: true
|
105
|
+
|
88
106
|
Lint/UnexpectedBlockArity:
|
89
107
|
Enabled: true
|
90
108
|
|
@@ -97,6 +115,9 @@ Lint/UnusedBlockArgument:
|
|
97
115
|
Lint/UselessAssignment:
|
98
116
|
Enabled: true
|
99
117
|
|
118
|
+
Lint/UselessDefined:
|
119
|
+
Enabled: true
|
120
|
+
|
100
121
|
Lint/UselessNumericOperation:
|
101
122
|
Enabled: true
|
102
123
|
|
data/cops/performance.yml
CHANGED
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
|
|
@@ -19,6 +28,9 @@ Style/ConcatArrayLiterals:
|
|
19
28
|
Style/DataInheritance:
|
20
29
|
Enabled: true
|
21
30
|
|
31
|
+
Style/DigChain:
|
32
|
+
Enabled: true
|
33
|
+
|
22
34
|
Style/DirEmpty:
|
23
35
|
Enabled: true
|
24
36
|
|
@@ -49,9 +61,15 @@ Style/FetchEnvVar:
|
|
49
61
|
Style/FileEmpty:
|
50
62
|
Enabled: true
|
51
63
|
|
64
|
+
Style/FileNull:
|
65
|
+
Enabled: true
|
66
|
+
|
52
67
|
Style/FileRead:
|
53
68
|
Enabled: true
|
54
69
|
|
70
|
+
Style/FileTouch:
|
71
|
+
Enabled: true
|
72
|
+
|
55
73
|
Style/FileWrite:
|
56
74
|
Enabled: true
|
57
75
|
|
@@ -82,6 +100,12 @@ Style/IfWithBooleanLiteralBranches:
|
|
82
100
|
Style/InPatternThen:
|
83
101
|
Enabled: false
|
84
102
|
|
103
|
+
Style/ItAssignment:
|
104
|
+
Enabled: true
|
105
|
+
|
106
|
+
Style/KeywordArgumentsMerging:
|
107
|
+
Enabled: true
|
108
|
+
|
85
109
|
Style/Lambda:
|
86
110
|
EnforcedStyle: literal
|
87
111
|
|
@@ -211,6 +235,9 @@ Style/RedundantStringEscape:
|
|
211
235
|
Style/ReturnNilInPredicateMethodDefinition:
|
212
236
|
Enabled: true
|
213
237
|
|
238
|
+
Style/SafeNavigationChainLength:
|
239
|
+
Enabled: false
|
240
|
+
|
214
241
|
Style/SelectByRegexp:
|
215
242
|
Enabled: true
|
216
243
|
|
@@ -223,6 +250,10 @@ Style/SingleLineDoEndBlock:
|
|
223
250
|
Style/StringChars:
|
224
251
|
Enabled: true
|
225
252
|
|
253
|
+
Style/StringLiterals:
|
254
|
+
Enabled: true
|
255
|
+
EnforcedStyle: double_quotes
|
256
|
+
|
226
257
|
Style/SuperArguments:
|
227
258
|
Enabled: true
|
228
259
|
|
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.17.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.70.0"
|
26
|
+
spec.add_dependency "rubocop-performance", "~> 1.23.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.17.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:
|
11
|
+
date: 2025-01-20 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.70.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.70.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.23.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.23.0
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|