simple_job 0.5.0 → 0.5.1

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.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = Simple Job
2
2
 
3
+ == Version 0.5.1
4
+ * Fixed bug in :asynchronous_execute implementation
5
+
3
6
  == Version 0.5.0
4
7
  * Added :asynchronous_execute option to SQSJobQueue#poll
5
8
 
@@ -166,7 +166,7 @@ class SQSJobQueue < JobQueue
166
166
  end
167
167
 
168
168
  # NOTE: only executes if asynchronous_execute is set (after message has been confirmed)
169
- message_handler.call(definition, message) if asynchronous_execute
169
+ message_handler.call(last_definition, last_message) if asynchronous_execute
170
170
 
171
171
  log_execution(true, last_message, current_job_type, current_start_milliseconds)
172
172
 
@@ -1,3 +1,3 @@
1
1
  module SimpleJob
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_job
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dawson