promiscuous 0.8.7 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,9 @@ class Promiscuous::Publisher::Mock
38
38
  end
39
39
 
40
40
  def save
41
- Promiscuous::Subscriber.process(payload)
41
+ if payload['__amqp__'].in? Promiscuous::Subscriber::AMQP.subscribers.keys
42
+ Promiscuous::Subscriber.process(payload)
43
+ end
42
44
  self.new_record = false
43
45
  true
44
46
  end
@@ -1,3 +1,3 @@
1
1
  module Promiscuous
2
- VERSION = '0.8.7'
2
+ VERSION = '0.8.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promiscuous
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: