bunny-pub-sub 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bunny-pub-sub/subscriber.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8039e7b522e8d348d0731a1a30e92cc54033b5c5e8af69fccfd54df5876eb176
|
4
|
+
data.tar.gz: 33be59af693b630a55809e3855f20a24faff13fdaa2b88f8a857c9c138eeb7c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69ea5b71a2a557faec9925b1d9708fd58d36db9d0b365c7f8b3da14e42c91fdda57532f9d1254ae95ed662e3f5aaabdae62d82e4e186693dc38805bd6f788376
|
7
|
+
data.tar.gz: 0a8f437288faaee512cee5d560ff45ca168fd21d712e586b6430cdb826f9da320052d9107918739c9460ae9aebbf97fef7a5f3bf6ff53acdcdffe7f8cf7c3912
|
@@ -4,6 +4,7 @@ require 'bunny'
|
|
4
4
|
require 'json'
|
5
5
|
require_relative 'helper/config_checks'
|
6
6
|
require_relative 'publisher'
|
7
|
+
require_relative 'services_manager'
|
7
8
|
|
8
9
|
class ErrorReporter < RuntimeError
|
9
10
|
attr_reader :status
|
@@ -63,9 +64,13 @@ class Subscriber
|
|
63
64
|
|
64
65
|
@subscriber_config = subscriber_config
|
65
66
|
@results_publisher = results_publisher
|
67
|
+
|
68
|
+
puts @subscriber_config.inspect
|
66
69
|
end
|
67
70
|
|
68
71
|
def start_subscriber(callback)
|
72
|
+
puts @subscriber_config.inspect
|
73
|
+
|
69
74
|
@connection = Bunny.new(
|
70
75
|
hostname: @subscriber_config[:RABBITMQ_HOSTNAME],
|
71
76
|
username: @subscriber_config[:RABBITMQ_USERNAME],
|