lapine 1.1.2 → 1.1.3

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: 564e7001cbbd4468d842e013cc437610a25b0c24
4
- data.tar.gz: 90a86db4889bed75801d7278b0710b36e0c3f38c
3
+ metadata.gz: 51e76e478a844476113f4887a3c5c81047f294d0
4
+ data.tar.gz: 6202a4b8f09226c9a542f29b7e67677b64dd3881
5
5
  SHA512:
6
- metadata.gz: 9096e3d40022bfb83e8aff47aac3f299e162cd644f56679c6294ba8bbd3d3438fa8df47b1fbfffe5f466743b208df7334ea0b2cb8d032ce0ee9a0b990224e4db
7
- data.tar.gz: 41f326c4642272bf3ea3f9a32a964dae81e07dfea940edfcc14017b5828ebe0baf77206c17430f50754f7e8b39400581f1c98a2f1c34aeaee4c5b0fec69aed74
6
+ metadata.gz: 95fab589bbbde3e8c010d33712048215abfa157ca797e5f6067f026c9aa329b213c04922fc92c3f2eba8d52a2806603bf227f10017b7663da1ebf4f47c0524de
7
+ data.tar.gz: 809130f354affa21711f4b1554a953f323d33e97ce3a2253ae6ff1ee63e8b96d9d9262d84de1d58af36f2add7bf099500de8c203851a0c3a9a8d335887214f21
@@ -13,7 +13,10 @@ module Lapine
13
13
  end
14
14
 
15
15
  def connected?
16
- @exchange.channel.connection.connected? &&
16
+ @exchange &&
17
+ @exchange.channel &&
18
+ @exchange.channel.connection &&
19
+ @exchange.channel.connection.connected? &&
17
20
  @exchange.channel.open?
18
21
  end
19
22
 
@@ -1,3 +1,3 @@
1
1
  module Lapine
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Saxby
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-04 00:00:00.000000000 Z
12
+ date: 2015-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: amqp