trailblazer-activity 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/trailblazer/activity/testing.rb +5 -3
- data/lib/trailblazer/activity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 380d2d51d03b55dbd76b0501b67d9f16d782d1c68a62a6fe8b87ef0074480206
|
4
|
+
data.tar.gz: 5b5b4ebea2d846793d8ad925ac18a3c6b458857c7189894c7cd61924030b5632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e4e0b531018c3eae43d943b21a583807a494ea00e93e26f6fb3bdb13da04cdc6b7bc7b431a0bf0508b02c1571ab4e249864d77832d32405c46ee3704092770a
|
7
|
+
data.tar.gz: 34b9a5957cc8e59ac3862c2bdf4e4cd5b4028101f2205bcb0566a598a6539396fdd33f1c25ed161f2bc03d1da1cbb6bfd9f01e78a3d1bd3eb5573a7efb93c2f3
|
data/CHANGES.md
CHANGED
@@ -27,7 +27,9 @@ module Trailblazer
|
|
27
27
|
Module.new do
|
28
28
|
define_singleton_method(name) do | (ctx, flow_options), ** |
|
29
29
|
ctx[:seq] << name
|
30
|
-
|
30
|
+
signal = ctx.key?(name) ? ctx[name] : Activity::Right
|
31
|
+
|
32
|
+
return signal, [ctx, flow_options]
|
31
33
|
end
|
32
34
|
end.method(name)
|
33
35
|
end
|
@@ -38,9 +40,9 @@ module Trailblazer
|
|
38
40
|
names.each do |name|
|
39
41
|
define_method(name) do | (ctx, flow_options), ** |
|
40
42
|
ctx[:seq] << name
|
41
|
-
|
43
|
+
signal = ctx.key?(name) ? ctx[name] : Activity::Right
|
42
44
|
|
43
|
-
return
|
45
|
+
return signal, [ctx, flow_options]
|
44
46
|
end
|
45
47
|
end
|
46
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-activity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
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-08-
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trailblazer-context
|