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