simpler_workflow 0.1.9 → 0.1.10

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.
@@ -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)
@@ -82,7 +83,8 @@ module SimplerWorkflow
82
83
  end
83
84
  rescue Timeout::Error => e
84
85
  rescue => e
85
- context = to_activity_type
86
+ context = {}
87
+ context[:activity_type] = [name.to_s, version]
86
88
  context[:input] = task.input
87
89
  context[:activity_id] = task.activity_id
88
90
  SimplerWorkflow.exception_reporter.report(e, context)
@@ -1,3 +1,3 @@
1
1
  module SimplerWorkflow
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
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.1.9
4
+ version: 0.1.10
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