ruboconf 1.2.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cops/gemspec.yml +1 -1
- data/cops/layout.yml +6 -0
- data/cops/lint.yml +12 -0
- data/cops/naming.yml +4 -0
- data/cops/security.yml +3 -0
- data/cops/style.yml +21 -0
- data/ruboconf.gemspec +4 -4
- data/ruboconf.yml +1 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 116882ec7e5f37cf8d4186602eb6edfc95344364844a1fc2ff580c91e388343a
|
4
|
+
data.tar.gz: e43a4d30d37ed410db88ba837193e677cb5afb578da17f1c2f98ad1a0fb963c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed017776c648c3ef6e1e078cba45b5d4830d66ef678299b6457caf63dd0007300856d604f754051c6ff83f7009152889ee3a3f260353a864425a547f57913aae
|
7
|
+
data.tar.gz: 8fa47c65801d1d00138f22347fc8ca0cb233a16c0787f5cee0cf29316d02e4e1c2c35cc85190a597c6f01ad83d4d4cc3e7f7d3e45491ab299443695bd3ad0992
|
data/cops/gemspec.yml
CHANGED
data/cops/layout.yml
CHANGED
@@ -24,6 +24,12 @@ Layout/ExtraSpacing:
|
|
24
24
|
Layout/FirstArgumentIndentation:
|
25
25
|
Enabled: true
|
26
26
|
|
27
|
+
Layout/LineContinuationLeadingSpace:
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
Layout/LineContinuationSpacing:
|
31
|
+
Enabled: true
|
32
|
+
|
27
33
|
Layout/LineEndStringConcatenationIndentation:
|
28
34
|
Enabled: true
|
29
35
|
|
data/cops/lint.yml
CHANGED
@@ -7,6 +7,9 @@ Lint/AmbiguousOperatorPrecedence:
|
|
7
7
|
Lint/AmbiguousRange:
|
8
8
|
Enabled: true
|
9
9
|
|
10
|
+
Lint/ConstantOverwrittenInRescue:
|
11
|
+
Enabled: true
|
12
|
+
|
10
13
|
Lint/DeprecatedConstants:
|
11
14
|
Enabled: true
|
12
15
|
|
@@ -34,6 +37,9 @@ Lint/LambdaWithoutLiteralBlock:
|
|
34
37
|
Lint/NoReturnInBeginEndBlocks:
|
35
38
|
Enabled: true
|
36
39
|
|
40
|
+
Lint/NonAtomicFileOperation:
|
41
|
+
Enabled: true
|
42
|
+
|
37
43
|
Lint/NumberedParameterAssignment:
|
38
44
|
Enabled: true
|
39
45
|
|
@@ -43,6 +49,12 @@ Lint/OrAssignmentToConstant:
|
|
43
49
|
Lint/RedundantDirGlobSort:
|
44
50
|
Enabled: true
|
45
51
|
|
52
|
+
Lint/RefinementImportMethods:
|
53
|
+
Enabled: true
|
54
|
+
|
55
|
+
Lint/RequireRangeParentheses:
|
56
|
+
Enabled: true
|
57
|
+
|
46
58
|
Lint/RequireRelativeSelfPath:
|
47
59
|
Enabled: true
|
48
60
|
|
data/cops/naming.yml
CHANGED
data/cops/security.yml
CHANGED
data/cops/style.yml
CHANGED
@@ -13,12 +13,21 @@ Style/Documentation:
|
|
13
13
|
Style/DocumentDynamicEvalDefinition:
|
14
14
|
Enabled: true
|
15
15
|
|
16
|
+
Style/EmptyHeredoc:
|
17
|
+
Enabled: true
|
18
|
+
|
16
19
|
Style/EmptyMethod:
|
17
20
|
EnforcedStyle: expanded
|
18
21
|
|
19
22
|
Style/EndlessMethod:
|
20
23
|
Enabled: true
|
21
24
|
|
25
|
+
Style/EnvHome:
|
26
|
+
Enabled: true
|
27
|
+
|
28
|
+
Style/FetchEnvVar:
|
29
|
+
Enabled: true
|
30
|
+
|
22
31
|
Style/FileRead:
|
23
32
|
Enabled: true
|
24
33
|
|
@@ -58,6 +67,9 @@ Style/Lambda:
|
|
58
67
|
Style/LambdaCall:
|
59
68
|
EnforcedStyle: braces
|
60
69
|
|
70
|
+
Style/MapCompactWithConditionalBlock:
|
71
|
+
Enabled: true
|
72
|
+
|
61
73
|
Style/MapToHash:
|
62
74
|
Enabled: true
|
63
75
|
|
@@ -70,6 +82,9 @@ Style/NegatedIf:
|
|
70
82
|
Style/NegatedIfElseCondition:
|
71
83
|
Enabled: false
|
72
84
|
|
85
|
+
Style/NestedFileDirname:
|
86
|
+
Enabled: true
|
87
|
+
|
73
88
|
Style/Next:
|
74
89
|
Enabled: false
|
75
90
|
|
@@ -85,6 +100,9 @@ Style/NumberedParametersLimit:
|
|
85
100
|
Style/NumericLiterals:
|
86
101
|
Enabled: true
|
87
102
|
|
103
|
+
Style/ObjectThen:
|
104
|
+
Enabled: true
|
105
|
+
|
88
106
|
Style/OpenStructUse:
|
89
107
|
Enabled: true
|
90
108
|
|
@@ -109,6 +127,9 @@ Style/RedundantFetchBlock:
|
|
109
127
|
Style/RedundantFreeze:
|
110
128
|
Enabled: true
|
111
129
|
|
130
|
+
Style/RedundantInitialize:
|
131
|
+
Enabled: true
|
132
|
+
|
112
133
|
Style/RedundantSelf:
|
113
134
|
Enabled: true
|
114
135
|
|
data/ruboconf.gemspec
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'ruboconf'
|
5
|
-
spec.version = '1.
|
5
|
+
spec.version = '1.5.0'
|
6
6
|
spec.authors = ['Richard Böhme']
|
7
7
|
spec.email = ['richard.boehme1999@gmail.com']
|
8
8
|
|
9
9
|
spec.summary = 'Opinionated Rubocop configuration for personal projects.'
|
10
10
|
spec.homepage = 'https://github.com/richardboehme/ruboconf'
|
11
11
|
spec.license = 'MIT'
|
12
|
-
spec.required_ruby_version = '>= 2.
|
12
|
+
spec.required_ruby_version = '>= 2.6.0'
|
13
13
|
|
14
14
|
spec.metadata['homepage_uri'] = spec.homepage
|
15
15
|
spec.metadata['source_code_uri'] = 'https://github.com/richardboehme/ruboconf'
|
@@ -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.32'
|
26
|
+
spec.add_dependency 'rubocop-performance', '~> 1.14'
|
27
27
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
28
28
|
end
|
data/ruboconf.yml
CHANGED
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.5.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: 2022-
|
11
|
+
date: 2022-08-12 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.32'
|
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.32'
|
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.14'
|
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.14'
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|
@@ -77,14 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 2.
|
80
|
+
version: 2.6.0
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
87
|
+
rubygems_version: 3.3.7
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Opinionated Rubocop configuration for personal projects.
|