fake_smith 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fake_smith/version.rb +1 -1
- data/lib/fake_smith.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fc432b1451c41074bd77f3da104077bfcfa68e2
|
4
|
+
data.tar.gz: 062e8da11926ab9f3a78a3db1e955ec7651f3517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 155ebebc6de2e8b0693764797233af91afe8ee6ab265032569398bdedd82ad66a9f6872f0dceb2669e46f3a19a9d477922952d7a8f069dbb48327aa51d71bdf8
|
7
|
+
data.tar.gz: a2ed267d086793334f708585bc6e092d0a40d6c032a27fc3d44df61175cc50a453ac8222084fef98ae6f874e305a689352189186ee7508f1ff096b57e7b80599
|
data/lib/fake_smith/version.rb
CHANGED
data/lib/fake_smith.rb
CHANGED
@@ -149,9 +149,8 @@ module Smith
|
|
149
149
|
r
|
150
150
|
end
|
151
151
|
|
152
|
-
def sender(
|
153
|
-
|
154
|
-
blk.call(s) if block_given?
|
152
|
+
def sender(queue_names, opts={}, &blk)
|
153
|
+
Array(queue_names).each { |queue_name| Smith::Messaging::Sender.new(queue_name, opts, &blk) }
|
155
154
|
end
|
156
155
|
|
157
156
|
def acknowledge_start(&blk)
|