carnivore 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/carnivore/callback.rb +1 -1
- data/lib/carnivore/source/sqs.rb +3 -0
- data/lib/carnivore/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/carnivore/callback.rb
CHANGED
data/lib/carnivore/source/sqs.rb
CHANGED
@@ -13,6 +13,9 @@ module Carnivore
|
|
13
13
|
@fog = nil
|
14
14
|
@connection_args = args[:fog]
|
15
15
|
@queues = Array(args[:queues]).compact.flatten
|
16
|
+
@queues.map! do |q|
|
17
|
+
q.include?('.com') ? q : "/#{q.split(':')[-2,2].join('/')}"
|
18
|
+
end
|
16
19
|
@pause_time = args[:pause] || 5
|
17
20
|
@receive_timeout = after(args[:receive_timeout] || 30){ terminate }
|
18
21
|
debug "Creating SQS source instance <#{name}>"
|
data/lib/carnivore/version.rb
CHANGED