aws-flow 1.1.1 → 1.2.0

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.
@@ -64,6 +64,7 @@ describe "will test a patch that makes sure with_retry and decision_context can
64
64
  end
65
65
 
66
66
  class FakeWorkflowExecution
67
+ attr_accessor :run_id, :workflow_id, :task_list
67
68
  def run_id
68
69
  "1"
69
70
  end
@@ -79,7 +80,7 @@ describe "will test a patch that makes sure with_retry and decision_context can
79
80
  end
80
81
 
81
82
  class SynchronousWorkflowTaskPoller < AWS::Flow::WorkflowTaskPoller
82
- def get_decision_tasks
83
+ def get_decision_task
83
84
  workflow_type = FakeWorkflowType.new(nil, "TestWorkflow.entry_point", "1")
84
85
  TestHistoryWrapper.new(workflow_type,
85
86
  [TestHistoryEvent.new("WorkflowExecutionStarted", 1, {:parent_initiated_event_id=>0, :child_policy=>:request_cancel, :execution_start_to_close_timeout=>3600, :task_start_to_close_timeout=>5, :workflow_type=> workflow_type, :task_list=>"TestWorkflow_tasklist"}),
@@ -14,6 +14,7 @@
14
14
  ##
15
15
 
16
16
  require 'aws/flow'
17
+ require 'aws/decider'
17
18
 
18
19
  include AWS::Flow::Core
19
20
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Steger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -82,12 +82,14 @@ files:
82
82
  - spec/aws/unit/async_scope_spec.rb
83
83
  - spec/aws/unit/begin_rescue_ensure_spec.rb
84
84
  - spec/aws/unit/decider_spec.rb
85
+ - spec/aws/unit/executor_spec.rb
85
86
  - spec/aws/unit/external_task_spec.rb
86
87
  - spec/aws/unit/factories.rb
87
88
  - spec/aws/unit/fiber_condition_variable_spec.rb
88
89
  - spec/aws/unit/fiber_spec.rb
89
90
  - spec/aws/unit/flow_spec.rb
90
91
  - spec/aws/unit/future_spec.rb
92
+ - spec/aws/unit/options_spec.rb
91
93
  - spec/aws/unit/preinclude_tests.rb
92
94
  - spec/aws/unit/rubyflow.rb
93
95
  - spec/aws/unit/simple_dfa_spec.rb