mirror of
https://github.com/ditkrg/rabbit_carrots.git
synced 2026-01-22 22:06:40 +00:00
Fixes bug
This commit is contained in:
parent
7ad8ae050d
commit
27772b5bd4
@ -1,7 +1,7 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
rabbit_carrots (0.1.7)
|
rabbit_carrots (0.1.8)
|
||||||
activesupport (>= 6.0.0)
|
activesupport (>= 6.0.0)
|
||||||
bunny (>= 2.19.0)
|
bunny (>= 2.19.0)
|
||||||
connection_pool (~> 2.3.0)
|
connection_pool (~> 2.3.0)
|
||||||
|
|||||||
@ -7,14 +7,14 @@ module RabbitCarrots
|
|||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@connection = Bunny.new(
|
@connection = Bunny.new(
|
||||||
host: self.configuration.rabbitmq_host,
|
host: RabbitCarrots.configuration.rabbitmq_host,
|
||||||
port: self.configuration.rabbitmq_port,
|
port: RabbitCarrots.configuration.rabbitmq_port,
|
||||||
user: self.configuration.rabbitmq_user,
|
user: RabbitCarrots.configuration.rabbitmq_user,
|
||||||
password: self.configuration.rabbitmq_password,
|
password: RabbitCarrots.configuration.rabbitmq_password,
|
||||||
vhost: self.configuration.rabbitmq_vhost
|
vhost: RabbitCarrots.configuration.rabbitmq_vhost
|
||||||
)
|
)
|
||||||
|
|
||||||
puts "Putting Config: #{self.configuration}"
|
puts "Putting Config: #{RabbitCarrots.configuration}"
|
||||||
@connection.start
|
@connection.start
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module RabbitCarrots
|
module RabbitCarrots
|
||||||
VERSION = "0.1.8"
|
VERSION = "0.1.9"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user