simpler_workflow 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'aws/simple_workflow/decision_task'
|
2
|
+
|
3
|
+
module AWS
|
4
|
+
class SimpleWorkflow
|
5
|
+
module DecisionTaskAdditions
|
6
|
+
def scheduled_event(event)
|
7
|
+
@scheduled_event ||= events.to_a[event.attributes.scheduled_event_id - 1]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
DecisionTask.__send__(:include, DecisionTaskAdditions)
|
12
|
+
end
|
13
|
+
end
|
data/lib/simpler_workflow.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpler_workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frederic Jean
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-07-
|
18
|
+
date: 2012-07-06 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: aws-sdk
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- README.md
|
108
108
|
- Rakefile
|
109
109
|
- ext/mkrf_conf.rb
|
110
|
+
- lib/aws/simple_workflow/decision_task_additions.rb
|
110
111
|
- lib/simpler_workflow.rb
|
111
112
|
- lib/simpler_workflow/activity.rb
|
112
113
|
- lib/simpler_workflow/domain.rb
|