simpler_workflow 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,20 +3,10 @@ require 'aws/simple_workflow/decision_task'
|
|
3
3
|
module AWS
|
4
4
|
class SimpleWorkflow
|
5
5
|
module DecisionTaskAdditions
|
6
|
-
def self.extended(inst)
|
7
|
-
inst.class.__send__ :alias_method, :_original_events, :events
|
8
|
-
end
|
9
|
-
|
10
6
|
def scheduled_event(event)
|
11
|
-
events.
|
12
|
-
end
|
13
|
-
|
14
|
-
def events
|
15
|
-
@__original_events ||= _original_events
|
7
|
+
workflow_execution.events.reverse_order.find { |e| e.id == event.attributes.scheduled_event_id }
|
16
8
|
end
|
17
|
-
|
18
9
|
end
|
19
|
-
|
20
10
|
end
|
21
11
|
end
|
22
12
|
|
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.2.
|
4
|
+
version: 0.2.5
|
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: 2012-10-
|
12
|
+
date: 2012-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|
@@ -126,7 +126,7 @@ files:
|
|
126
126
|
- spec/spec_helper.rb
|
127
127
|
homepage: https://github.com/fredjean/simpler_workflow
|
128
128
|
licenses: []
|
129
|
-
post_install_message: ! "simpler_workflow 0.2.
|
129
|
+
post_install_message: ! "simpler_workflow 0.2.5\n========================\n\nHave
|
130
130
|
a look at https://github.com/fredjean/simpler_workflow/wiki/MIgrating-to-0.2.0 if
|
131
131
|
you\nare upgrading from a 0.1.x version of the gem. There is a fundamental change
|
132
132
|
in how the \nactivity and decision loops are run. You may need to adjust your application
|