ergomentum_rubocop 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f914b68579f4a0b4c6b6614f7a1852e3cd6ea362f848db01223194ad7bc4fc19
4
- data.tar.gz: 834c944576e5cf9a4a8b68db08fe1362488df5993d851f28c0fa3b0933d74379
3
+ metadata.gz: e2826d1bae374869cbc039c9b839a613cf9ed4522b627d86f5c27ea30599d4f7
4
+ data.tar.gz: 71d8cb0144c3eaf00d48397e35bcb6186713df3d917dc5b7bb6adc234810382b
5
5
  SHA512:
6
- metadata.gz: 667d5e76e6c6fe1c26b98676d075dfe5be85e162c2d6e730e0e7c4bc65ffd4f31fbfb68461a6331548231456c4836b97292ef920e7f647951145860d35d53b01
7
- data.tar.gz: b8ccf636b33c36b304246a54093ee4856bf3068730a01565ce64341029ba9da813644295918ce3128637099d8d20906635c66e85780799e8cdc6d821a44bb736
6
+ metadata.gz: c78ec434cfb9a8145a506af168c1a89a724e7e45af6794f13b4cdcf6736b95d9886e73b6ce2788c0ab96a2280ba4854d338cdbe3ef9011e7e6168a3d1e67ee0b
7
+ data.tar.gz: f1caadfdc05a324068bc5f706e5e2a3ef7d6514e658f0a56ffd6160543c41107d6563f43046fffdadbd0aa3d2ae9c5b60b5c9a401d68160bd05ecd27793394e7
@@ -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:
@@ -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.0.0"
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.24.1"
27
- spec.add_dependency "rubocop-performance", "~> 1.13.1"
28
- spec.add_dependency "rubocop-rails", "~> 2.13.1"
26
+ spec.add_dependency "rubocop", "~> 1.29.0"
27
+ spec.add_dependency "rubocop-performance", "~> 1.13.3"
28
+ spec.add_dependency "rubocop-rails", "~> 2.14.2"
29
29
  spec.add_dependency "rubocop-rake", "~> 0.6.0"
30
- spec.add_dependency "rubocop-rspec", "~> 2.7.0"
30
+ spec.add_dependency "rubocop-rspec", "~> 2.10.0"
31
31
 
32
32
  spec.add_development_dependency "byebug", "~> 11.1.3"
33
33
  spec.add_development_dependency "rake", "~> 13.0.6"
34
- spec.add_development_dependency "rspec", "~> 3.10.0"
34
+ spec.add_development_dependency "rspec", "~> 3.11.0"
35
35
  spec.add_development_dependency "rspec_junit_formatter", "~> 0.5.1"
36
36
  spec.add_development_dependency "simplecov", "~> 0.21.2"
37
37
  spec.add_development_dependency "test-prof", "~> 1.0.7"
38
38
  spec.add_development_dependency "webmock", "~> 3.14.0"
39
+ spec.metadata["rubygems_mfa_required"] = "true"
39
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ErgomentumRubocop
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.0"
5
5
  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.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ERGOMENTUM
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-14 00:00:00.000000000 Z
11
+ date: 2022-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.24.1
19
+ version: 1.29.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.24.1
26
+ version: 1.29.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.13.1
33
+ version: 1.13.3
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.1
40
+ version: 1.13.3
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.13.1
47
+ version: 2.14.2
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.13.1
54
+ version: 2.14.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.7.0
75
+ version: 2.10.0
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.7.0
82
+ version: 2.10.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: byebug
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 3.10.0
117
+ version: 3.11.0
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.10.0
124
+ version: 3.11.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec_junit_formatter
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -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.0.0
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.2.15
221
+ rubygems_version: 3.3.3
221
222
  signing_key:
222
223
  specification_version: 4
223
224
  summary: ERGOMENTUM Rubocop definitions