mirror of
https://github.com/ditkrg/rabbit_carrots.git
synced 2026-01-25 07:06:39 +00:00
Uses the correct env vars
This commit is contained in:
@@ -7,12 +7,14 @@ module RabbitCarrots
|
||||
|
||||
def initialize
|
||||
@connection = Bunny.new(
|
||||
host: Configuration.rabbitmq_host,
|
||||
port: Configuration.rabbitmq_port,
|
||||
user: Configuration.rabbitmq_user,
|
||||
password: Configuration.rabbitmq_password,
|
||||
vhost: Configuration.rabbitmq_vhost
|
||||
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
|
||||
)
|
||||
|
||||
puts "Putting Config: #{self.configuration}"
|
||||
@connection.start
|
||||
end
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module RabbitCarrots
|
||||
VERSION = "0.1.6"
|
||||
VERSION = "0.1.7"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user