trailblazer 2.1.1 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ci.yml +16 -0
- data/CHANGES.md +16 -15
- data/README.md +59 -153
- data/lib/trailblazer/version.rb +1 -1
- data/test/test_helper.rb +1 -36
- data/test/trailblazer_test.rb +99 -0
- data/trailblazer.gemspec +9 -7
- metadata +70 -17
- data/.rubocop-https---raw-githubusercontent-com-trailblazer-meta-master-rubocop-yml +0 -101
- data/.rubocop.yml +0 -20
- data/.rubocop_todo.yml +0 -556
- data/.travis.yml +0 -9
data/.rubocop_todo.yml
DELETED
@@ -1,556 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2018-06-20 07:55:52 +0800 using RuboCop version 0.57.2.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 9
|
10
|
-
# Configuration parameters: Include.
|
11
|
-
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
12
|
-
Bundler/DuplicatedGem:
|
13
|
-
Exclude:
|
14
|
-
- 'Gemfile'
|
15
|
-
|
16
|
-
# Offense count: 4
|
17
|
-
# Cop supports --auto-correct.
|
18
|
-
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
19
|
-
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
20
|
-
Bundler/OrderedGems:
|
21
|
-
Exclude:
|
22
|
-
- 'Gemfile'
|
23
|
-
|
24
|
-
# Offense count: 1
|
25
|
-
# Cop supports --auto-correct.
|
26
|
-
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
27
|
-
# Include: **/*.gemspec
|
28
|
-
Gemspec/OrderedDependencies:
|
29
|
-
Exclude:
|
30
|
-
- 'trailblazer.gemspec'
|
31
|
-
|
32
|
-
# Offense count: 1
|
33
|
-
# Configuration parameters: Include.
|
34
|
-
# Include: **/*.gemspec
|
35
|
-
Gemspec/RequiredRubyVersion:
|
36
|
-
Exclude:
|
37
|
-
- 'trailblazer.gemspec'
|
38
|
-
|
39
|
-
# Offense count: 1
|
40
|
-
# Cop supports --auto-correct.
|
41
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
42
|
-
# SupportedStyles: outdent, indent
|
43
|
-
Layout/AccessModifierIndentation:
|
44
|
-
Exclude:
|
45
|
-
- 'lib/trailblazer/dsl.rb'
|
46
|
-
|
47
|
-
# Offense count: 1
|
48
|
-
# Cop supports --auto-correct.
|
49
|
-
Layout/BlockEndNewline:
|
50
|
-
Exclude:
|
51
|
-
- 'lib/trailblazer/operation/module.rb'
|
52
|
-
|
53
|
-
# Offense count: 19
|
54
|
-
# Cop supports --auto-correct.
|
55
|
-
Layout/CommentIndentation:
|
56
|
-
Exclude:
|
57
|
-
- 'test/docs/fast_test.rb'
|
58
|
-
- 'test/docs/operation_test.rb'
|
59
|
-
- 'test/docs/trace_test.rb'
|
60
|
-
- 'test/variables_test.rb'
|
61
|
-
|
62
|
-
# Offense count: 5
|
63
|
-
# Cop supports --auto-correct.
|
64
|
-
# Configuration parameters: EnforcedStyle.
|
65
|
-
# SupportedStyles: leading, trailing
|
66
|
-
Layout/DotPosition:
|
67
|
-
Exclude:
|
68
|
-
- 'test/variables_test.rb'
|
69
|
-
|
70
|
-
# Offense count: 7
|
71
|
-
# Cop supports --auto-correct.
|
72
|
-
# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
73
|
-
Layout/EmptyLineBetweenDefs:
|
74
|
-
Exclude:
|
75
|
-
- 'test/docs/fast_test.rb'
|
76
|
-
- 'test/test_helper.rb'
|
77
|
-
|
78
|
-
# Offense count: 17
|
79
|
-
# Cop supports --auto-correct.
|
80
|
-
Layout/EmptyLines:
|
81
|
-
Exclude:
|
82
|
-
- 'test/benchmark.rb'
|
83
|
-
- 'test/docs/fast_test.rb'
|
84
|
-
- 'test/docs/operation_test.rb'
|
85
|
-
- 'test/dsl/contract_test.rb'
|
86
|
-
- 'test/module_test.rb'
|
87
|
-
|
88
|
-
# Offense count: 2
|
89
|
-
# Cop supports --auto-correct.
|
90
|
-
Layout/EmptyLinesAroundAccessModifier:
|
91
|
-
Exclude:
|
92
|
-
- 'lib/trailblazer/dsl.rb'
|
93
|
-
- 'lib/trailblazer/operation/test.rb'
|
94
|
-
|
95
|
-
# Offense count: 2
|
96
|
-
# Cop supports --auto-correct.
|
97
|
-
# Configuration parameters: EnforcedStyle.
|
98
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
99
|
-
Layout/EmptyLinesAroundBlockBody:
|
100
|
-
Exclude:
|
101
|
-
- 'lib/trailblazer/operation/module.rb'
|
102
|
-
- 'test/dsl/contract_test.rb'
|
103
|
-
|
104
|
-
# Offense count: 1
|
105
|
-
# Cop supports --auto-correct.
|
106
|
-
Layout/EmptyLinesAroundMethodBody:
|
107
|
-
Exclude:
|
108
|
-
- 'lib/trailblazer/operation/test.rb'
|
109
|
-
|
110
|
-
# Offense count: 24
|
111
|
-
# Configuration parameters: EnforcedStyle.
|
112
|
-
# SupportedStyles: native, lf, crlf
|
113
|
-
Layout/EndOfLine:
|
114
|
-
Enabled: false
|
115
|
-
|
116
|
-
# Offense count: 16
|
117
|
-
# Cop supports --auto-correct.
|
118
|
-
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
119
|
-
Layout/ExtraSpacing:
|
120
|
-
Exclude:
|
121
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
122
|
-
- 'test/benchmark.rb'
|
123
|
-
- 'test/docs/fast_test.rb'
|
124
|
-
- 'test/docs/operation_test.rb'
|
125
|
-
- 'test/dsl/contract_test.rb'
|
126
|
-
- 'test/variables_test.rb'
|
127
|
-
|
128
|
-
# Offense count: 1
|
129
|
-
# Cop supports --auto-correct.
|
130
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
131
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
132
|
-
Layout/IndentHash:
|
133
|
-
Exclude:
|
134
|
-
- 'test/variables_test.rb'
|
135
|
-
|
136
|
-
# Offense count: 10
|
137
|
-
# Cop supports --auto-correct.
|
138
|
-
# Configuration parameters: EnforcedStyle.
|
139
|
-
# SupportedStyles: normal, rails
|
140
|
-
Layout/IndentationConsistency:
|
141
|
-
Exclude:
|
142
|
-
- 'test/docs/operation_test.rb'
|
143
|
-
|
144
|
-
# Offense count: 12
|
145
|
-
# Cop supports --auto-correct.
|
146
|
-
Layout/LeadingCommentSpace:
|
147
|
-
Exclude:
|
148
|
-
- 'test/docs/fast_test.rb'
|
149
|
-
- 'test/docs/operation_test.rb'
|
150
|
-
- 'test/dsl/contract_test.rb'
|
151
|
-
- 'test/variables_test.rb'
|
152
|
-
- 'trailblazer.gemspec'
|
153
|
-
|
154
|
-
# Offense count: 8
|
155
|
-
# Cop supports --auto-correct.
|
156
|
-
Layout/SpaceAfterColon:
|
157
|
-
Exclude:
|
158
|
-
- 'test/docs/fast_test.rb'
|
159
|
-
|
160
|
-
# Offense count: 42
|
161
|
-
# Cop supports --auto-correct.
|
162
|
-
Layout/SpaceAfterComma:
|
163
|
-
Exclude:
|
164
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
165
|
-
- 'test/docs/fast_test.rb'
|
166
|
-
|
167
|
-
# Offense count: 5
|
168
|
-
# Cop supports --auto-correct.
|
169
|
-
# Configuration parameters: .
|
170
|
-
# SupportedStyles: space, no_space
|
171
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
172
|
-
EnforcedStyle: no_space
|
173
|
-
|
174
|
-
# Offense count: 16
|
175
|
-
# Cop supports --auto-correct.
|
176
|
-
# Configuration parameters: AllowForAlignment.
|
177
|
-
Layout/SpaceAroundOperators:
|
178
|
-
Exclude:
|
179
|
-
- 'test/benchmark.rb'
|
180
|
-
- 'test/deprecation/call_test.rb'
|
181
|
-
- 'test/deprecation/context_test.rb'
|
182
|
-
- 'test/docs/operation_test.rb'
|
183
|
-
- 'test/dsl/contract_test.rb'
|
184
|
-
- 'test/variables_test.rb'
|
185
|
-
|
186
|
-
# Offense count: 3
|
187
|
-
# Cop supports --auto-correct.
|
188
|
-
Layout/SpaceBeforeComma:
|
189
|
-
Exclude:
|
190
|
-
- 'test/variables_test.rb'
|
191
|
-
|
192
|
-
# Offense count: 4
|
193
|
-
# Cop supports --auto-correct.
|
194
|
-
Layout/SpaceBeforeComment:
|
195
|
-
Exclude:
|
196
|
-
- 'lib/trailblazer/dsl.rb'
|
197
|
-
- 'test/dsl/contract_test.rb'
|
198
|
-
- 'trailblazer.gemspec'
|
199
|
-
|
200
|
-
# Offense count: 4
|
201
|
-
# Cop supports --auto-correct.
|
202
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
203
|
-
# SupportedStyles: space, no_space, compact
|
204
|
-
# SupportedStylesForEmptyBrackets: space, no_space
|
205
|
-
Layout/SpaceInsideArrayLiteralBrackets:
|
206
|
-
Exclude:
|
207
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
208
|
-
- 'test/benchmark.rb'
|
209
|
-
|
210
|
-
# Offense count: 26
|
211
|
-
# Cop supports --auto-correct.
|
212
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
213
|
-
# SupportedStyles: space, no_space, compact
|
214
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
215
|
-
Layout/SpaceInsideHashLiteralBraces:
|
216
|
-
Exclude:
|
217
|
-
- 'lib/trailblazer/deprecation/call.rb'
|
218
|
-
- 'test/deprecation/call_test.rb'
|
219
|
-
- 'test/docs/fast_test.rb'
|
220
|
-
- 'test/docs/operation_test.rb'
|
221
|
-
|
222
|
-
# Offense count: 93
|
223
|
-
# Cop supports --auto-correct.
|
224
|
-
# Configuration parameters: EnforcedStyle.
|
225
|
-
# SupportedStyles: space, no_space
|
226
|
-
Layout/SpaceInsideParens:
|
227
|
-
Exclude:
|
228
|
-
- 'lib/trailblazer/deprecation/call.rb'
|
229
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
230
|
-
- 'test/deprecation/call_test.rb'
|
231
|
-
- 'test/deprecation/context_test.rb'
|
232
|
-
- 'test/docs/fast_test.rb'
|
233
|
-
- 'test/docs/operation_test.rb'
|
234
|
-
- 'test/docs/trace_test.rb'
|
235
|
-
- 'test/dsl/contract_test.rb'
|
236
|
-
- 'test/variables_test.rb'
|
237
|
-
|
238
|
-
# Offense count: 1
|
239
|
-
# Cop supports --auto-correct.
|
240
|
-
# Configuration parameters: EnforcedStyle.
|
241
|
-
# SupportedStyles: final_newline, final_blank_line
|
242
|
-
Layout/TrailingBlankLines:
|
243
|
-
Exclude:
|
244
|
-
- 'lib/trailblazer/operation/module.rb'
|
245
|
-
|
246
|
-
# Offense count: 2
|
247
|
-
Lint/NestedMethodDefinition:
|
248
|
-
Exclude:
|
249
|
-
- 'test/benchmark.rb'
|
250
|
-
|
251
|
-
# Offense count: 1
|
252
|
-
Lint/ReturnInVoidContext:
|
253
|
-
Exclude:
|
254
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
255
|
-
|
256
|
-
# Offense count: 1
|
257
|
-
# Configuration parameters: IgnoreImplicitReferences.
|
258
|
-
Lint/ShadowedArgument:
|
259
|
-
Exclude:
|
260
|
-
- 'lib/trailblazer/deprecation/call.rb'
|
261
|
-
|
262
|
-
# Offense count: 1
|
263
|
-
Lint/ShadowingOuterLocalVariable:
|
264
|
-
Exclude:
|
265
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
266
|
-
|
267
|
-
# Offense count: 2
|
268
|
-
# Cop supports --auto-correct.
|
269
|
-
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
270
|
-
Lint/UnusedBlockArgument:
|
271
|
-
Exclude:
|
272
|
-
- 'test/test_helper.rb'
|
273
|
-
|
274
|
-
# Offense count: 9
|
275
|
-
# Cop supports --auto-correct.
|
276
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
277
|
-
Lint/UnusedMethodArgument:
|
278
|
-
Exclude:
|
279
|
-
- 'lib/trailblazer/deprecation/call.rb'
|
280
|
-
- 'lib/trailblazer/dsl.rb'
|
281
|
-
- 'test/docs/fast_test.rb'
|
282
|
-
- 'test/docs/trace_test.rb'
|
283
|
-
|
284
|
-
# Offense count: 3
|
285
|
-
Lint/UselessAssignment:
|
286
|
-
Exclude:
|
287
|
-
- 'test/deprecation/call_test.rb'
|
288
|
-
- 'test/deprecation/context_test.rb'
|
289
|
-
|
290
|
-
# Offense count: 1
|
291
|
-
Metrics/AbcSize:
|
292
|
-
Max: 18
|
293
|
-
|
294
|
-
# Offense count: 2
|
295
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
296
|
-
Metrics/BlockLength:
|
297
|
-
Max: 32
|
298
|
-
|
299
|
-
# Offense count: 1
|
300
|
-
Metrics/CyclomaticComplexity:
|
301
|
-
Max: 10
|
302
|
-
|
303
|
-
# Offense count: 30
|
304
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
305
|
-
# URISchemes: http, https
|
306
|
-
Metrics/LineLength:
|
307
|
-
Max: 290
|
308
|
-
|
309
|
-
# Offense count: 3
|
310
|
-
# Configuration parameters: CountComments.
|
311
|
-
Metrics/MethodLength:
|
312
|
-
Max: 16
|
313
|
-
|
314
|
-
# Offense count: 1
|
315
|
-
Metrics/PerceivedComplexity:
|
316
|
-
Max: 11
|
317
|
-
|
318
|
-
# Offense count: 10
|
319
|
-
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
320
|
-
# AllowedNames: io, id, to, by, on, in, at
|
321
|
-
Naming/UncommunicativeMethodParamName:
|
322
|
-
Exclude:
|
323
|
-
- 'test/benchmark.rb'
|
324
|
-
- 'test/docs/fast_test.rb'
|
325
|
-
|
326
|
-
# Offense count: 2
|
327
|
-
# Configuration parameters: AllowedChars.
|
328
|
-
Style/AsciiComments:
|
329
|
-
Exclude:
|
330
|
-
- 'test/benchmark.rb'
|
331
|
-
|
332
|
-
# Offense count: 12
|
333
|
-
# Cop supports --auto-correct.
|
334
|
-
Style/BlockComments:
|
335
|
-
Exclude:
|
336
|
-
- 'test/docs/operation_test.rb'
|
337
|
-
- 'test/variables_test.rb'
|
338
|
-
|
339
|
-
# Offense count: 3
|
340
|
-
# Cop supports --auto-correct.
|
341
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
342
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
343
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
344
|
-
# FunctionalMethods: let, let!, subject, watch
|
345
|
-
# IgnoredMethods: lambda, proc, it
|
346
|
-
Style/BlockDelimiters:
|
347
|
-
Exclude:
|
348
|
-
- 'lib/trailblazer/operation/auto_inject.rb'
|
349
|
-
- 'lib/trailblazer/operation/module.rb'
|
350
|
-
- 'test/dsl/contract_test.rb'
|
351
|
-
|
352
|
-
# Offense count: 2
|
353
|
-
# Cop supports --auto-correct.
|
354
|
-
# Configuration parameters: EnforcedStyle.
|
355
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
356
|
-
Style/BracesAroundHashParameters:
|
357
|
-
Exclude:
|
358
|
-
- 'test/docs/operation_test.rb'
|
359
|
-
- 'test/dsl/contract_test.rb'
|
360
|
-
|
361
|
-
# Offense count: 11
|
362
|
-
# Cop supports --auto-correct.
|
363
|
-
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
364
|
-
# SupportedStyles: nested, compact
|
365
|
-
Style/ClassAndModuleChildren:
|
366
|
-
Exclude:
|
367
|
-
- 'lib/trailblazer/operation/auto_inject.rb'
|
368
|
-
- 'lib/trailblazer/operation/module.rb'
|
369
|
-
- 'test/docs/fast_test.rb'
|
370
|
-
- 'test/docs/operation_test.rb'
|
371
|
-
|
372
|
-
# Offense count: 1
|
373
|
-
# Cop supports --auto-correct.
|
374
|
-
# Configuration parameters: EnforcedStyle.
|
375
|
-
# SupportedStyles: is_a?, kind_of?
|
376
|
-
Style/ClassCheck:
|
377
|
-
Exclude:
|
378
|
-
- 'lib/trailblazer/dsl.rb'
|
379
|
-
|
380
|
-
# Offense count: 1
|
381
|
-
# Cop supports --auto-correct.
|
382
|
-
# Configuration parameters: PreferredMethods.
|
383
|
-
Style/CollectionMethods:
|
384
|
-
Exclude:
|
385
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
386
|
-
|
387
|
-
# Offense count: 1
|
388
|
-
# Cop supports --auto-correct.
|
389
|
-
# Configuration parameters: Keywords.
|
390
|
-
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
391
|
-
Style/CommentAnnotation:
|
392
|
-
Exclude:
|
393
|
-
- 'test/variables_test.rb'
|
394
|
-
|
395
|
-
# Offense count: 2
|
396
|
-
Style/CommentedKeyword:
|
397
|
-
Exclude:
|
398
|
-
- 'lib/trailblazer/operation/deprecations.rb'
|
399
|
-
- 'lib/trailblazer/operation/module.rb'
|
400
|
-
|
401
|
-
# Offense count: 1
|
402
|
-
# Cop supports --auto-correct.
|
403
|
-
# Configuration parameters: EnforcedStyle.
|
404
|
-
# SupportedStyles: compact, expanded
|
405
|
-
Style/EmptyMethod:
|
406
|
-
Exclude:
|
407
|
-
- 'test/docs/fast_test.rb'
|
408
|
-
|
409
|
-
# Offense count: 1
|
410
|
-
# Cop supports --auto-correct.
|
411
|
-
Style/ExpandPathArguments:
|
412
|
-
Exclude:
|
413
|
-
- 'trailblazer.gemspec'
|
414
|
-
|
415
|
-
# Offense count: 1
|
416
|
-
# Configuration parameters: MinBodyLength.
|
417
|
-
Style/GuardClause:
|
418
|
-
Exclude:
|
419
|
-
- 'test/docs/fast_test.rb'
|
420
|
-
|
421
|
-
# Offense count: 6
|
422
|
-
# Cop supports --auto-correct.
|
423
|
-
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
424
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
425
|
-
Style/HashSyntax:
|
426
|
-
Exclude:
|
427
|
-
- 'Rakefile'
|
428
|
-
- 'test/docs/operation_test.rb'
|
429
|
-
|
430
|
-
# Offense count: 1
|
431
|
-
Style/ImplicitRuntimeError:
|
432
|
-
Exclude:
|
433
|
-
- 'lib/trailblazer/operation/test.rb'
|
434
|
-
|
435
|
-
# Offense count: 70
|
436
|
-
# Cop supports --auto-correct.
|
437
|
-
# Configuration parameters: .
|
438
|
-
# SupportedStyles: call, braces
|
439
|
-
Style/LambdaCall:
|
440
|
-
EnforcedStyle: braces
|
441
|
-
|
442
|
-
# Offense count: 1
|
443
|
-
Style/MethodMissingSuper:
|
444
|
-
Exclude:
|
445
|
-
- 'lib/trailblazer/operation/module.rb'
|
446
|
-
|
447
|
-
# Offense count: 1
|
448
|
-
Style/MissingRespondToMissing:
|
449
|
-
Exclude:
|
450
|
-
- 'lib/trailblazer/operation/module.rb'
|
451
|
-
|
452
|
-
# Offense count: 1
|
453
|
-
# Cop supports --auto-correct.
|
454
|
-
Style/MutableConstant:
|
455
|
-
Exclude:
|
456
|
-
- 'lib/trailblazer/version.rb'
|
457
|
-
|
458
|
-
# Offense count: 2
|
459
|
-
Style/OptionalArguments:
|
460
|
-
Exclude:
|
461
|
-
- 'lib/trailblazer/dsl.rb'
|
462
|
-
|
463
|
-
# Offense count: 1
|
464
|
-
# Cop supports --auto-correct.
|
465
|
-
Style/ParallelAssignment:
|
466
|
-
Exclude:
|
467
|
-
- 'lib/trailblazer/deprecation/call.rb'
|
468
|
-
|
469
|
-
# Offense count: 47
|
470
|
-
# Cop supports --auto-correct.
|
471
|
-
# Configuration parameters: PreferredDelimiters.
|
472
|
-
Style/PercentLiteralDelimiters:
|
473
|
-
Exclude:
|
474
|
-
- 'test/deprecation/call_test.rb'
|
475
|
-
- 'test/deprecation/context_test.rb'
|
476
|
-
- 'test/docs/fast_test.rb'
|
477
|
-
- 'test/docs/operation_test.rb'
|
478
|
-
- 'test/docs/trace_test.rb'
|
479
|
-
- 'test/dsl/contract_test.rb'
|
480
|
-
- 'test/variables_test.rb'
|
481
|
-
- 'trailblazer.gemspec'
|
482
|
-
|
483
|
-
# Offense count: 2
|
484
|
-
# Cop supports --auto-correct.
|
485
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
486
|
-
Style/RedundantReturn:
|
487
|
-
Exclude:
|
488
|
-
- 'lib/trailblazer/deprecation/call.rb'
|
489
|
-
- 'test/docs/fast_test.rb'
|
490
|
-
|
491
|
-
# Offense count: 8
|
492
|
-
# Cop supports --auto-correct.
|
493
|
-
# Configuration parameters: AllowAsExpressionSeparator.
|
494
|
-
Style/Semicolon:
|
495
|
-
Exclude:
|
496
|
-
- 'test/docs/fast_test.rb'
|
497
|
-
|
498
|
-
# Offense count: 1
|
499
|
-
Style/Send:
|
500
|
-
Exclude:
|
501
|
-
- 'lib/trailblazer/operation/module.rb'
|
502
|
-
|
503
|
-
# Offense count: 1
|
504
|
-
# Cop supports --auto-correct.
|
505
|
-
# Configuration parameters: EnforcedStyle.
|
506
|
-
# SupportedStyles: only_raise, only_fail, semantic
|
507
|
-
Style/SignalException:
|
508
|
-
Exclude:
|
509
|
-
- 'lib/trailblazer/operation/test.rb'
|
510
|
-
|
511
|
-
# Offense count: 20
|
512
|
-
# Cop supports --auto-correct.
|
513
|
-
# Configuration parameters: AllowIfMethodIsEmpty.
|
514
|
-
Style/SingleLineMethods:
|
515
|
-
Exclude:
|
516
|
-
- 'test/docs/fast_test.rb'
|
517
|
-
- 'test/docs/operation_test.rb'
|
518
|
-
- 'test/test_helper.rb'
|
519
|
-
|
520
|
-
# Offense count: 14
|
521
|
-
# Cop supports --auto-correct.
|
522
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
523
|
-
# SupportedStyles: single_quotes, double_quotes
|
524
|
-
Style/StringLiterals:
|
525
|
-
Exclude:
|
526
|
-
- 'Gemfile'
|
527
|
-
- 'Rakefile'
|
528
|
-
- 'trailblazer.gemspec'
|
529
|
-
|
530
|
-
# Offense count: 1
|
531
|
-
# Cop supports --auto-correct.
|
532
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
533
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
534
|
-
Style/TrailingCommaInHashLiteral:
|
535
|
-
Exclude:
|
536
|
-
- 'test/variables_test.rb'
|
537
|
-
|
538
|
-
# Offense count: 2
|
539
|
-
# Cop supports --auto-correct.
|
540
|
-
# Configuration parameters: AllowNamedUnderscoreVariables.
|
541
|
-
Style/TrailingUnderscoreVariable:
|
542
|
-
Exclude:
|
543
|
-
- 'lib/trailblazer/deprecation/context.rb'
|
544
|
-
|
545
|
-
# Offense count: 2
|
546
|
-
# Cop supports --auto-correct.
|
547
|
-
Style/UnneededPercentQ:
|
548
|
-
Exclude:
|
549
|
-
- 'trailblazer.gemspec'
|
550
|
-
|
551
|
-
# Offense count: 1
|
552
|
-
# Cop supports --auto-correct.
|
553
|
-
# Configuration parameters: MinSize, WordRegex.
|
554
|
-
# SupportedStyles: percent, brackets
|
555
|
-
Style/WordArray:
|
556
|
-
EnforcedStyle: brackets
|