sidekiq-queue-stats 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6ced9e7385fa13f1bd71c80ff8dd85a27e93d89
4
- data.tar.gz: f77ab58fcd029a22701ffe999d97f278e7cef4e3
3
+ metadata.gz: b5942a0e6ee10eadf6ed9c0e21d768a9c4821396
4
+ data.tar.gz: bd4b8813b560294d719d715ba0a694b3679b429a
5
5
  SHA512:
6
- metadata.gz: 70a67ffc25ec58310f7a321f080dd057806c302158a26427012149aa5ee6868165d3ca141eccc28323e3c72fb8d81b1823a49f8719fdb362e4ad191a32457d98
7
- data.tar.gz: 4da87e0c67eb9803aa1167a9fb988f7f8abea1c8bebd42cbed57778d476ec235a8a4e48250005aef8c17e6000425da0519d8ca1f2694a0cf12cdcce1033b01c9
6
+ metadata.gz: 28344dc41cb3a434c01b3d512adbe0e5fb6a16b5a320932cc2065dfafc277d746054b19d02d2401fbc4e22d1112b6730975c3f87f1a9842c515639c51d49f8e7
7
+ data.tar.gz: 254dbcc2239524c29b5115db8c2e4737c0bafe296d3ee3d7ec2965e6e4f762033273343df1540db3fb3e7195a3fd56c6ebbbcbf55257dbbc47208eb9fb2f9660
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module QueueStats
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -42,7 +42,7 @@
42
42
  <% end %>
43
43
  <% else %>
44
44
  <h4><%= @queue.name.capitalize %></h4>
45
- <% if @workers[@queue].nil? %>
45
+ <% if @workers[@queue.name].nil? %>
46
46
  <div class="alert alert-success">Nothing waiting in queue</div>
47
47
  <% else %>
48
48
  <table class="table table-striped table-bordered table-white">
@@ -21,6 +21,7 @@ module QueueStats
21
21
  else
22
22
  @queue = params[:queue] ? Sidekiq::Queue.new(params[:queue]) : Sidekiq::Queue.new
23
23
  @workers[@queue.name] = {}
24
+
24
25
  total = @queue.map{|cue| cue.klass}
25
26
  klasses = total.uniq
26
27
  if klasses
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-queue-stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Stephens