rubocop-next 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop-next.gemspec +8 -6
  3. data/rubocop.yml +197 -9
  4. metadata +37 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcf30b547cc7d5f3a7cd4704fcd5faf99e3f3bf99c4b557678454d433a83a45c
4
- data.tar.gz: 39cf24c87ebde4f9024f8b46dfe6c6397686936f17db92195ad69f16de13ba44
3
+ metadata.gz: a1f8eddf778c49db9aa879e9cd215029d4db74ff8854e82357106c962a996723
4
+ data.tar.gz: a868d632827b13cb27da660d286cfeb4fce122b600edc47ac7ded6d58ffaa642
5
5
  SHA512:
6
- metadata.gz: d833dc5ea95f79101dc34f2f2c15d3cacce7c5d8996de72d565eb7da881fa69becc849e1803aae96e8ce94b0c6d6912265e308f0f9d33ea89c2cf4a250ba5397
7
- data.tar.gz: a5cb097e1f9c857ae16962b86a44c3e0b1f3019278c448e3dcb41f2284ca3f21b25a979473e7ceb7766304823b9cd396f551d15b604ef714c2be05280ef8adf1
6
+ metadata.gz: 514b8e84144bea61c7852eb1f58dc7c3677535c82bbc07314807fd3ad760fe08a28a84182e2b727bd8294ccac565ba258c2f8b2ecdbb9f5ea7b76a960d551747
7
+ data.tar.gz: 8deccae121916b9d49e3fe6828483a8207becd20b1939e3e100fdfded1a0731bd801cc4477c5d66c3d9e2714bc96dd8c1d7b602117ca8f63fbb0ee5bb5d7f016
data/rubocop-next.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'rubocop-next'
5
- spec.version = '1.0.7'
5
+ spec.version = '1.0.8'
6
6
 
7
7
  spec.authors = ['Third Party Transportation Systems LLC']
8
8
  spec.email = 'hello@next-tms.com'
@@ -12,18 +12,20 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = 'https://github.com/next-tms/rubocop-next'
13
13
 
14
14
  spec.metadata = {
15
- 'allowed_push_host' => 'https://rubygems.org',
16
- 'source_code_uri' => "https://github.com/next-tms/rubocop-next/tree/v#{spec.version}"
17
- }
15
+ 'allowed_push_host' => 'https://rubygems.org',
16
+ 'source_code_uri' => "https://github.com/next-tms/rubocop-next/tree/v#{spec.version}"
17
+ }
18
18
 
19
19
  spec.files = ['Gemfile', 'rubocop-next.gemspec', 'rubocop.yml', 'LICENSE']
20
20
 
21
- spec.add_dependency('rubocop', '>= 1.56', '< 1.65')
21
+ spec.add_dependency('benchmark')
22
+ spec.add_dependency('rubocop', '>= 1.91', '< 1.93')
22
23
  spec.add_dependency('rubocop-graphql', '>= 1.4', '< 1.6')
23
24
  spec.add_dependency('rubocop-rails', '>= 2.20.2', '< 2.26.0')
24
25
  spec.add_dependency('rubocop-rake', '~> 0.6.0')
25
26
  spec.add_dependency('rubocop-rspec', '>= 2.23.2', '< 3.1.0')
26
27
  spec.add_dependency('rubocop-shopify', '>= 2.14', '< 2.16')
28
+ spec.add_dependency('tsort')
27
29
 
28
- spec.required_ruby_version = '>= 3.2.0'
30
+ spec.required_ruby_version = '>= 3.3.0'
29
31
  end
data/rubocop.yml CHANGED
@@ -10,10 +10,13 @@ inherit_gem:
10
10
  AllCops:
11
11
  NewCops: disable
12
12
 
13
- GraphQL/ArgumentDescription:
14
- Enabled: false
13
+ Gemspec/AddRuntimeDependency:
14
+ Enabled: true
15
15
 
16
- GraphQL/FieldDescription:
16
+ Gemspec/AttributeAssignment:
17
+ Enabled: true
18
+
19
+ GraphQL/ArgumentDescription:
17
20
  Enabled: false
18
21
 
19
22
  GraphQL/ExtractInputType:
@@ -22,12 +25,18 @@ GraphQL/ExtractInputType:
22
25
  GraphQL/ExtractType:
23
26
  Enabled: false
24
27
 
28
+ GraphQL/FieldDescription:
29
+ Enabled: false
30
+
25
31
  Layout/ArgumentAlignment:
26
32
  EnforcedStyle: with_first_argument
27
33
 
28
34
  Layout/ArrayAlignment:
29
35
  EnforcedStyle: with_first_element
30
36
 
37
+ Layout/EmptyLinesAfterModuleInclusion:
38
+ Enabled: true
39
+
31
40
  Layout/EndAlignment:
32
41
  EnforcedStyleAlignWith: keyword
33
42
 
@@ -40,23 +49,85 @@ Layout/FirstHashElementIndentation:
40
49
 
