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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 278b7dbd7d1001987418dec5721269cab8336ec3
4
- data.tar.gz: 582cc75dfce85ecef619366d75ba5e6db13c2446
3
+ metadata.gz: 8c0322caf2f9ce63529630db3c3c8cf22ec57f66
4
+ data.tar.gz: 9837cd40f3b09c2742f36957baf4fee31804021a
5
5
  SHA512:
6
- metadata.gz: fb43706d6b88b6d63794d8d7256a956b52ebd21513dacd9b3a1e9f5fbfe348a2642f0fcaff29cad45326f2fb9b811cd0ba5aeb04347a212cb1f126acb08b68b0
7
- data.tar.gz: 8693925153211a73d3ae5c3ac9e81663196a3d0c414e8c414ee5d67270815d329078f831f9864ca0d50b6a69cf2b5e582627932395755fd0bed800018dd2dc37
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
- logger.info("Queue#message: received #{m.id}")
27
- archive m
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
- archiver.see(m)
34
+ unless m.nil?
35
+ archiver.see(m)
36
+ end
33
37
  end
34
38
 
35
39
  def recieve
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Publisher
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Integralist