ntswf 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ntswf/client.rb +4 -2
  2. metadata +2 -2
data/lib/ntswf/client.rb CHANGED
@@ -18,6 +18,8 @@ module Ntswf
18
18
  # new executions, even in case of failure
19
19
  # @option options [String] :name Identifies the kind of task for the executing unit
20
20
  # @option options [Hash] :params Custom task parameters passed on to the executing unit
21
+ # @option options [String] :tag_list
22
+ # Additional strings that will be added to to the tag list of the workflow execution.
21
23
  # @option options [String] :unit
22
24
  # The executing unit's key, a corresponding activity task list must be configured
23
25
  # @option options [Numeric] :version
@@ -60,7 +62,7 @@ module Ntswf
60
62
  child_policy: :terminate,
61
63
  execution_start_to_close_timeout: 48 * 3600,
62
64
  input: options.to_json,
63
- tag_list: [options[:unit].to_s, options[:name].to_s],
65
+ tag_list: [options[:unit].to_s, options[:name].to_s] + Array(options[:tag_list]),
64
66
  task_list: decision_task_list,
65
67
  task_start_to_close_timeout: 10 * 60,
66
68
  workflow_id: workflow_id(execution_id_prefix, execution_id),
@@ -165,4 +167,4 @@ module Ntswf
165
167
  @workflow_type ||= domain.workflow_types[workflow_name, workflow_version]
166
168
  end
167
169
  end
168
- end
170
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ntswf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-19 00:00:00.000000000 Z
12
+ date: 2014-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk