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: 6780d2e6a84569a17741b99569f6ac18a62c9be2f184c5e16d7962b187ff014f
4
- data.tar.gz: e2cdd1defca192f3ce67e0035607ecadadc5ba24d3fcfa1c842db68cf7947824
3
+ metadata.gz: 3e79a4c9dd50f5c4b0aeaa909444300b8b89f0f8aceb0c12407415740b052b21
4
+ data.tar.gz: 4412fb8aab76f1d48f279a245b0672cb38f8b7a6fdbd0516cf27dc202d75e1a2
5
5
  SHA512:
6
- metadata.gz: 3b7b2af929a4666ed270cb9ba0034fc07b0e7accede59717ca9783dd1ae0bfc237e62789cd9a80a1631025a47879ec3eed3f9ece63ebdba12732ec6ccb535516
7
- data.tar.gz: 5a804cc8552966516cb9ccbdb175385a5e7ce9f16092cea03e9f6a73a2723d781a4da56c22c36542f8f757ade965aae1b7eeb92f6509b111e7729d78ca7a88ea
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 {:id} but is *not* a {:replace}.
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
- extend Forwardable
89
- def_delegators :@activity, :to_h
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={})
@@ -3,7 +3,7 @@ module Trailblazer
3
3
  module Activity
4
4
  module DSL
5
5
  module Linear
6
- VERSION = "0.1.1"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-activity-dsl-linear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer