simpler_workflow 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module SimplerWorkflow
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -218,7 +218,7 @@ module SimplerWorkflow
218
218
 
219
219
  if next_activity = completed_activity.next_activity
220
220
  activity_type = domain.activity_types[next_activity.name, next_activity.version]
221
- decision_task.schedule_activity activity_type, input: scheduled_event(decision_task, event).attributes.input
221
+ decision_task.schedule_activity_task activity_type, input: scheduled_event(decision_task, event).attributes.input
222
222
  else
223
223
  decision_task.complete_workflow_execution(result: 'success')
224
224
  end
@@ -140,7 +140,7 @@ module SimplerWorkflow
140
140
  scheduled_event.set(:attributes, :activity_type, scheduled_activity.to_activity_type)
141
141
 
142
142
  decision_task.should_receive(:scheduled_event).with(event).twice.and_return(scheduled_event)
143
- decision_task.should_receive(:schedule_activity).with(next_activity, input: scheduled_event.attributes.input)
143
+ decision_task.should_receive(:schedule_activity_task).with(next_activity, input: scheduled_event.attributes.input)
144
144
 
145
145
  event_handlers[:ActivityTaskCompleted].call(decision_task, event)
146
146
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpler_workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
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: 2013-05-08 00:00:00.000000000 Z
12
+ date: 2013-07-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
@@ -192,7 +192,7 @@ files:
192
192
  - spec/workflow_spec.rb
193
193
  homepage: https://github.com/fredjean/simpler_workflow
194
194
  licenses: []
195
- post_install_message: ! "simpler_workflow 0.3.0\n========================\n\nHave
195
+ post_install_message: ! "simpler_workflow 0.3.1\n========================\n\nHave
196
196
  a look at https://github.com/fredjean/simpler_workflow/wiki/MIgrating-to-0.2.0 if
197
197
  you\nare upgrading from a 0.1.x version of the gem. There is a fundamental change
198
198
  in how the \nactivity and decision loops are run. You may need to adjust your application
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  version: '0'
216
216
  segments:
217
217
  - 0
218
- hash: 442609176785425915
218
+ hash: -904765461876988747
219
219
  requirements: []
220
220
  rubyforge_project:
221
221
  rubygems_version: 1.8.23