factor 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/common/deep_struct.rb +8 -0
- data/lib/factor/version.rb +1 -1
- data/lib/runtime/workflow.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de59489e42da320e68f586ec424afe9ca68ca25a
|
4
|
+
data.tar.gz: 314cc835b4304aa42a40d3827e4abe24f648a50d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e240a8437547554f5aeb5036315057e23a5dffb2477c0ad6bd12a3dfd4511f961763d14daaa2cdcf0c98b29b9015868b3b3e594d1264fc322587ec55cbb5f5d
|
7
|
+
data.tar.gz: 9c56560e8cf41062d0629042d01e4bbcbea5102dd452cca4df67a3fb4883ccddbab2170ec98f122224465b1b05130f3e476756f1b13249a6b5c359e49a2f03b3
|
data/lib/common/deep_struct.rb
CHANGED
data/lib/factor/version.rb
CHANGED
data/lib/runtime/workflow.rb
CHANGED
@@ -73,7 +73,7 @@ module Factor
|
|
73
73
|
|
74
74
|
caller.on :start_workflow do |data|
|
75
75
|
success "Listener '#{address}' triggered"
|
76
|
-
block.call(Factor::Common.simple_object_convert(data))
|
76
|
+
block.call(Factor::Common.simple_object_convert(data['payload']))
|
77
77
|
end
|
78
78
|
|
79
79
|
caller.on :fail do |info|
|
@@ -128,7 +128,7 @@ module Factor
|
|
128
128
|
caller.on :return do |data|
|
129
129
|
success "Action '#{address}' responded"
|
130
130
|
caller.close
|
131
|
-
block.call(Factor::Common.simple_object_convert(data))
|
131
|
+
block.call(Factor::Common.simple_object_convert(data['payload']))
|
132
132
|
end
|
133
133
|
|
134
134
|
caller.on :close do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Skierkowski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|