41
50
  Layout/HashAlignment:
42
51
  Enabled: true
43
- EnforcedStyle: align_braces
44
52
 
45
53
  Layout/LineEndStringConcatenationIndentation:
46
54
  Enabled: true
47
55
  EnforcedStyle: aligned
48
56
 
57
+ Layout/MultilineMethodCallIndentation:
58
+ EnforcedStyle: indented_relative_to_receiver
59
+ IndentationWidth: 0
60
+
49
61
  Layout/MultilineOperationIndentation:
50
62
  EnforcedStyle: aligned
51
63
  IndentationWidth:
52
64
 
53
- Layout/MultilineMethodCallIndentation:
54
- EnforcedStyle: indented_relative_to_receiver
55
- IndentationWidth: 0
65
+ Lint/ArgumentMismatch:
66
+ Enabled: true
67
+
68
+ Lint/ArrayLiteralInRegexp:
69
+ Enabled: true
70
+
71
+ Lint/ConstantReassignment:
72
+ Enabled: true
73
+
74
+ Lint/DataDefineOverride:
75
+ Enabled: true
76
+
77
+ Lint/DeprecatedReference:
78
+ Enabled: true
79
+
80
+ Lint/DuplicateSetElement:
81
+ Enabled: true
82
+
83
+ Lint/HashNewWithKeywordArgumentsAsDefault:
84
+ Enabled: true
56
85
 
57
86
  Lint/LambdaWithoutLiteralBlock:
58
87
  Enabled: true
59
88
 
89
+ Lint/MisplacedMagicComment:
90
+ Enabled: true
91
+
92
+ Lint/NameTypo:
93
+ Enabled: true
94
+
95
+ Lint/NumericOperationWithConstantResult:
96
+ Enabled: true
97
+
98
+ Lint/RedundantTypeConversion:
99
+ Enabled: true
100
+
101
+ Lint/SharedMutableDefault:
102
+ Enabled: true
103
+
104
+ Lint/SuperArgumentMismatch:
105
+ Enabled: true
106
+
107
+ Lint/SuppressedExceptionInNumberConversion:
108
+ Enabled: true
109
+
110
+ Lint/UnescapedBracketInRegexp:
111
+ Enabled: true
112
+
113
+ Lint/UnreachablePatternBranch:
114
+ Enabled: true
115
+
116
+ Lint/UselessConstantScoping:
117
+ Enabled: true
118
+
119
+ Lint/UselessDefaultValueArgument:
120
+ Enabled: true
121
+
122
+ Lint/UselessDefined:
123
+ Enabled: true
124
+
125
+ Lint/UselessNumericOperation:
126
+ Enabled: true
127
+
128
+ Lint/UselessOr:
129
+ Enabled: true
130
+
60
131
  Metrics/AbcSize:
61
132
  Max: 35
62
133
 
@@ -69,23 +140,131 @@ Metrics/MethodLength:
69
140
  Metrics/ModuleLength:
70
141
  Max: 150
71
142
 
143
+ Naming/PredicateMethod:
144
+ Enabled: true
145
+
72
146
  RSpec/MultipleMemoizedHelpers:
73
147
  Enabled: false
74
148
 
149
+ Style/AmbiguousEndlessMethodDefinition:
150
+ Enabled: true
151
+
152
+ Style/ArrayIntersectWithSingleElement:
153
+ Enabled: true
154
+
155
+ Style/BitwisePredicate:
156
+ Enabled: true
157
+
158
+ Style/ClassAndModuleChildren:
159
+ Enabled: false
160
+
161
+ Style/CollectionQuerying:
162
+ Enabled: true
163
+
164
+ Style/CombinableDefined:
165
+ Enabled: true
166
+
167
+ Style/ComparableBetween:
168
+ Enabled: true
169
+
170
+ Style/DigChain:
171
+ Enabled: true
172
+
173
+ Style/DirectiveScope:
174
+ Enabled: true
175
+
75
176
  Style/Documentation:
76
177
  Enabled: false
77
178
 
179
+ Style/EmptyClassDefinition:
180
+ Enabled: true
181
+
182
+ Style/EmptyStringInsideInterpolation:
183
+ Enabled: true
184
+
185
+ Style/FileNull:
186
+ Enabled: true
187
+
188
+ Style/FileOpen:
189
+ Enabled: true
190
+
191
+ Style/FileTouch:
192
+ Enabled: true
193
+
78
194
  Style/GuardClause:
79
195
  Enabled: false
80
196
 
197
+ Style/HashFetchChain:
198
+ Enabled: true
199
+
200
+ Style/HashSlice:
201
+ Enabled: true
202
+
81
203
  Style/HashSyntax:
82
204
  EnforcedShorthandSyntax: always
83
205
 
206
+ Style/ItAssignment:
207
+ Enabled: true
208
+
209
+ Style/ItBlockParameter:
210
+ Enabled: true
211
+
212
+ Style/KeywordArgumentsMerging:
213
+ Enabled: true
214
+
215
+ Style/MapIntoArray:
216
+ Enabled: true
217
+
218
+ Style/MapJoin:
219
+ Enabled: true
220
+
84
221
  Style/ModuleFunction:
