promiscuous 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ class Promiscuous::Publisher::Mock
39
39
 
40
40
  def save
41
41
  if payload['__amqp__'].in? Promiscuous::Subscriber::AMQP.subscribers.keys
42
- Promiscuous::Subscriber.process(payload)
42
+ Promiscuous::Subscriber.process(JSON.parse(payload.to_json))
43
43
  end
44
44
  self.new_record = false
45
45
  true
@@ -1,3 +1,3 @@
1
1
  module Promiscuous
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
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.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-19 00:00:00.000000000 Z
13
+ date: 2012-09-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport