watership 0.2.3 → 0.2.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: eb1acfaa8baa004df7e50abef409b52520dc404c
4
- data.tar.gz: e767fba03188bd24f4fab0ff2efff8275730c226
3
+ metadata.gz: 02e1c22730e3a74aee027159a3126510a7235390
4
+ data.tar.gz: a05cce069e145ac7c47b09e3f32dcdb426e3e156
5
5
  SHA512:
6
- metadata.gz: 34e6f4fa8dc07a20ee06c6c10d55d381a1740264fc8ce17a9f64dbad61e57fa3070020daf90a59783d7e1a04630a14b7bd979d4098e09fd75881c32da47472e5
7
- data.tar.gz: 631f501a3ad1ec8330b8653aa7714bfd8e39784132c947925ef09522775c67d4765257982759c6a70124041e3899c32297b2f61a642380a6d713a14814e71d88
6
+ metadata.gz: 71334e1b09446f84888bcb2c16eaf17286b659676d156c1400a726f9f99403c18505336ff96098f2ec3e5e862e1c6565a9ae27d8e1ba6b9b05cd2798ddaf4e98
7
+ data.tar.gz: e58fe9ca31011c4b6d891a4193b32324bf8c0b3cb8156da2789b56eb33cb9917e3229e31e4e61fd4753d4806c1dd7d41823a1f385508c6fe687e6f03b9bb557a
@@ -1,3 +1,3 @@
1
1
  module Watership
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
data/lib/watership.rb CHANGED
@@ -30,7 +30,7 @@ module Watership
30
30
  end
31
31
 
32
32
  def connect_with_queue(name, options = {})
33
- channel.queue(name, { durable: true }.merge(options))
33
+ channel.queue(name, { durable: true }.merge(options)) if channel
34
34
  end
35
35
 
36
36
  def reconnect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watership
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Scofield