slnky 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7e907b583e585108cc7ebfb2aac06481e659be5
4
- data.tar.gz: f9e3ac22078ed239e8aad235d220b0acfc1c4cce
3
+ metadata.gz: c51d287908f0a2b0cb4091a29bc8a814eee19342
4
+ data.tar.gz: 93ae42c86e7e592ef2d5aa6680481ecd26d6cfac
5
5
  SHA512:
6
- metadata.gz: 1d64d8c3cf9540b2fe799b70f122c05181fe2beb46676fae08f1b8c8a3536ceae40469f0b5119633e0fdbb9dd64bc4ce114c22096d0acbb446c153b480ea3700
7
- data.tar.gz: 83e0af9bd2239f66aa4321f603ce5b6ce3b9653b83d5a63029de35311d4621662c7b866d06275bee33bb6be78214ba1b4c8a0a5e38e68d025a753add88b4ab1a
6
+ metadata.gz: 8239559a093106ade370ad12a47beac436ed0e1df4429834e959a5519a2796627ecbf3fd7d934adc632c070a2de80096591fcf9fad4d82b3f95fdd4b1ea71da5
7
+ data.tar.gz: bb8cd8812ea59dc29edc272a3890b4e52abdfbb968ab91d58720551ebb3c5064b24255f2a9ed848cdac31d3a9a3206ae8756e4e1b4121e21b60b9169f2fd7537
@@ -20,7 +20,10 @@ module Slnky
20
20
  @config = Slnky.config
21
21
  @host = @config.rabbit.host
22
22
  @port = @config.rabbit.port
23
- @url = "amqp://#{@host}:#{@port}"
23
+ @user = @config.rabbit.user
24
+ @pass = @config.rabbit.pass
25
+ userpass = @user ? "#{@user}:#{@pass}@" : ""
26
+ @url = "amqp://#{userpass}#{@host}:#{@port}"
24
27
  @channel = nil
25
28
  @exchanges = {}
26
29
  @queues = {}
data/lib/slnky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Slnky
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slnky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Catanzarite