promiscuous 0.8.7 → 0.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: