promiscuous 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/promiscuous/publisher/mock.rb +3 -1
- data/lib/promiscuous/version.rb +1 -1
- metadata +1 -1
@@ -38,7 +38,9 @@ class Promiscuous::Publisher::Mock
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def save
|
41
|
-
Promiscuous::Subscriber.
|
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
|
data/lib/promiscuous/version.rb
CHANGED