queue_dispatcher 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -347,7 +347,7 @@ module QueueDispatcher
347
347
  puts "Fatal error in method 'run!': #{$!}\n#{backtrace}"
348
348
  task.update_state QueueDispatcher::RcAndMsg.bad_rc("Fatal error: #{$!}") if task
349
349
  cleanup_locks_after_error_for task if task
350
- task.update_attribute state: 'error' if task && task.state != 'finished'
350
+ task.update_attributes state: 'error' if task && task.state != 'finished'
351
351
  ensure
352
352
  # Reload task and task_queue, to ensure the objects are up to date
353
353
  task_queue = TaskQueue.find_by_id task_queue.id if task_queue
@@ -1,3 +1,3 @@
1
1
  module QueueDispatcher
2
- VERSION = "1.1.7"
2
+ VERSION = "1.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_dispatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
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-08-30 00:00:00.000000000 Z
12
+ date: 2012-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sys-proctable