trailblazer-activity-dsl-linear 0.1.1 → 0.1.2
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: 3e79a4c9dd50f5c4b0aeaa909444300b8b89f0f8aceb0c12407415740b052b21
|
4
|
+
data.tar.gz: 4412fb8aab76f1d48f279a245b0672cb38f8b7a6fdbd0516cf27dc202d75e1a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fb1d473d5a8dad06e558c0b38979241989aeb9849aba6d6cc87fdf9abcabde6634439f2258a873ccb746928778d56c841febd64e348eed463f39fae43e3f5f2
|
7
|
+
data.tar.gz: 515bae212cbb3aff29f39a75e7f1a500fa13866aa3d09fc4a9dabf23f350378d257b258c188b20a8e0afa30c0c779ef7a88798649ec369c4d9c5d128d4e0ebf3
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
# 0.1.2
|
2
|
+
|
3
|
+
* In `Strategy#to_h`, now provide a new member `:activity`, which is the actual `Activity` wrapped by the Path (or whatever) strategy.
|
4
|
+
|
1
5
|
# 0.1.1
|
2
6
|
|
3
|
-
* Raise when a step has a duplicate, already existing
|
7
|
+
* Raise when a step has a duplicate, already existing `:id` but is *not* a `:replace`.
|
4
8
|
|
5
9
|
# 0.1.0
|
6
10
|
|
@@ -85,8 +85,9 @@ module Trailblazer
|
|
85
85
|
@state.instance_variable_set(:@sequence, seq) # FIXME: hate this so much.
|
86
86
|
end
|
87
87
|
|
88
|
-
|
89
|
-
|
88
|
+
def to_h
|
89
|
+
@activity.to_h.to_h.merge(activity: @activity)
|
90
|
+
end
|
90
91
|
|
91
92
|
# Injects {:exec_context} so that {:instance_method}s work.
|
92
93
|
def call(args, circuit_options={})
|