trailblazer-activity-dsl-linear 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 979e2d306818d28e7dfaafbb9f312c1a1ad9e629d48466b37f1f86c11cb96263
|
4
|
+
data.tar.gz: 1de9bba59e9ddfa45e2c330200294c3b5b45c214ecacbc89b4e6a0bebe3c3fb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25c6ec869be2f6802188e3ae3ea7f5db7e445fa36a3739f8224830d5543a1837b77d02a84ebd4cdc4cd5f61a99f243c1d01399afe5a82d7070289ee23e69f25b
|
7
|
+
data.tar.gz: 58a92185b6dc1959a0698262123798493a72e0cef542c3c197b14f628793c8a9bb52b5cb11e995a04ec2fdfcced67a65dec0c3eedfada174cddc45727f03818b
|
data/CHANGES.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
+
# 0.2.9
|
2
|
+
|
3
|
+
* The `Path()` helper, when used with `:end_task` will now automatically _append_ the end task (or terminus) to `End.success`.
|
4
|
+
It used to be placed straight after the last path's element, which made it hard to later insert more steps into that very path.
|
5
|
+
|
1
6
|
# 0.2.8
|
2
7
|
|
3
|
-
* Add `Track(:color, wrap_around: true)` option and `Search::WrapAround` so you can find a certain track color (or the beginning of a Path) even when the path was positioned before the actual step in the `Sequence`.
|
4
8
|
* Add `:inherit` option so `step` can override an existing step while inheriting the original `:extensions` and `:connections` (which are the `Outputs`). This is great to customize "template" activities.
|
9
|
+
* Add `Track(:color, wrap_around: true)` option and `Search::WrapAround` so you can find a certain track color (or the beginning of a Path) even when the path was positioned before the actual step in the `Sequence`.
|
10
|
+
Note that this feature is still experimental and might get removed.
|
5
11
|
|
6
12
|
# 0.2.7
|
7
13
|
|
@@ -72,11 +72,17 @@ module Trailblazer
|
|
72
72
|
seq = seq[0..-2] + [row]
|
73
73
|
end
|
74
74
|
|
75
|
-
# Add the path before End.success
|
75
|
+
# Add the path elements before {End.success}.
|
76
|
+
# Termini (or :stop_event) are to be placed after {End.success}.
|
76
77
|
adds = seq.collect do |row|
|
78
|
+
options = row[3]
|
79
|
+
|
80
|
+
# the terminus of the path goes _after_ {End.success} into the "end group".
|
81
|
+
insert_method = options[:stop_event] ? Insert.method(:Append) : Insert.method(:Prepend)
|
82
|
+
|
77
83
|
{
|
78
84
|
row: row,
|
79
|
-
insert: [
|
85
|
+
insert: [insert_method, "End.success"]
|
80
86
|
}
|
81
87
|
end
|
82
88
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-activity-dsl-linear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trailblazer-activity
|