queue_dispatcher 1.1.15 → 1.1.16

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.
@@ -3,10 +3,15 @@ module TasksHelper
3
3
  icon = 'icon_warning.gif'
4
4
  alt = 'Unknwon'
5
5
 
6
- if task.pending? && ! task.reloading_config?
7
- icon = 'icon_pending.gif'
8
- alt = 'Pending'
9
- elsif task.init_queue? || task.reloading_config?
6
+ if task.pending?
7
+ if task.reloading_config?
8
+ icon = 'icon_init_queue.gif'
9
+ alt = 'Reloading Config'
10
+ else
11
+ icon = 'icon_pending.gif'
12
+ alt = 'Pending'
13
+ end
14
+ elsif task.init_queue?
10
15
  icon = 'icon_init_queue.gif'
11
16
  alt = 'Initialize Queue'
12
17
  elsif task.acquire_lock?
@@ -1,3 +1,3 @@
1
1
  module QueueDispatcher
2
- VERSION = "1.1.15"
2
+ VERSION = "1.1.16"
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.15
4
+ version: 1.1.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: