ergomentum_rubocop 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default_gem.yml +0 -2
- data/config/default_shared.yml +48 -0
- data/ergomentum_rubocop.gemspec +14 -13
- data/lib/ergomentum_rubocop/version.rb +1 -1
- metadata +29 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52917bbb303bf726e854631bcfd27537abac9f7a9ca7f94738571d113ff61b68
|
4
|
+
data.tar.gz: a4389e5fa8908f579150c1672b4a4dcce842d970eb037babc0d7e498eb53a494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1dab0410e4ca59e4cc9cf6d9d5e09e18e54b541ac0a1e8a103aea9c4017238a377c1954c4126eed4277371c744e3a082ff69949b559c0c6d9248be2e6c169d7
|
7
|
+
data.tar.gz: 889f813fc57596a81b912c664a932d0b4693a8db6ff31f2e9ffe5965feef73467ef9470f82d0aaa1667ca66489a971a4c3fb0df6cdd0793fd7558643ffef76d6
|
data/config/default_gem.yml
CHANGED
data/config/default_shared.yml
CHANGED
@@ -5,6 +5,8 @@ AllCops:
|
|
5
5
|
Exclude:
|
6
6
|
- vendor/**/*
|
7
7
|
- node_modules/**/*
|
8
|
+
Gemspec/RequireMFA: # new in 1.23
|
9
|
+
Enabled: true
|
8
10
|
Layout/DotPosition:
|
9
11
|
EnforcedStyle: trailing
|
10
12
|
Layout/FirstArrayElementLineBreak:
|
@@ -25,6 +27,8 @@ Layout/SpaceBeforeBrackets: # (new in 1.7)
|
|
25
27
|
Enabled: true
|
26
28
|
Lint/AmbiguousAssignment: # (new in 1.7)
|
27
29
|
Enabled: true
|
30
|
+
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
31
|
+
Enabled: true
|
28
32
|
Lint/AmbiguousRange: # (new in 1.19)
|
29
33
|
Enabled: true
|
30
34
|
Lint/DeprecatedConstants: # (new in 1.8)
|
@@ -39,6 +43,8 @@ Lint/EmptyClass: # (new in 1.3)
|
|
39
43
|
Enabled: true
|
40
44
|
Lint/EmptyInPattern: # (new in 1.16)
|
41
45
|
Enabled: true
|
46
|
+
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
47
|
+
Enabled: true
|
42
48
|
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
|
43
49
|
Enabled: true
|
44
50
|
Layout/LineEndStringConcatenationIndentation: # (new in 1.18)
|
@@ -51,6 +57,10 @@ Lint/OrAssignmentToConstant: # (new in 1.9)
|
|
51
57
|
Enabled: true
|
52
58
|
Lint/RedundantDirGlobSort: # (new in 1.8)
|
53
59
|
Enabled: true
|
60
|
+
Lint/RefinementImportMethods: # new in 1.27
|
61
|
+
Enabled: true
|
62
|
+
Lint/RequireRelativeSelfPath: # new in 1.22
|
63
|
+
Enabled: true
|
54
64
|
Lint/SymbolConversion: # (new in 1.9)
|
55
65
|
Enabled: true
|
56
66
|
Lint/ToEnumArguments: # (new in 1.1)
|
@@ -61,6 +71,8 @@ Lint/UnexpectedBlockArity: # (new in 1.5)
|
|
61
71
|
Enabled: true
|
62
72
|
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
63
73
|
Enabled: true
|
74
|
+
Lint/UselessRuby2Keywords: # new in 1.23
|
75
|
+
Enabled: true
|
64
76
|
Metrics/AbcSize:
|
65
77
|
Enabled: false
|
66
78
|
Metrics/BlockLength:
|
@@ -78,6 +90,8 @@ Metrics/ModuleLength:
|
|
78
90
|
Enabled: false
|
79
91
|
Metrics/ParameterLists:
|
80
92
|
Enabled: false
|
93
|
+
Naming/BlockForwarding: # new in 1.24
|
94
|
+
Enabled: true
|
81
95
|
Naming/InclusiveLanguage: # (new in 1.18)
|
82
96
|
Enabled: true
|
83
97
|
Naming/PredicateName:
|
@@ -97,6 +111,8 @@ Performance/BlockGivenWithExplicitBlock: # (new in 1.9)
|
|
97
111
|
Enabled: true
|
98
112
|
Performance/CollectionLiteralInLoop: # (new in 1.8)
|
99
113
|
Enabled: true
|
114
|
+
Performance/ConcurrentMonotonicTime: # new in 1.12
|
115
|
+
Enabled: true
|
100
116
|
Performance/ConstantRegexp: # (new in 1.9)
|
101
117
|
Enabled: true
|
102
118
|
Performance/MapCompact: # (new in 1.11)
|
@@ -117,10 +133,16 @@ Performance/SortReverse:
|
|
117
133
|
Enabled: true
|
118
134
|
Performance/Squeeze:
|
119
135
|
Enabled: true
|
136
|
+
Performance/StringIdentifierArgument: # new in 1.13
|
137
|
+
Enabled: true
|
120
138
|
Performance/StringInclude:
|
121
139
|
Enabled: true
|
122
140
|
Performance/Sum:
|
123
141
|
Enabled: true
|
142
|
+
Security/CompoundHash: # new in 1.28
|
143
|
+
Enabled: true
|
144
|
+
Security/IoMethods: # new in 1.22
|
145
|
+
Enabled: true
|
124
146
|
Style/ArgumentsForwarding: # (new in 1.1)
|
125
147
|
Enabled: true
|
126
148
|
Style/AsciiComments:
|
@@ -140,26 +162,48 @@ Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
|
140
162
|
Enabled: true
|
141
163
|
Style/EndlessMethod: # (new in 1.8)
|
142
164
|
Enabled: true
|
165
|
+
Style/EnvHome: # new in 1.29
|
166
|
+
Enabled: true
|
167
|
+
Style/FetchEnvVar: # new in 1.28
|
168
|
+
Enabled: true
|
169
|
+
Style/FileRead: # new in 1.24
|
170
|
+
Enabled: true
|
171
|
+
Style/FileWrite: # new in 1.24
|
172
|
+
Enabled: true
|
143
173
|
Style/HashConversion: # (new in 1.10)
|
144
174
|
Enabled: true
|
145
175
|
Style/HashExcept: # (new in 1.7)
|
146
176
|
Enabled: true
|
177
|
+
Style/HashSyntax:
|
178
|
+
Enabled: false
|
147
179
|
Style/InPatternThen: # (new in 1.16)
|
148
180
|
Enabled: true
|
149
181
|
Style/IfUnlessModifier:
|
150
182
|
Enabled: false
|
151
183
|
Style/IfWithBooleanLiteralBranches: # (new in 1.9)
|
152
184
|
Enabled: true
|
185
|
+
Style/MapToHash: # new in 1.24
|
186
|
+
Enabled: true
|
153
187
|
Style/MultilineBlockChain:
|
154
188
|
Enabled: false
|
155
189
|
Style/MultilineInPatternThen: # (new in 1.16)
|
156
190
|
Enabled: true
|
157
191
|
Style/NegatedIfElseCondition: # (new in 1.2)
|
158
192
|
Enabled: true
|
193
|
+
Style/NestedFileDirname: # new in 1.26
|
194
|
+
Enabled: true
|
159
195
|
Style/Next:
|
160
196
|
Enabled: false
|
161
197
|
Style/NilLambda: # (new in 1.3)
|
162
198
|
Enabled: true
|
199
|
+
Style/NumberedParameters: # new in 1.22
|
200
|
+
Enabled: true
|
201
|
+
Style/NumberedParametersLimit: # new in 1.22
|
202
|
+
Enabled: true
|
203
|
+
Style/ObjectThen: # new in 1.28
|
204
|
+
Enabled: true
|
205
|
+
Style/OpenStructUse: # new in 1.23
|
206
|
+
Enabled: true
|
163
207
|
Style/OptionHash:
|
164
208
|
Enabled: true
|
165
209
|
SuspiciousParamNames:
|
@@ -172,8 +216,12 @@ Style/QuotedSymbols: # (new in 1.16)
|
|
172
216
|
Enabled: true
|
173
217
|
Style/RedundantArgument: # (new in 1.4)
|
174
218
|
Enabled: true
|
219
|
+
Style/RedundantInitialize: # new in 1.27
|
220
|
+
Enabled: true
|
175
221
|
Style/RedundantSelfAssignmentBranch: # (new in 1.19)
|
176
222
|
Enabled: true
|
223
|
+
Style/SelectByRegexp: # new in 1.22
|
224
|
+
Enabled: true
|
177
225
|
Style/StringChars: # (new in 1.12)
|
178
226
|
Enabled: true
|
179
227
|
Style/StringLiterals:
|
data/ergomentum_rubocop.gemspec
CHANGED
@@ -17,23 +17,24 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.files = Dir.glob("{lib,config}/**/*") + %w[README.md Gemfile ergomentum_rubocop.gemspec]
|
18
18
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
|
-
spec.required_ruby_version = ">= 3.
|
20
|
+
spec.required_ruby_version = ">= 3.1.0"
|
21
21
|
|
22
22
|
spec.metadata["homepage_uri"] = spec.homepage
|
23
23
|
spec.metadata["source_code_uri"] = "https://github.com/ergomentum/ergomentum_rubocop/"
|
24
24
|
spec.metadata["changelog_uri"] = "https://github.com/ergomentum/ergomentum_rubocop/blob/main/CHANGELOG.md"
|
25
25
|
|
26
|
-
spec.add_dependency "rubocop", "~> 1.
|
27
|
-
spec.add_dependency "rubocop-performance", "~> 1.13
|
28
|
-
spec.add_dependency "rubocop-rails", "~> 2.
|
29
|
-
spec.add_dependency "rubocop-rake", "~> 0.6
|
30
|
-
spec.add_dependency "rubocop-rspec", "~> 2.
|
26
|
+
spec.add_dependency "rubocop", "~> 1.29"
|
27
|
+
spec.add_dependency "rubocop-performance", "~> 1.13"
|
28
|
+
spec.add_dependency "rubocop-rails", "~> 2.14"
|
29
|
+
spec.add_dependency "rubocop-rake", "~> 0.6"
|
30
|
+
spec.add_dependency "rubocop-rspec", "~> 2.10"
|
31
31
|
|
32
|
-
spec.add_development_dependency "byebug", "~> 11.1
|
33
|
-
spec.add_development_dependency "rake", "~> 13.0
|
34
|
-
spec.add_development_dependency "rspec", "~> 3.
|
35
|
-
spec.add_development_dependency "rspec_junit_formatter", "~> 0.5
|
36
|
-
spec.add_development_dependency "simplecov", "~> 0.21
|
37
|
-
spec.add_development_dependency "test-prof", "~> 1.0
|
38
|
-
spec.add_development_dependency "webmock", "~> 3.14
|
32
|
+
spec.add_development_dependency "byebug", "~> 11.1"
|
33
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
34
|
+
spec.add_development_dependency "rspec", "~> 3.11"
|
35
|
+
spec.add_development_dependency "rspec_junit_formatter", "~> 0.5"
|
36
|
+
spec.add_development_dependency "simplecov", "~> 0.21"
|
37
|
+
spec.add_development_dependency "test-prof", "~> 1.0"
|
38
|
+
spec.add_development_dependency "webmock", "~> 3.14"
|
39
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
39
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ergomentum_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ERGOMENTUM
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,168 +16,168 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.29'
|
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.29'
|
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.13
|
33
|
+
version: '1.13'
|
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.13
|
40
|
+
version: '1.13'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: '2.14'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: '2.14'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.6
|
61
|
+
version: '0.6'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.6
|
68
|
+
version: '0.6'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: '2.10'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: '2.10'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: byebug
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 11.1
|
89
|
+
version: '11.1'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 11.1
|
96
|
+
version: '11.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 13.0
|
103
|
+
version: '13.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 13.0
|
110
|
+
version: '13.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 3.
|
117
|
+
version: '3.11'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.
|
124
|
+
version: '3.11'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rspec_junit_formatter
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.5
|
131
|
+
version: '0.5'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.5
|
138
|
+
version: '0.5'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: simplecov
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.21
|
145
|
+
version: '0.21'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.21
|
152
|
+
version: '0.21'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: test-prof
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.0
|
159
|
+
version: '1.0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.0
|
166
|
+
version: '1.0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: webmock
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.14
|
173
|
+
version: '3.14'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 3.14
|
180
|
+
version: '3.14'
|
181
181
|
description: 'Rubocop style checking for ERGOMENTUM projects.
|
182
182
|
|
183
183
|
'
|
@@ -202,6 +202,7 @@ metadata:
|
|
202
202
|
homepage_uri: https://www.ergomentum.de/
|
203
203
|
source_code_uri: https://github.com/ergomentum/ergomentum_rubocop/
|
204
204
|
changelog_uri: https://github.com/ergomentum/ergomentum_rubocop/blob/main/CHANGELOG.md
|
205
|
+
rubygems_mfa_required: 'true'
|
205
206
|
post_install_message:
|
206
207
|
rdoc_options: []
|
207
208
|
require_paths:
|
@@ -210,14 +211,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
211
|
requirements:
|
211
212
|
- - ">="
|
212
213
|
- !ruby/object:Gem::Version
|
213
|
-
version: 3.
|
214
|
+
version: 3.1.0
|
214
215
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
216
|
requirements:
|
216
217
|
- - ">="
|
217
218
|
- !ruby/object:Gem::Version
|
218
219
|
version: '0'
|
219
220
|
requirements: []
|
220
|
-
rubygems_version: 3.
|
221
|
+
rubygems_version: 3.3.3
|
221
222
|
signing_key:
|
222
223
|
specification_version: 4
|
223
224
|
summary: ERGOMENTUM Rubocop definitions
|