dynflow 0.8.12 → 0.8.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynflow/action.rb +1 -1
- data/lib/dynflow/version.rb +1 -1
- data/test/support/dummy_example.rb +4 -0
- data/test/testing_test.rb +6 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9215ff1efd57ed6ece39b4ae15891123a6304050
|
4
|
+
data.tar.gz: 7c68d582ed355012b1de8211172d7b10240a6d45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0439afb6121642343bcf9180164d0ae4155b13a42207b3f439bfd33709dd616a8bffb55b31855f7c80091e2e322de142acf6f46e42447e82645d221ec9185d
|
7
|
+
data.tar.gz: aae18c603de99391980735fda2deb3ac7c1320268623a6bc550578cdf7e24e9c69274224fbe90ffdb93481bd87ab75054b338e21affce221c9be70052bc7a116
|
data/lib/dynflow/action.rb
CHANGED
@@ -92,7 +92,7 @@ module Dynflow
|
|
92
92
|
|
93
93
|
@phase = Type! attributes.fetch(:phase), Phase
|
94
94
|
@world = Type! world, World
|
95
|
-
@step = Type! attributes.fetch(:step), ExecutionPlan::Steps::Abstract, NilClass
|
95
|
+
@step = Type! attributes.fetch(:step, nil), ExecutionPlan::Steps::Abstract, NilClass
|
96
96
|
raise ArgumentError, 'Step reference missing' if phase?(Executable) && @step.nil?
|
97
97
|
@execution_plan_id = Type! attributes.fetch(:execution_plan_id), String
|
98
98
|
@id = Type! attributes.fetch(:id), Integer
|
data/lib/dynflow/version.rb
CHANGED
data/test/testing_test.rb
CHANGED
@@ -34,6 +34,12 @@ module Dynflow
|
|
34
34
|
stubbed_action.test.must_equal "test"
|
35
35
|
end
|
36
36
|
|
37
|
+
specify '#create_action_presentation' do
|
38
|
+
action = create_action_presentation(Support::DummyExample::WeightedPolling)
|
39
|
+
action.output['message'] = 'make the world a better place'
|
40
|
+
action.humanized_output.must_equal 'You should make the world a better place'
|
41
|
+
end
|
42
|
+
|
37
43
|
specify '#run_action without suspend' do
|
38
44
|
input = { 'input' => 'input' }
|
39
45
|
plan = create_and_plan_action Support::DummyExample::WeightedPolling, input
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Necas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
@@ -542,7 +542,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
542
542
|
version: '0'
|
543
543
|
requirements: []
|
544
544
|
rubyforge_project:
|
545
|
-
rubygems_version: 2.4.
|
545
|
+
rubygems_version: 2.4.5
|
546
546
|
signing_key:
|
547
547
|
specification_version: 4
|
548
548
|
summary: DYNamic workFLOW engine
|
@@ -571,4 +571,3 @@ test_files:
|
|
571
571
|
- test/testing_test.rb
|
572
572
|
- test/web_console_test.rb
|
573
573
|
- test/world_test.rb
|
574
|
-
has_rdoc:
|