magicbus 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,7 @@ class MagicBus::Publisher
47
47
  end
48
48
 
49
49
  channel = channels[user_id]
50
- exchange = channel.fanout('syme')
50
+ exchange = channel.fanout(user_id)
51
51
  exchange.publish(data.to_json)
52
52
 
53
53
  end
@@ -22,7 +22,7 @@ class MagicBus::Subscriber
22
22
  end
23
23
 
24
24
  channel = channels[user_id]
25
- exchange = channel.fanout('syme')
25
+ exchange = channel.fanout(user_id)
26
26
 
27
27
  client_id = SecureRandom.uuid
28
28
 
@@ -1,5 +1,5 @@
1
1
  module MagicBus
2
2
 
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magicbus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-03 00:00:00.000000000 Z
12
+ date: 2013-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: amqp