sidekiq_queue_status 0.0.3 → 0.0.4

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: 983038f3f4671d60805223bdb2490356060e61a5
4
- data.tar.gz: 3db19c930aa5afa3c5dea0001c876ce81aa8f02d
3
+ metadata.gz: 7051f4653a530bc9a0bf9956d9ca2271067076c9
4
+ data.tar.gz: 6a94d25da2aa312c67d72fc09fc05b26f6461c8e
5
5
  SHA512:
6
- metadata.gz: f2d4563c2520de2c560e1691004bea63985b5fedce16f5d42ab76d63cf629d1b0b4fa425ca7179580a568a1d3a8fe6fd71ce6540e6b123802ed410bc638ae81d
7
- data.tar.gz: 1407ab64ea2393f3630275a37befe7d5a41e16b15f8c3fe88c0b0e9b672b73d0ffd642db9b04986b4654f81b77c18601740c022a1980f4ce9c7dcda6c78184d5
6
+ metadata.gz: d1270c2274d52b665ec3fc7b3df69a1400e8d49f87fc20354b2616b7f92e0114c2b0260e8c0948e1856c0b7bd0010bf7ac98bd5ce56c934c5d042c4e0c5614e3
7
+ data.tar.gz: f579c7abc611c717e6f4f6590641927846cacaaa819b75534822c69d519dc37eaff87ecf51b61fb7bb94e32351c81c5280c34f1ac794bad646d405e0c77f9097
@@ -8,7 +8,7 @@ module SidekiqQueueStatus
8
8
  end
9
9
 
10
10
  def queues_with_latency
11
- Sidekiq::Queue.all.map { |q| [q.name, q.latency.to_i] }.to_h
11
+ Hash[*Sidekiq::Queue.all.map { |q| [q.name, q.latency.to_i] }.flatten]
12
12
  end
13
13
 
14
14
  def max_latency(name)
@@ -1,3 +1,3 @@
1
1
  module SidekiqQueueStatus
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_queue_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthijs Langenberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-07 00:00:00.000000000 Z
11
+ date: 2014-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties