iron_mq 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/iron_mq/queues.rb +2 -2
- data/lib/iron_mq/version.rb +1 -1
- data/test/Gemfile.lock +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/iron_mq/queues.rb
CHANGED
@@ -22,7 +22,7 @@ module IronMQ
|
|
22
22
|
res = @client.parse_response(r1)
|
23
23
|
res.each do |q|
|
24
24
|
#p q
|
25
|
-
q = Queue.new(
|
25
|
+
q = Queue.new(@client, q)
|
26
26
|
ret << q
|
27
27
|
end
|
28
28
|
ret
|
@@ -33,7 +33,7 @@ module IronMQ
|
|
33
33
|
def get(options={})
|
34
34
|
options[:name] ||= @client.queue_name
|
35
35
|
res = @client.parse_response(@client.get("#{path(options)}"))
|
36
|
-
return Queue.new(
|
36
|
+
return Queue.new(@client, res)
|
37
37
|
end
|
38
38
|
|
39
39
|
# Update a queue
|
data/lib/iron_mq/version.rb
CHANGED
data/test/Gemfile.lock
CHANGED