85
222
  EnforcedStyle: extend_self
86
223
 
87
- Style/ClassAndModuleChildren:
88
- Enabled: false
224
+ Style/ModuleMemberExistenceCheck:
225
+ Enabled: true
226
+
227
+ Style/NegativeArrayIndex:
228
+ Enabled: true
229
+
230
+ Style/OneClassPerFile:
231
+ Enabled: true
232
+
233
+ Style/PartitionInsteadOfDoubleSelect:
234
+ Enabled: true
235
+
236
+ Style/PredicateWithKind:
237
+ Enabled: true
238
+
239
+ Style/ReduceToHash:
240
+ Enabled: true
241
+
242
+ Style/RedundantArrayFlatten:
243
+ Enabled: true
244
+
245
+ Style/RedundantFormat:
246
+ Enabled: true
247
+
248
+ Style/RedundantInterpolationUnfreeze:
249
+ Enabled: true
250
+
251
+ Style/RedundantMinMaxBy:
252
+ Enabled: true
253
+
254
+ Style/ReverseFind:
255
+ Enabled: true
256
+
257
+ Style/SafeNavigationChainLength:
258
+ Enabled: true
259
+
260
+ Style/SelectByKind:
261
+ Enabled: true
262
+
263
+ Style/SelectByRange:
264
+ Enabled: true
265
+
266
+ Style/SendWithLiteralMethodName:
267
+ Enabled: true
89
268
 
90
269
  Style/StringConcatenation:
91
270
  Enabled: true
@@ -94,8 +273,17 @@ Style/StringConcatenation:
94
273
  Style/StringLiterals:
95
274
  EnforcedStyle: single_quotes
96
275
 
276
+ Style/SuperArguments:
277
+ Enabled: true
278
+
97
279
  Style/SymbolArray:
98
280
  EnforcedStyle: percent
99
281
 
282
+ Style/TallyMethod:
283
+ Enabled: true
284
+
285
+ Style/TimeNow:
286
+ Enabled: true
287
+
100
288
  Style/TrailingCommaInHashLiteral:
101
289
  EnforcedStyleForMultiline: no_comma
metadata CHANGED
@@ -1,35 +1,48 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-next
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Third Party Transportation Systems LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: benchmark
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
13
26
  - !ruby/object:Gem::Dependency
14
27
  name: rubocop
15
28
  requirement: !ruby/object:Gem::Requirement
16
29
  requirements:
17
30
  - - ">="
18
31
  - !ruby/object:Gem::Version
19
- version: '1.56'
32
+ version: '1.91'
20
33
  - - "<"
21
34
  - !ruby/object:Gem::Version
22
- version: '1.65'
35
+ version: '1.93'
23
36
  type: :runtime
24
37
  prerelease: false
25
38
  version_requirements: !ruby/object:Gem::Requirement
26
39
  requirements:
27
40
  - - ">="
28
41
  - !ruby/object:Gem::Version
29
- version: '1.56'
42
+ version: '1.91'
30
43
  - - "<"
31
44
  - !ruby/object:Gem::Version
32
- version: '1.65'
45
+ version: '1.93'
33
46
  - !ruby/object:Gem::Dependency
34
47
  name: rubocop-graphql
35
48
  requirement: !ruby/object:Gem::Requirement
@@ -124,6 +137,20 @@ dependencies:
124
137
  - - "<"
125
138
  - !ruby/object:Gem::Version
126
139
  version: '2.16'
140
+ - !ruby/object:Gem::Dependency
141
+ name: tsort
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
127
154
  description: Rubocop configuration
128
155
  email: hello@next-tms.com
129
156
  executables: []
@@ -138,8 +165,7 @@ homepage: https://github.com/next-tms/rubocop-next
138
165
  licenses: []
139
166
  metadata:
140
167
  allowed_push_host: https://rubygems.org
141
- source_code_uri: https://github.com/next-tms/rubocop-next/tree/v1.0.7
142
- post_install_message:
168
+ source_code_uri: https://github.com/next-tms/rubocop-next/tree/v1.0.8
143
169
  rdoc_options: []
144
170
  require_paths:
145
171
  - lib
@@ -147,15 +173,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
173
  requirements:
148
174
  - - ">="
149
175
  - !ruby/object:Gem::Version
150
- version: 3.2.0
176
+ version: 3.3.0
151
177
  required_rubygems_version: !ruby/object:Gem::Requirement
152
178
  requirements:
153
179
  - - ">="
154
180
  - !ruby/object:Gem::Version
155
181
  version: '0'
156
182
  requirements: []
157
- rubygems_version: 3.4.10
158
- signing_key:
183
+ rubygems_version: 4.0.20
159
184
  specification_version: 4
160
185
  summary: Rubocop configuration
161
186
  test_files: []