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 +4 -4
- data/lib/apollo/rabbitmq.rb +1 -2
- data/lib/apollo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b074ab600a109dff4341a4f9cbc7aa03c9e251b
|
4
|
+
data.tar.gz: c74514f110e6797c2a9a95474c21974df4f0baf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a6fca59e1ac81ac37387095093f951aa010a91c309ae5fa090256daeee92530053d191448731aab53c3108abe722983151b01bde7910a1edcd9e3b33116133f
|
7
|
+
data.tar.gz: 3343645d3f7e6c92ba659de15dfeaf14247169254a83ac306cdf9976c61d5274cf15dd8401d721f4abecd0d3eb756da0139d7122a13e6114bfbb8e3cb00aa12f
|
data/lib/apollo/rabbitmq.rb
CHANGED
@@ -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(
|
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
|
data/lib/apollo/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|