alephant-publisher 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/publisher/sqs_helper/queue.rb +7 -3
- data/lib/alephant/publisher/version.rb +1 -1
- 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: 8c0322caf2f9ce63529630db3c3c8cf22ec57f66
|
4
|
+
data.tar.gz: 9837cd40f3b09c2742f36957baf4fee31804021a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 720c364edee44aa12105ab08308e380931a0ccd2baa3d062389168f40fc78817b49e290d5a9dcf70e33be436d6f69fbf6b7505b1733876665e4cf86eecfbe0e6
|
7
|
+
data.tar.gz: c544222548e718464c154b2f7fce8fe6d8bf1ff924bd621b2d7713ea2e3aa0360f3467d520cf737358870f8e05f4163667b72efe7c5b85aec401ef7df9c6b988
|
@@ -23,13 +23,17 @@ module Alephant
|
|
23
23
|
|
24
24
|
def message
|
25
25
|
recieve.tap do |m|
|
26
|
-
|
27
|
-
|
26
|
+
unless m.nil?
|
27
|
+
logger.info("Queue#message: received #{m.id}")
|
28
|
+
archive m
|
29
|
+
end
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
31
33
|
def archive(m)
|
32
|
-
|
34
|
+
unless m.nil?
|
35
|
+
archiver.see(m)
|
36
|
+
end
|
33
37
|
end
|
34
38
|
|
35
39
|
def recieve
|