apollo-tools 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c50cfa3247a14f89aca224a8145962117498afa
4
- data.tar.gz: 004d1114ae529036454ebf7022f50e6ff36e4dae
3
+ metadata.gz: 0b074ab600a109dff4341a4f9cbc7aa03c9e251b
4
+ data.tar.gz: c74514f110e6797c2a9a95474c21974df4f0baf2
5
5
  SHA512:
6
- metadata.gz: 7ff85193e507d7c8fa3e7c022a5756b11257648f99b24fd3373b736e836237ef4c58adf0052c85f7b3f3342dbb518af48a4ecd3824a3b9f109627af5267c1575
7
- data.tar.gz: f3cb1de491ba4b1f962a388ecc3c8fc1d22f68bba2093ccdc21c3c3643dcddbf7560d071bfcc5484335efea4c25eb60cfbdca20b967233ea1965299f457d0493
6
+ metadata.gz: 5a6fca59e1ac81ac37387095093f951aa010a91c309ae5fa090256daeee92530053d191448731aab53c3108abe722983151b01bde7910a1edcd9e3b33116133f
7
+ data.tar.gz: 3343645d3f7e6c92ba659de15dfeaf14247169254a83ac306cdf9976c61d5274cf15dd8401d721f4abecd0d3eb756da0139d7122a13e6114bfbb8e3cb00aa12f
@@ -22,9 +22,8 @@ module Apollo
22
22
  @conn.start
23
23
  raise 'connection is nil' if @conn.nil?
24
24
  @ch = @conn.create_channel
25
- x = @ch.direct exchange
26
25
  @messages = []
27
- @ch.temporary_queue.bind(x, :routing_key => key).subscribe do |delivery_info, metadata, payload|
26
+ @ch.temporary_queue.bind(exchange, :routing_key => key).subscribe do |delivery_info, metadata, payload|
28
27
  @messages << JSON.parse(payload)
29
28
  end
30
29
  end
@@ -1,3 +1,3 @@
1
1
  module Apollo
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendan Tobolaski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-03-31 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler