simple_job 0.5.1 → 0.5.2

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.
@@ -1,5 +1,8 @@
1
1
  = Simple Job
2
2
 
3
+ == Version 0.5.2
4
+ * Fixed handling of sparse queue when using :asynchronous_execute implementation
5
+
3
6
  == Version 0.5.1
4
7
  * Fixed bug in :asynchronous_execute implementation
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(last_definition, last_message) if asynchronous_execute
169
+ message_handler.call(last_definition, last_message) if asynchronous_execute && last_message
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.1'
2
+ VERSION = '0.5.2'
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: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dawson