simpler_workflow 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,7 +52,8 @@ module SimplerWorkflow
52
52
  logger.info("Performing task #{name}")
53
53
  @perform_task.call(task)
54
54
  rescue => e
55
- context = to_activity_type
55
+ context = {}
56
+ context[:activity_type] = [name.to_s, version]
56
57
  context[:input] = task.input
57
58
  context[:activity_id] = task.activity_id
58
59
  SimplerWorkflow.exception_reporter.report(e, context)
@@ -106,7 +107,8 @@ module SimplerWorkflow
106
107
  retry
107
108
  end
108
109
  rescue => e
109
- context = to_activity_type
110
+ context = {}
111
+ context[:activity_type] = [name.to_s, version]
110
112
  context[:input] = task.input
111
113
  context[:activity_id] = task.activity_id
112
114
  SimplerWorkflow.exception_reporter.report(e, context)
@@ -1,3 +1,3 @@
1
1
  module SimplerWorkflow
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.3"
3
3
  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.2.1
4
+ version: 0.2.3
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-09-28 00:00:00.000000000 Z
12
+ date: 2012-10-01 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.1\n========================\n\nHave
129
+ post_install_message: ! "simpler_workflow 0.2.3\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