simpler_workflow 0.1.5 → 0.1.6

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.
@@ -60,7 +60,7 @@ module SimplerWorkflow
60
60
  rescue => e
61
61
  logger.error e.message
62
62
  logger.error e.backtrace.join("\n")
63
- task.fail! :reason => e.message, :details => {:failure_policy => failure_policy}.to_json
63
+ task.fail! :reason => e.message[0..250], :details => {:failure_policy => failure_policy}.to_json
64
64
  end
65
65
 
66
66
  def to_activity_type
@@ -92,12 +92,12 @@ module SimplerWorkflow
92
92
  end
93
93
  end
94
94
  end
95
-
95
+
96
96
  def poll_for_single_task
97
97
  logger.info("Polling for single task for #{name}")
98
98
  domain.activity_tasks.poll_for_single_task(name.to_s)
99
99
  end
100
-
100
+
101
101
  def count
102
102
  domain.activity_tasks.count(name).to_i
103
103
  end
@@ -1,3 +1,3 @@
1
1
  module SimplerWorkflow
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
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-06 00:00:00 Z
18
+ date: 2012-07-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: aws-sdk