trailblazer-activity 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -8
- data/CHANGES.md +4 -0
- data/Gemfile +0 -3
- data/LICENSE +1 -1
- data/Rakefile +2 -5
- data/lib/trailblazer/activity.rb +3 -12
- data/lib/trailblazer/activity/config.rb +1 -0
- data/lib/trailblazer/activity/introspect.rb +11 -10
- data/lib/trailblazer/activity/schema.rb +2 -0
- data/lib/trailblazer/activity/schema/intermediate.rb +3 -3
- data/lib/trailblazer/activity/structures.rb +11 -12
- data/lib/trailblazer/activity/task_builder.rb +5 -1
- data/lib/trailblazer/activity/task_wrap.rb +14 -8
- data/lib/trailblazer/activity/task_wrap/inject.rb +1 -1
- data/lib/trailblazer/activity/task_wrap/pipeline.rb +1 -1
- data/lib/trailblazer/activity/task_wrap/runner.rb +3 -4
- data/lib/trailblazer/activity/testing.rb +3 -3
- data/lib/trailblazer/activity/version.rb +1 -1
- data/trailblazer-activity.gemspec +2 -2
- metadata +8 -10
- data/.rubocop-https---raw-githubusercontent-com-trailblazer-meta-master-rubocop-yml +0 -101
- data/.rubocop.yml +0 -7
- data/.rubocop_todo.yml +0 -900
@@ -1,101 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
DisplayCopNames: true
|
3
|
-
Layout/CaseIndentation:
|
4
|
-
IndentOneStep: true
|
5
|
-
Layout/FirstArrayElementLineBreak:
|
6
|
-
Enabled: true
|
7
|
-
Layout/FirstHashElementLineBreak:
|
8
|
-
Enabled: true
|
9
|
-
Layout/FirstMethodArgumentLineBreak:
|
10
|
-
Enabled: true
|
11
|
-
Layout/FirstMethodParameterLineBreak:
|
12
|
-
Enabled: true
|
13
|
-
Layout/MultilineAssignmentLayout:
|
14
|
-
Enabled: true
|
15
|
-
EnforcedStyle: same_line
|
16
|
-
Layout/SpaceInsideHashLiteralBraces:
|
17
|
-
EnforcedStyle: no_space
|
18
|
-
Metrics/LineLength:
|
19
|
-
Max: 130
|
20
|
-
Metrics/ParameterLists:
|
21
|
-
Max: 5
|
22
|
-
Naming/VariableNumber:
|
23
|
-
EnforcedStyle: snake_case
|
24
|
-
Style/AndOr:
|
25
|
-
EnforcedStyle: conditionals
|
26
|
-
Style/AutoResourceCleanup:
|
27
|
-
Enabled: true
|
28
|
-
Style/CollectionMethods:
|
29
|
-
Enabled: true
|
30
|
-
Style/Documentation:
|
31
|
-
Enabled: false
|
32
|
-
Style/EmptyLiteral:
|
33
|
-
Enabled: false
|
34
|
-
Style/EmptyMethod:
|
35
|
-
EnforcedStyle: expanded
|
36
|
-
Style/FormatStringToken:
|
37
|
-
EnforcedStyle: template
|
38
|
-
Style/ImplicitRuntimeError:
|
39
|
-
Enabled: true
|
40
|
-
Style/MethodCalledOnDoEndBlock:
|
41
|
-
Enabled: true
|
42
|
-
Style/MethodDefParentheses:
|
43
|
-
EnforcedStyle: require_parentheses
|
44
|
-
Style/MissingElse:
|
45
|
-
Enabled: true
|
46
|
-
EnforcedStyle: case
|
47
|
-
Style/NumericLiterals:
|
48
|
-
Enabled: false
|
49
|
-
Style/OptionHash:
|
50
|
-
Enabled: true
|
51
|
-
Style/PercentLiteralDelimiters:
|
52
|
-
PreferredDelimiters:
|
53
|
-
"%w": "[]"
|
54
|
-
"%W": "[]"
|
55
|
-
"%i": "[]"
|
56
|
-
"%I": "[]"
|
57
|
-
"%r": "()"
|
58
|
-
Style/ReturnNil:
|
59
|
-
Enabled: true
|
60
|
-
Style/SafeNavigation:
|
61
|
-
Enabled: false
|
62
|
-
Style/Send:
|
63
|
-
Enabled: true
|
64
|
-
Style/SignalException:
|
65
|
-
EnforcedStyle: semantic
|
66
|
-
Style/StringLiterals:
|
67
|
-
EnforcedStyle: double_quotes
|
68
|
-
Style/StringLiteralsInInterpolation:
|
69
|
-
EnforcedStyle: double_quotes
|
70
|
-
Style/StringMethods:
|
71
|
-
Enabled: true
|
72
|
-
Style/SymbolArray:
|
73
|
-
Enabled: true
|
74
|
-
# this allows in rspec to have expect { } with multiple lines
|
75
|
-
Style/BlockDelimiters:
|
76
|
-
EnforcedStyle: braces_for_chaining
|
77
|
-
Layout/EndOfLine:
|
78
|
-
Enabled: false
|
79
|
-
# don't need these checks in test folders
|
80
|
-
Metrics/ModuleLength:
|
81
|
-
Exclude:
|
82
|
-
- "spec/**/*"
|
83
|
-
- "test/**/*"
|
84
|
-
Metrics/BlockLength:
|
85
|
-
Exclude:
|
86
|
-
- "spec/**/*"
|
87
|
-
- "test/**/*"
|
88
|
-
- "*.gemspec" # definitely not in the gemspec
|
89
|
-
Metrics/MethodLength:
|
90
|
-
Max: 20
|
91
|
-
Lint/UnreachableCode:
|
92
|
-
Description: 'Unreachable code.'
|
93
|
-
Enabled: false
|
94
|
-
Lint/Void:
|
95
|
-
Enabled: false
|
96
|
-
Layout/AlignHash:
|
97
|
-
EnforcedLastArgumentHashStyle: ignore_implicit
|
98
|
-
Metrics/AbcSize:
|
99
|
-
Max: 25
|
100
|
-
Style/LambdaCall:
|
101
|
-
Enabled: false
|
data/.rubocop.yml
DELETED
data/.rubocop_todo.yml
DELETED
@@ -1,900 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2018-06-20 08:16:56 +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: 3
|
10
|
-
# Cop supports --auto-correct.
|
11
|
-
Layout/AlignArray:
|
12
|
-
Exclude:
|
13
|
-
- 'test/finalizer_test.rb'
|
14
|
-
- 'test/wrap/extension_test.rb'
|
15
|
-
|
16
|
-
# Offense count: 25
|
17
|
-
# Cop supports --auto-correct.
|
18
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
19
|
-
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
20
|
-
Layout/AlignParameters:
|
21
|
-
Exclude:
|
22
|
-
- 'test/docs/composition_test.rb'
|
23
|
-
- 'test/docs/macro_test.rb'
|
24
|
-
- 'test/docs/output_test.rb'
|
25
|
-
- 'test/docs/subprocess_test.rb'
|
26
|
-
- 'test/dsl/dsl_test.rb'
|
27
|
-
- 'test/dsl/normalizer_test.rb'
|
28
|
-
- 'test/variable_mapping_test.rb'
|
29
|
-
- 'test/wrap/trace_test.rb'
|
30
|
-
- 'test/wrap/wrap_test.rb'
|
31
|
-
|
32
|
-
# Offense count: 3
|
33
|
-
# Cop supports --auto-correct.
|
34
|
-
# Configuration parameters: EnforcedStyleAlignWith.
|
35
|
-
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
36
|
-
Layout/BlockAlignment:
|
37
|
-
Exclude:
|
38
|
-
- 'test/dsl/adds_test.rb'
|
39
|
-
- 'test/path_test.rb'
|
40
|
-
- 'test/railway_test.rb'
|
41
|
-
|
42
|
-
# Offense count: 1
|
43
|
-
# Cop supports --auto-correct.
|
44
|
-
Layout/ClosingParenthesisIndentation:
|
45
|
-
Exclude:
|
46
|
-
- 'test/path_test.rb'
|
47
|
-
|
48
|
-
# Offense count: 25
|
49
|
-
# Cop supports --auto-correct.
|
50
|
-
Layout/CommentIndentation:
|
51
|
-
Exclude:
|
52
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/normalizer.rb'
|
53
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/path.rb'
|
54
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
55
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
56
|
-
- 'lib/trailblazer/activity/task_wrap.rb'
|
57
|
-
- 'test/docs/activity_test.rb'
|
58
|
-
- 'test/docs/composition_test.rb'
|
59
|
-
- 'test/docs/end_test.rb'
|
60
|
-
- 'test/docs/subprocess_test.rb'
|
61
|
-
- 'test/dsl/adds_test.rb'
|
62
|
-
- 'test/path_test.rb'
|
63
|
-
- 'test/railway_test.rb'
|
64
|
-
- 'test/variable_mapping_test.rb'
|
65
|
-
- 'test/wrap/trace_test.rb'
|
66
|
-
- 'test/wrap/wrap_test.rb'
|
67
|
-
|
68
|
-
# Offense count: 1
|
69
|
-
# Cop supports --auto-correct.
|
70
|
-
# Configuration parameters: EnforcedStyle.
|
71
|
-
# SupportedStyles: leading, trailing
|
72
|
-
Layout/DotPosition:
|
73
|
-
Exclude:
|
74
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
75
|
-
|
76
|
-
# Offense count: 9
|
77
|
-
# Cop supports --auto-correct.
|
78
|
-
# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
79
|
-
Layout/EmptyLineBetweenDefs:
|
80
|
-
Exclude:
|
81
|
-
- 'test/benchmark/circuit_api.rb'
|
82
|
-
- 'test/docs/id_test.rb'
|
83
|
-
- 'test/docs/macro_test.rb'
|
84
|
-
- 'test/docs/track_test.rb'
|
85
|
-
|
86
|
-
# Offense count: 44
|
87
|
-
# Cop supports --auto-correct.
|
88
|
-
Layout/EmptyLines:
|
89
|
-
Enabled: false
|
90
|
-
|
91
|
-
# Offense count: 11
|
92
|
-
# Cop supports --auto-correct.
|
93
|
-
Layout/EmptyLinesAroundAccessModifier:
|
94
|
-
Exclude:
|
95
|
-
- 'test/docs/activity_test.rb'
|
96
|
-
- 'test/docs/composition_test.rb'
|
97
|
-
- 'test/docs/end_test.rb'
|
98
|
-
- 'test/docs/macro_test.rb'
|
99
|
-
|
100
|
-
# Offense count: 4
|
101
|
-
# Cop supports --auto-correct.
|
102
|
-
Layout/EmptyLinesAroundArguments:
|
103
|
-
Exclude:
|
104
|
-
- 'test/variable_mapping_test.rb'
|
105
|
-
- 'test/wrap/wrap_test.rb'
|
106
|
-
|
107
|
-
# Offense count: 5
|
108
|
-
# Cop supports --auto-correct.
|
109
|
-
# Configuration parameters: EnforcedStyle.
|
110
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
111
|
-
Layout/EmptyLinesAroundBlockBody:
|
112
|
-
Exclude:
|
113
|
-
- 'test/dsl/adds_test.rb'
|
114
|
-
- 'test/dsl/fast_track_test.rb'
|
115
|
-
- 'test/merge_test.rb'
|
116
|
-
- 'test/state_test.rb'
|
117
|
-
- 'test/variable_mapping_test.rb'
|
118
|
-
|
119
|
-
# Offense count: 11
|
120
|
-
# Cop supports --auto-correct.
|
121
|
-
# Configuration parameters: EnforcedStyle.
|
122
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
123
|
-
Layout/EmptyLinesAroundClassBody:
|
124
|
-
Exclude:
|
125
|
-
- 'test/docs/end_test.rb'
|
126
|
-
- 'test/docs/id_test.rb'
|
127
|
-
- 'test/docs/railway_test.rb'
|
128
|
-
- 'test/docs/track_test.rb'
|
129
|
-
- 'test/dsl/fast_track_test.rb'
|
130
|
-
- 'test/path_test.rb'
|
131
|
-
|
132
|
-
# Offense count: 1
|
133
|
-
# Cop supports --auto-correct.
|
134
|
-
Layout/EmptyLinesAroundMethodBody:
|
135
|
-
Exclude:
|
136
|
-
- 'test/docs/activity_test.rb'
|
137
|
-
|
138
|
-
# Offense count: 18
|
139
|
-
# Cop supports --auto-correct.
|
140
|
-
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
141
|
-
Layout/ExtraSpacing:
|
142
|
-
Exclude:
|
143
|
-
- 'test/circuit_test.rb'
|
144
|
-
- 'test/docs/end_test.rb'
|
145
|
-
- 'test/finalizer_test.rb'
|
146
|
-
- 'test/variable_mapping_test.rb'
|
147
|
-
- 'test/wrap/extension_test.rb'
|
148
|
-
- 'test/wrap/wrap_test.rb'
|
149
|
-
|
150
|
-
# Offense count: 1
|
151
|
-
# Cop supports --auto-correct.
|
152
|
-
Layout/FirstArrayElementLineBreak:
|
153
|
-
Exclude:
|
154
|
-
- 'test/wrap/extension_test.rb'
|
155
|
-
|
156
|
-
# Offense count: 11
|
157
|
-
# Cop supports --auto-correct.
|
158
|
-
Layout/FirstMethodArgumentLineBreak:
|
159
|
-
Exclude:
|
160
|
-
- 'test/variable_mapping_test.rb'
|
161
|
-
- 'test/wrap/trace_test.rb'
|
162
|
-
- 'test/wrap/wrap_test.rb'
|
163
|
-
|
164
|
-
# Offense count: 2
|
165
|
-
# Cop supports --auto-correct.
|
166
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
167
|
-
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
168
|
-
Layout/FirstParameterIndentation:
|
169
|
-
Exclude:
|
170
|
-
- 'test/dsl/normalizer_test.rb'
|
171
|
-
- 'test/path_test.rb'
|
172
|
-
|
173
|
-
# Offense count: 1
|
174
|
-
# Cop supports --auto-correct.
|
175
|
-
# Configuration parameters: IndentationWidth.
|
176
|
-
Layout/IndentAssignment:
|
177
|
-
Exclude:
|
178
|
-
- 'test/wrap/wrap_test.rb'
|
179
|
-
|
180
|
-
# Offense count: 2
|
181
|
-
# Cop supports --auto-correct.
|
182
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
183
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
184
|
-
Layout/IndentHash:
|
185
|
-
Exclude:
|
186
|
-
- 'test/dsl/normalizer_test.rb'
|
187
|
-
|
188
|
-
# Offense count: 15
|
189
|
-
# Cop supports --auto-correct.
|
190
|
-
# Configuration parameters: EnforcedStyle.
|
191
|
-
# SupportedStyles: normal, rails
|
192
|
-
Layout/IndentationConsistency:
|
193
|
-
Exclude:
|
194
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
195
|
-
- 'test/dsl/adds_test.rb'
|
196
|
-
- 'test/dsl/fast_track_test.rb'
|
197
|
-
- 'test/finalizer_test.rb'
|
198
|
-
- 'test/path_test.rb'
|
199
|
-
- 'test/wrap/wrap_test.rb'
|
200
|
-
|
201
|
-
# Offense count: 12
|
202
|
-
# Cop supports --auto-correct.
|
203
|
-
# Configuration parameters: Width, IgnoredPatterns.
|
204
|
-
Layout/IndentationWidth:
|
205
|
-
Exclude:
|
206
|
-
- 'test/docs/railway_test.rb'
|
207
|
-
- 'test/dsl/adds_test.rb'
|
208
|
-
- 'test/dsl/fast_track_test.rb'
|
209
|
-
- 'test/path_test.rb'
|
210
|
-
- 'test/railway_test.rb'
|
211
|
-
|
212
|
-
# Offense count: 65
|
213
|
-
# Cop supports --auto-correct.
|
214
|
-
Layout/LeadingCommentSpace:
|
215
|
-
Exclude:
|
216
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
217
|
-
- 'lib/trailblazer/activity/dsl/schema/sequence.rb'
|
218
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
219
|
-
- 'test/docs/composition_test.rb'
|
220
|
-
- 'test/docs/end_test.rb'
|
221
|
-
- 'test/docs/id_test.rb'
|
222
|
-
- 'test/docs/merge_test.rb'
|
223
|
-
- 'test/docs/path_test.rb'
|
224
|
-
- 'test/docs/railway_test.rb'
|
225
|
-
- 'test/docs/track_test.rb'
|
226
|
-
- 'test/dsl/adds_test.rb'
|
227
|
-
- 'test/dsl/dsl_test.rb'
|
228
|
-
- 'test/path_test.rb'
|
229
|
-
- 'test/variable_mapping_test.rb'
|
230
|
-
- 'test/wrap/wrap_test.rb'
|
231
|
-
|
232
|
-
# Offense count: 1
|
233
|
-
# Cop supports --auto-correct.
|
234
|
-
# Configuration parameters: EnforcedStyle.
|
235
|
-
# SupportedStyles: symmetrical, new_line, same_line
|
236
|
-
Layout/MultilineArrayBraceLayout:
|
237
|
-
Exclude:
|
238
|
-
- 'test/wrap/extension_test.rb'
|
239
|
-
|
240
|
-
# Offense count: 3
|
241
|
-
# Cop supports --auto-correct.
|
242
|
-
# Configuration parameters: EnforcedStyle.
|
243
|
-
# SupportedTypes: block, case, class, if, kwbegin, module
|
244
|
-
# SupportedStyles: same_line, new_line
|
245
|
-
Layout/MultilineAssignmentLayout:
|
246
|
-
Exclude:
|
247
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/normalizer.rb'
|
248
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
249
|
-
- 'test/benchmark/commits.rb'
|
250
|
-
|
251
|
-
# Offense count: 11
|
252
|
-
# Cop supports --auto-correct.
|
253
|
-
# Configuration parameters: EnforcedStyle.
|
254
|
-
# SupportedStyles: symmetrical, new_line, same_line
|
255
|
-
Layout/MultilineMethodCallBraceLayout:
|
256
|
-
Exclude:
|
257
|
-
- 'test/variable_mapping_test.rb'
|
258
|
-
- 'test/wrap/trace_test.rb'
|
259
|
-
- 'test/wrap/wrap_test.rb'
|
260
|
-
|
261
|
-
# Offense count: 12
|
262
|
-
# Cop supports --auto-correct.
|
263
|
-
Layout/SpaceAfterColon:
|
264
|
-
Exclude:
|
265
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
266
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/normalizer.rb'
|
267
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
268
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/polarization.rb'
|
269
|
-
- 'lib/trailblazer/activity/dsl/schema/sequence.rb'
|
270
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
271
|
-
|
272
|
-
# Offense count: 5
|
273
|
-
# Cop supports --auto-correct.
|
274
|
-
Layout/SpaceAfterComma:
|
275
|
-
Exclude:
|
276
|
-
- 'lib/trailblazer/activity/config.rb'
|
277
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
278
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
279
|
-
- 'lib/trailblazer/activity/structures.rb'
|
280
|
-
- 'test/wrap/extension_test.rb'
|
281
|
-
|
282
|
-
# Offense count: 10
|
283
|
-
# Cop supports --auto-correct.
|
284
|
-
# Configuration parameters: EnforcedStyleInsidePipes.
|
285
|
-
# SupportedStylesInsidePipes: space, no_space
|
286
|
-
Layout/SpaceAroundBlockParameters:
|
287
|
-
Exclude:
|
288
|
-
- 'lib/trailblazer/activity/testing.rb'
|
289
|
-
- 'test/circuit_test.rb'
|
290
|
-
- 'test/wrap/wrap_test.rb'
|
291
|
-
|
292
|
-
# Offense count: 17
|
293
|
-
# Cop supports --auto-correct.
|
294
|
-
# Configuration parameters: EnforcedStyle.
|
295
|
-
# SupportedStyles: space, no_space
|
296
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
297
|
-
Exclude:
|
298
|
-
- 'lib/trailblazer/activity.rb'
|
299
|
-
- 'lib/trailblazer/activity/config.rb'
|
300
|
-
- 'lib/trailblazer/activity/dsl/helper.rb'
|
301
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
302
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/fast_track.rb'
|
303
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/path.rb'
|
304
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
305
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/plus_poles.rb'
|
306
|
-
- 'lib/trailblazer/activity/dsl/strategy/fast_track.rb'
|
307
|
-
- 'lib/trailblazer/activity/dsl/strategy/path.rb'
|
308
|
-
- 'lib/trailblazer/activity/dsl/strategy/railway.rb'
|
309
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
310
|
-
- 'lib/trailblazer/activity/present.rb'
|
311
|
-
- 'lib/trailblazer/activity/trace.rb'
|
312
|
-
|
313
|
-
# Offense count: 102
|
314
|
-
# Cop supports --auto-correct.
|
315
|
-
# Configuration parameters: AllowForAlignment.
|
316
|
-
Layout/SpaceAroundOperators:
|
317
|
-
Enabled: false
|
318
|
-
|
319
|
-
# Offense count: 6
|
320
|
-
# Cop supports --auto-correct.
|
321
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
322
|
-
# SupportedStyles: space, no_space
|
323
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
324
|
-
Layout/SpaceBeforeBlockBraces:
|
325
|
-
Exclude:
|
326
|
-
- 'lib/trailblazer/activity/dsl/schema/dependencies.rb'
|
327
|
-
- 'lib/trailblazer/activity/structures.rb'
|
328
|
-
- 'test/activity_test.rb'
|
329
|
-
- 'test/wrap/extension_test.rb'
|
330
|
-
|
331
|
-
# Offense count: 8
|
332
|
-
# Cop supports --auto-correct.
|
333
|
-
Layout/SpaceBeforeComment:
|
334
|
-
Exclude:
|
335
|
-
- 'test/dsl/dsl_test.rb'
|
336
|
-
- 'test/path_test.rb'
|
337
|
-
- 'test/variable_mapping_test.rb'
|
338
|
-
- 'test/wrap/wrap_test.rb'
|
339
|
-
|
340
|
-
# Offense count: 204
|
341
|
-
# Cop supports --auto-correct.
|
342
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
343
|
-
# SupportedStyles: space, no_space, compact
|
344
|
-
# SupportedStylesForEmptyBrackets: space, no_space
|
345
|
-
Layout/SpaceInsideArrayLiteralBrackets:
|
346
|
-
Enabled: false
|
347
|
-
|
348
|
-
# Offense count: 6
|
349
|
-
# Cop supports --auto-correct.
|
350
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
351
|
-
# SupportedStyles: space, no_space
|
352
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
353
|
-
Layout/SpaceInsideBlockBraces:
|
354
|
-
Exclude:
|
355
|
-
- 'test/activity_test.rb'
|
356
|
-
- 'test/path_test.rb'
|
357
|
-
|
358
|
-
# Offense count: 277
|
359
|
-
# Cop supports --auto-correct.
|
360
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
361
|
-
# SupportedStyles: space, no_space, compact
|
362
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
363
|
-
Layout/SpaceInsideHashLiteralBraces:
|
364
|
-
Enabled: false
|
365
|
-
|
366
|
-
# Offense count: 481
|
367
|
-
# Cop supports --auto-correct.
|
368
|
-
# Configuration parameters: EnforcedStyle.
|
369
|
-
# SupportedStyles: space, no_space
|
370
|
-
Layout/SpaceInsideParens:
|
371
|
-
Enabled: false
|
372
|
-
|
373
|
-
# Offense count: 12
|
374
|
-
# Cop supports --auto-correct.
|
375
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
376
|
-
# SupportedStyles: space, no_space
|
377
|
-
# SupportedStylesForEmptyBrackets: space, no_space
|
378
|
-
Layout/SpaceInsideReferenceBrackets:
|
379
|
-
Exclude:
|
380
|
-
- 'lib/trailblazer/activity/config.rb'
|
381
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/state.rb'
|
382
|
-
- 'lib/trailblazer/activity/dsl/magnetic/generate.rb'
|
383
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/plus_poles.rb'
|
384
|
-
|
385
|
-
# Offense count: 10
|
386
|
-
# Cop supports --auto-correct.
|
387
|
-
# Configuration parameters: EnforcedStyle.
|
388
|
-
# SupportedStyles: final_newline, final_blank_line
|
389
|
-
Layout/TrailingBlankLines:
|
390
|
-
Exclude:
|
391
|
-
- 'Gemfile'
|
392
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
393
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/plus_poles.rb'
|
394
|
-
- 'lib/trailblazer/activity/dsl/strategy/path.rb'
|
395
|
-
- 'lib/trailblazer/activity/dsl/strategy/plan.rb'
|
396
|
-
- 'test/activity_test.rb'
|
397
|
-
- 'test/benchmark/circuit_api.rb'
|
398
|
-
- 'test/benchmark/kw.rb'
|
399
|
-
- 'test/dsl/adds_test.rb'
|
400
|
-
- 'test/dsl/dsl_test.rb'
|
401
|
-
|
402
|
-
# Offense count: 1
|
403
|
-
Lint/AmbiguousOperator:
|
404
|
-
Exclude:
|
405
|
-
- 'lib/trailblazer/activity.rb'
|
406
|
-
|
407
|
-
# Offense count: 1
|
408
|
-
# Configuration parameters: AllowSafeAssignment.
|
409
|
-
Lint/AssignmentInCondition:
|
410
|
-
Exclude:
|
411
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/alterations.rb'
|
412
|
-
|
413
|
-
# Offense count: 1
|
414
|
-
Lint/BooleanSymbol:
|
415
|
-
Exclude:
|
416
|
-
- 'test/merge_test.rb'
|
417
|
-
|
418
|
-
# Offense count: 11
|
419
|
-
Lint/IneffectiveAccessModifier:
|
420
|
-
Exclude:
|
421
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
422
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/state.rb'
|
423
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
424
|
-
- 'lib/trailblazer/activity/task_wrap/runner.rb'
|
425
|
-
- 'lib/trailblazer/activity/trace.rb'
|
426
|
-
|
427
|
-
# Offense count: 4
|
428
|
-
Lint/ParenthesesAsGroupedExpression:
|
429
|
-
Exclude:
|
430
|
-
- 'test/variable_mapping_test.rb'
|
431
|
-
- 'test/wrap/wrap_test.rb'
|
432
|
-
|
433
|
-
# Offense count: 4
|
434
|
-
# Configuration parameters: IgnoreImplicitReferences.
|
435
|
-
Lint/ShadowedArgument:
|
436
|
-
Exclude:
|
437
|
-
- 'lib/trailblazer/activity/dsl/magnetic/merge.rb'
|
438
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
439
|
-
- 'lib/trailblazer/activity/trace.rb'
|
440
|
-
|
441
|
-
# Offense count: 2
|
442
|
-
Lint/ShadowingOuterLocalVariable:
|
443
|
-
Exclude:
|
444
|
-
- 'lib/trailblazer/activity/present.rb'
|
445
|
-
- 'test/dsl/normalizer_test.rb'
|
446
|
-
|
447
|
-
# Offense count: 14
|
448
|
-
Lint/UnderscorePrefixedVariableName:
|
449
|
-
Exclude:
|
450
|
-
- 'lib/trailblazer/activity/dsl/helper.rb'
|
451
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
452
|
-
- 'test/dsl/path_test.rb'
|
453
|
-
- 'test/merge_test.rb'
|
454
|
-
- 'test/variable_mapping_test.rb'
|
455
|
-
- 'test/wrap/wrap_test.rb'
|
456
|
-
|
457
|
-
# Offense count: 28
|
458
|
-
# Cop supports --auto-correct.
|
459
|
-
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
460
|
-
Lint/UnusedBlockArgument:
|
461
|
-
Exclude:
|
462
|
-
- 'lib/trailblazer/activity/dsl/magnetic/merge.rb'
|
463
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/plus_poles.rb'
|
464
|
-
- 'lib/trailblazer/activity/dsl/schema/dependencies.rb'
|
465
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
466
|
-
- 'lib/trailblazer/activity/task_wrap/variable_mapping.rb'
|
467
|
-
- 'test/activity_test.rb'
|
468
|
-
- 'test/circuit_test.rb'
|
469
|
-
- 'test/introspection_test.rb'
|
470
|
-
- 'test/variable_mapping_test.rb'
|
471
|
-
- 'test/wrap/extension_test.rb'
|
472
|
-
- 'test/wrap/wrap_test.rb'
|
473
|
-
|
474
|
-
# Offense count: 38
|
475
|
-
# Cop supports --auto-correct.
|
476
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
477
|
-
Lint/UnusedMethodArgument:
|
478
|
-
Enabled: false
|
479
|
-
|
480
|
-
# Offense count: 7
|
481
|
-
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
|
482
|
-
Lint/UselessAccessModifier:
|
483
|
-
Exclude:
|
484
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/state.rb'
|
485
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
486
|
-
- 'lib/trailblazer/activity/task_wrap/runner.rb'
|
487
|
-
- 'lib/trailblazer/activity/task_wrap/variable_mapping.rb'
|
488
|
-
- 'lib/trailblazer/activity/trace.rb'
|
489
|
-
- 'test/docs/macro_test.rb'
|
490
|
-
|
491
|
-
# Offense count: 102
|
492
|
-
Lint/UselessAssignment:
|
493
|
-
Enabled: false
|
494
|
-
|
495
|
-
# Offense count: 8
|
496
|
-
# Configuration parameters: CountComments.
|
497
|
-
Metrics/ClassLength:
|
498
|
-
Max: 355
|
499
|
-
|
500
|
-
# Offense count: 107
|
501
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
502
|
-
# URISchemes: http, https
|
503
|
-
Metrics/LineLength:
|
504
|
-
Max: 802
|
505
|
-
|
506
|
-
# Offense count: 2
|
507
|
-
# Configuration parameters: CountComments.
|
508
|
-
Metrics/MethodLength:
|
509
|
-
Max: 25
|
510
|
-
|
511
|
-
# Offense count: 7
|
512
|
-
# Configuration parameters: CountKeywordArgs.
|
513
|
-
Metrics/ParameterLists:
|
514
|
-
Max: 8
|
515
|
-
|
516
|
-
# Offense count: 4
|
517
|
-
Naming/ClassAndModuleCamelCase:
|
518
|
-
Exclude:
|
519
|
-
- 'test/docs/merge_test.rb'
|
520
|
-
- 'test/docs/railway_test.rb'
|
521
|
-
|
522
|
-
# Offense count: 1
|
523
|
-
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
524
|
-
# AllowedNames: io, id, to, by, on, in, at
|
525
|
-
Naming/UncommunicativeMethodParamName:
|
526
|
-
Exclude:
|
527
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
528
|
-
|
529
|
-
# Offense count: 2
|
530
|
-
# Cop supports --auto-correct.
|
531
|
-
# Configuration parameters: EnabledForFlattenWithoutParams.
|
532
|
-
Performance/FlatMap:
|
533
|
-
Exclude:
|
534
|
-
- 'lib/trailblazer/activity/dsl/schema/dependencies.rb'
|
535
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
536
|
-
|
537
|
-
# Offense count: 1
|
538
|
-
# Configuration parameters: EnforcedStyle.
|
539
|
-
# SupportedStyles: inline, group
|
540
|
-
Style/AccessModifierDeclarations:
|
541
|
-
Exclude:
|
542
|
-
- 'lib/trailblazer/activity/dsl/magnetic.rb'
|
543
|
-
|
544
|
-
# Offense count: 3
|
545
|
-
# Cop supports --auto-correct.
|
546
|
-
# Configuration parameters: EnforcedStyle.
|
547
|
-
# SupportedStyles: prefer_alias, prefer_alias_method
|
548
|
-
Style/Alias:
|
549
|
-
Exclude:
|
550
|
-
- 'lib/trailblazer/activity.rb'
|
551
|
-
- 'lib/trailblazer/activity/structures.rb'
|
552
|
-
- 'lib/trailblazer/activity/task_builder.rb'
|
553
|
-
|
554
|
-
# Offense count: 9
|
555
|
-
# Cop supports --auto-correct.
|
556
|
-
Style/BlockComments:
|
557
|
-
Exclude:
|
558
|
-
- 'test/benchmark/circuit_api.rb'
|
559
|
-
- 'test/benchmark/ips.rb'
|
560
|
-
- 'test/benchmark/kw.rb'
|
561
|
-
- 'test/docs/activity_test.rb'
|
562
|
-
- 'test/docs/railway_test.rb'
|
563
|
-
- 'test/finalizer_test.rb'
|
564
|
-
|
565
|
-
# Offense count: 5
|
566
|
-
# Cop supports --auto-correct.
|
567
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
568
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
569
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
570
|
-
# FunctionalMethods: let, let!, subject, watch
|
571
|
-
# IgnoredMethods: lambda, proc, it
|
572
|
-
Style/BlockDelimiters:
|
573
|
-
Exclude:
|
574
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
575
|
-
- 'lib/trailblazer/activity/task_wrap/variable_mapping.rb'
|
576
|
-
- 'lib/trailblazer/activity/testing.rb'
|
577
|
-
- 'test/wrap/wrap_test.rb'
|
578
|
-
|
579
|
-
# Offense count: 66
|
580
|
-
# Cop supports --auto-correct.
|
581
|
-
# Configuration parameters: EnforcedStyle.
|
582
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
583
|
-
Style/BracesAroundHashParameters:
|
584
|
-
Exclude:
|
585
|
-
- 'test/docs/composition_test.rb'
|
586
|
-
- 'test/docs/end_test.rb'
|
587
|
-
- 'test/docs/id_test.rb'
|
588
|
-
- 'test/docs/merge_test.rb'
|
589
|
-
- 'test/docs/path_test.rb'
|
590
|
-
- 'test/docs/railway_test.rb'
|
591
|
-
- 'test/docs/track_test.rb'
|
592
|
-
- 'test/dsl/path_test.rb'
|
593
|
-
- 'test/finalizer_test.rb'
|
594
|
-
- 'test/state_test.rb'
|
595
|
-
- 'test/structures_test.rb'
|
596
|
-
- 'test/variable_mapping_test.rb'
|
597
|
-
- 'test/wrap/extension_test.rb'
|
598
|
-
- 'test/wrap/wrap_test.rb'
|
599
|
-
|
600
|
-
# Offense count: 54
|
601
|
-
# Cop supports --auto-correct.
|
602
|
-
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
603
|
-
# SupportedStyles: nested, compact
|
604
|
-
Style/ClassAndModuleChildren:
|
605
|
-
Enabled: false
|
606
|
-
|
607
|
-
# Offense count: 4
|
608
|
-
# Cop supports --auto-correct.
|
609
|
-
# Configuration parameters: EnforcedStyle.
|
610
|
-
# SupportedStyles: is_a?, kind_of?
|
611
|
-
Style/ClassCheck:
|
612
|
-
Exclude:
|
613
|
-
- 'lib/trailblazer/activity/dsl/magnetic/finalizer.rb'
|
614
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
615
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
616
|
-
|
617
|
-
# Offense count: 33
|
618
|
-
# Cop supports --auto-correct.
|
619
|
-
# Configuration parameters: PreferredMethods.
|
620
|
-
Style/CollectionMethods:
|
621
|
-
Enabled: false
|
622
|
-
|
623
|
-
# Offense count: 1
|
624
|
-
# Cop supports --auto-correct.
|
625
|
-
# Configuration parameters: Keywords.
|
626
|
-
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
627
|
-
Style/CommentAnnotation:
|
628
|
-
Exclude:
|
629
|
-
- 'test/circuit_test.rb'
|
630
|
-
|
631
|
-
# Offense count: 32
|
632
|
-
Style/CommentedKeyword:
|
633
|
-
Enabled: false
|
634
|
-
|
635
|
-
# Offense count: 1
|
636
|
-
# Cop supports --auto-correct.
|
637
|
-
Style/DefWithParentheses:
|
638
|
-
Exclude:
|
639
|
-
- 'lib/trailblazer/activity/dsl/strategy/plan.rb'
|
640
|
-
|
641
|
-
# Offense count: 1
|
642
|
-
# Cop supports --auto-correct.
|
643
|
-
Style/EachWithObject:
|
644
|
-
Exclude:
|
645
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
646
|
-
|
647
|
-
# Offense count: 2
|
648
|
-
# Cop supports --auto-correct.
|
649
|
-
Style/ExpandPathArguments:
|
650
|
-
Exclude:
|
651
|
-
- 'test/test_helper.rb'
|
652
|
-
- 'trailblazer-activity.gemspec'
|
653
|
-
|
654
|
-
# Offense count: 108
|
655
|
-
# Cop supports --auto-correct.
|
656
|
-
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
657
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
658
|
-
Style/HashSyntax:
|
659
|
-
Enabled: false
|
660
|
-
|
661
|
-
# Offense count: 2
|
662
|
-
Style/IdenticalConditionalBranches:
|
663
|
-
Exclude:
|
664
|
-
- 'lib/trailblazer/activity/present.rb'
|
665
|
-
|
666
|
-
# Offense count: 2
|
667
|
-
Style/ImplicitRuntimeError:
|
668
|
-
Exclude:
|
669
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
670
|
-
- 'lib/trailblazer/activity/dsl/schema/dependencies.rb'
|
671
|
-
|
672
|
-
# Offense count: 12
|
673
|
-
# Cop supports --auto-correct.
|
674
|
-
# Configuration parameters: EnforcedStyle.
|
675
|
-
# SupportedStyles: line_count_dependent, lambda, literal
|
676
|
-
Style/Lambda:
|
677
|
-
Exclude:
|
678
|
-
- 'lib/trailblazer/activity/dsl/helper.rb'
|
679
|
-
- 'test/circuit_test.rb'
|
680
|
-
- 'test/docs/macro_test.rb'
|
681
|
-
- 'test/variable_mapping_test.rb'
|
682
|
-
- 'test/wrap/extension_test.rb'
|
683
|
-
- 'test/wrap/wrap_test.rb'
|
684
|
-
|
685
|
-
# Offense count: 4
|
686
|
-
Style/MethodCalledOnDoEndBlock:
|
687
|
-
Exclude:
|
688
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
689
|
-
- 'lib/trailblazer/activity/testing.rb'
|
690
|
-
- 'test/wrap/wrap_test.rb'
|
691
|
-
|
692
|
-
# Offense count: 1
|
693
|
-
Style/MultilineBlockChain:
|
694
|
-
Exclude:
|
695
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
696
|
-
|
697
|
-
# Offense count: 1
|
698
|
-
# Cop supports --auto-correct.
|
699
|
-
Style/MultilineIfModifier:
|
700
|
-
Exclude:
|
701
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/fast_track.rb'
|
702
|
-
|
703
|
-
# Offense count: 1
|
704
|
-
# Cop supports --auto-correct.
|
705
|
-
Style/MutableConstant:
|
706
|
-
Exclude:
|
707
|
-
- 'lib/trailblazer/activity/version.rb'
|
708
|
-
|
709
|
-
# Offense count: 1
|
710
|
-
Style/NestedTernaryOperator:
|
711
|
-
Exclude:
|
712
|
-
- 'lib/trailblazer/activity/task_builder.rb'
|
713
|
-
|
714
|
-
# Offense count: 3
|
715
|
-
# Configuration parameters: SuspiciousParamNames.
|
716
|
-
# SuspiciousParamNames: options, opts, args, params, parameters
|
717
|
-
Style/OptionHash:
|
718
|
-
Exclude:
|
719
|
-
- 'lib/trailblazer/activity/dsl/strategy/fast_track.rb'
|
720
|
-
- 'lib/trailblazer/activity/dsl/strategy/path.rb'
|
721
|
-
- 'lib/trailblazer/activity/dsl/strategy/railway.rb'
|
722
|
-
|
723
|
-
# Offense count: 8
|
724
|
-
# Cop supports --auto-correct.
|
725
|
-
Style/ParallelAssignment:
|
726
|
-
Exclude:
|
727
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
728
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/normalizer.rb'
|
729
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
730
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/polarization.rb'
|
731
|
-
- 'test/activity_test.rb'
|
732
|
-
- 'test/benchmark/circuit_api.rb'
|
733
|
-
- 'test/benchmark/kw.rb'
|
734
|
-
|
735
|
-
# Offense count: 152
|
736
|
-
# Cop supports --auto-correct.
|
737
|
-
# Configuration parameters: PreferredDelimiters.
|
738
|
-
Style/PercentLiteralDelimiters:
|
739
|
-
Enabled: false
|
740
|
-
|
741
|
-
# Offense count: 2
|
742
|
-
# Cop supports --auto-correct.
|
743
|
-
# Configuration parameters: EnforcedStyle.
|
744
|
-
# SupportedStyles: compact, exploded
|
745
|
-
Style/RaiseArgs:
|
746
|
-
Exclude:
|
747
|
-
- 'lib/trailblazer/activity/dsl/schema/sequence.rb'
|
748
|
-
- 'lib/trailblazer/circuit.rb'
|
749
|
-
|
750
|
-
# Offense count: 29
|
751
|
-
# Cop supports --auto-correct.
|
752
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
753
|
-
Style/RedundantReturn:
|
754
|
-
Enabled: false
|
755
|
-
|
756
|
-
# Offense count: 1
|
757
|
-
# Cop supports --auto-correct.
|
758
|
-
Style/RedundantSelf:
|
759
|
-
Exclude:
|
760
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/path.rb'
|
761
|
-
|
762
|
-
# Offense count: 1
|
763
|
-
# Cop supports --auto-correct.
|
764
|
-
# Configuration parameters: EnforcedStyle.
|
765
|
-
# SupportedStyles: return, return_nil
|
766
|
-
Style/ReturnNil:
|
767
|
-
Exclude:
|
768
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
769
|
-
|
770
|
-
# Offense count: 2
|
771
|
-
# Cop supports --auto-correct.
|
772
|
-
Style/SelfAssignment:
|
773
|
-
Exclude:
|
774
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
775
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/state.rb'
|
776
|
-
|
777
|
-
# Offense count: 12
|
778
|
-
# Cop supports --auto-correct.
|
779
|
-
# Configuration parameters: AllowAsExpressionSeparator.
|
780
|
-
Style/Semicolon:
|
781
|
-
Exclude:
|
782
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
783
|
-
- 'test/circuit_test.rb'
|
784
|
-
- 'test/wrap/extension_test.rb'
|
785
|
-
- 'test/wrap/wrap_test.rb'
|
786
|
-
|
787
|
-
# Offense count: 9
|
788
|
-
Style/Send:
|
789
|
-
Exclude:
|
790
|
-
- 'lib/trailblazer/activity.rb'
|
791
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
792
|
-
- 'lib/trailblazer/activity/dsl/magnetic/finalizer.rb'
|
793
|
-
- 'lib/trailblazer/activity/dsl/magnetic/merge.rb'
|
794
|
-
- 'lib/trailblazer/activity/dsl/schema/dependencies.rb'
|
795
|
-
- 'lib/trailblazer/activity/dsl/strategy/plan.rb'
|
796
|
-
- 'lib/trailblazer/activity/introspect.rb'
|
797
|
-
|
798
|
-
# Offense count: 7
|
799
|
-
# Cop supports --auto-correct.
|
800
|
-
# Configuration parameters: EnforcedStyle.
|
801
|
-
# SupportedStyles: only_raise, only_fail, semantic
|
802
|
-
Style/SignalException:
|
803
|
-
Exclude:
|
804
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
805
|
-
- 'lib/trailblazer/activity/dsl/magnetic/process_options.rb'
|
806
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/polarization.rb'
|
807
|
-
- 'lib/trailblazer/activity/dsl/schema/dependencies.rb'
|
808
|
-
- 'lib/trailblazer/activity/dsl/schema/sequence.rb'
|
809
|
-
- 'lib/trailblazer/circuit.rb'
|
810
|
-
|
811
|
-
# Offense count: 6
|
812
|
-
# Cop supports --auto-correct.
|
813
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
814
|
-
# SupportedStyles: single_quotes, double_quotes
|
815
|
-
Style/StringLiterals:
|
816
|
-
Exclude:
|
817
|
-
- 'Gemfile'
|
818
|
-
- 'test/benchmark/Gemfile'
|
819
|
-
- 'test/test_helper.rb'
|
820
|
-
- 'trailblazer-activity.gemspec'
|
821
|
-
|
822
|
-
# Offense count: 23
|
823
|
-
# Cop supports --auto-correct.
|
824
|
-
# Configuration parameters: MinSize.
|
825
|
-
# SupportedStyles: percent, brackets
|
826
|
-
Style/SymbolArray:
|
827
|
-
EnforcedStyle: brackets
|
828
|
-
|
829
|
-
# Offense count: 9
|
830
|
-
# Cop supports --auto-correct.
|
831
|
-
Style/SymbolLiteral:
|
832
|
-
Exclude:
|
833
|
-
- 'test/dsl/dsl_test.rb'
|
834
|
-
- 'test/path_test.rb'
|
835
|
-
|
836
|
-
# Offense count: 2
|
837
|
-
# Cop supports --auto-correct.
|
838
|
-
# Configuration parameters: IgnoredMethods.
|
839
|
-
# IgnoredMethods: respond_to, define_method
|
840
|
-
Style/SymbolProc:
|
841
|
-
Exclude:
|
842
|
-
- 'lib/trailblazer/activity/dsl/magnetic/structure/plus_poles.rb'
|
843
|
-
- 'lib/trailblazer/activity/dsl/schema/sequence.rb'
|
844
|
-
|
845
|
-
# Offense count: 18
|
846
|
-
# Cop supports --auto-correct.
|
847
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
848
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
849
|
-
Style/TrailingCommaInArguments:
|
850
|
-
Exclude:
|
851
|
-
- 'lib/trailblazer/activity.rb'
|
852
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/fast_track.rb'
|
853
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/normalizer.rb'
|
854
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/path.rb'
|
855
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
856
|
-
- 'lib/trailblazer/activity/dsl/strategy/fast_track.rb'
|
857
|
-
- 'lib/trailblazer/activity/dsl/strategy/railway.rb'
|
858
|
-
- 'test/dsl/dsl_test.rb'
|
859
|
-
- 'test/finalizer_test.rb'
|
860
|
-
- 'test/path_test.rb'
|
861
|
-
- 'test/variable_mapping_test.rb'
|
862
|
-
- 'test/wrap/wrap_test.rb'
|
863
|
-
|
864
|
-
# Offense count: 14
|
865
|
-
# Cop supports --auto-correct.
|
866
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
867
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
868
|
-
Style/TrailingCommaInArrayLiteral:
|
869
|
-
Exclude:
|
870
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder.rb'
|
871
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/railway.rb'
|
872
|
-
- 'lib/trailblazer/activity/dsl/strategy/path.rb'
|
873
|
-
- 'test/finalizer_test.rb'
|
874
|
-
- 'test/variable_mapping_test.rb'
|
875
|
-
- 'test/wrap/extension_test.rb'
|
876
|
-
- 'test/wrap/wrap_test.rb'
|
877
|
-
|
878
|
-
# Offense count: 7
|
879
|
-
# Cop supports --auto-correct.
|
880
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
881
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
882
|
-
Style/TrailingCommaInHashLiteral:
|
883
|
-
Exclude:
|
884
|
-
- 'lib/trailblazer/activity/dsl/magnetic/builder/normalizer.rb'
|
885
|
-
- 'lib/trailblazer/activity/dsl/strategy/path.rb'
|
886
|
-
- 'lib/trailblazer/activity/trace.rb'
|
887
|
-
- 'test/benchmark/commits.rb'
|
888
|
-
- 'test/wrap/wrap_test.rb'
|
889
|
-
|
890
|
-
# Offense count: 64
|
891
|
-
# Cop supports --auto-correct.
|
892
|
-
# Configuration parameters: AllowNamedUnderscoreVariables.
|
893
|
-
Style/TrailingUnderscoreVariable:
|
894
|
-
Enabled: false
|
895
|
-
|
896
|
-
# Offense count: 2
|
897
|
-
# Cop supports --auto-correct.
|
898
|
-
Style/UnneededPercentQ:
|
899
|
-
Exclude:
|
900
|
-
- 'trailblazer-activity.gemspec'
|