coney_island 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 271f0c2f183fa09fb618281c98c3d96093d3281c
4
- data.tar.gz: 23f311b3570b4417bc9075120a10f3ce649b3549
3
+ metadata.gz: 5ce6f8d79f2c7959d6f1d5650b494cae2a716ab2
4
+ data.tar.gz: 8affe8a1cfcc6e8705da3337b3f7ed416534bab2
5
5
  SHA512:
6
- metadata.gz: 9375cb789ac04d3fc4d290e23438f61536985ab6df1c6274d2a391769e7ce471c5ee17691ad170ab2cd26c706be2963534afc2cd7824d0ff8ab0559ab4e93cf0
7
- data.tar.gz: 3e69e4a3273ae65981e8ce1405c6b1173dd0dfb5372db22e73bad8f1f5fd71502326be5463528ba2b954fd4a2a39025a602137919549a3ebb3b757d5d2c149cb
6
+ metadata.gz: c8f1f23dfd854407b146fcf970eb05f3a14e2514f6146ac9273aeab36a441e7d8a7227c81ebdd780f4b0345908aa754075db33002b41abb80e1b96be7e6cb73c
7
+ data.tar.gz: 402697481acad3b9a357fa192597864287ba4883efa3ecdcb2735c15cb0b7e103971914c88773c0615e20455811530ca7684a1ae624ea25ddfbc18a93cf64d9a
data/lib/coney_island.rb CHANGED
@@ -15,11 +15,10 @@ module ConeyIsland
15
15
 
16
16
  def self.amqp_parameters=(params)
17
17
  @amqp_parameters = params
18
- @amqp_parameters ||= self.config['amqp_connection']
19
18
  end
20
19
 
21
20
  def self.amqp_parameters
22
- @amqp_parameters
21
+ @amqp_parameters ||= (self.config.present? ? self.config['amqp_connection'] : nil)
23
22
  end
24
23
 
25
24
  def self.handle_connection
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coney_island
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut