Fixes bug

This commit is contained in:
2022-12-01 21:32:23 +03:00
parent 7ad8ae050d
commit 27772b5bd4
3 changed files with 8 additions and 8 deletions

View File

@@ -7,14 +7,14 @@ module RabbitCarrots
def initialize
@connection = Bunny.new(
host: self.configuration.rabbitmq_host,
port: self.configuration.rabbitmq_port,
user: self.configuration.rabbitmq_user,
password: self.configuration.rabbitmq_password,
vhost: self.configuration.rabbitmq_vhost
host: RabbitCarrots.configuration.rabbitmq_host,
port: RabbitCarrots.configuration.rabbitmq_port,
user: RabbitCarrots.configuration.rabbitmq_user,
password: RabbitCarrots.configuration.rabbitmq_password,
vhost: RabbitCarrots.configuration.rabbitmq_vhost
)
puts "Putting Config: #{self.configuration}"
puts "Putting Config: #{RabbitCarrots.configuration}"
@connection.start
end

View File

@@ -1,5 +1,5 @@
# frozen_string_literal: true
module RabbitCarrots
VERSION = "0.1.8"
VERSION = "0.1.9"
end