rabbit_jobs 0.8.10 → 0.8.11

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: b03fadd8a5cc0cf88b7622502082323e67f004f7
4
- data.tar.gz: ea2bb1c54e639467ee1d1a28241ae95eb23ea8ad
3
+ metadata.gz: 326b46899a32fa93a317ec080cee6c20e002061a
4
+ data.tar.gz: 8d2d4075a4773e8b89ad4d5efa1705f7214eb91c
5
5
  SHA512:
6
- metadata.gz: 4c00298ad64d42ae386504d7dd33b8de9a61b0a00afbe54d38186ef7465f6b572b99d8d8348df81ced73e1e1ce997ae88c44984b57bb5298a16849b48b863d50
7
- data.tar.gz: cbf098fc3e9f2cb86385b249bc966701dabcae43fe5113b2d3293d241d6f104397c81b0c110df293eb52f7231d2e4ec49a48373df2bdb634098b2da2d9576c7b
6
+ metadata.gz: 23c540e2816b819b6d508757d22d2825778ffaef8f98ad4525b807423b583b07df33f3032480872b9abb4bb79db4163a2a19ef1ef0b5ce59b0fe4a6eb2f355d8
7
+ data.tar.gz: ab9dc9a9ff621d6e7e43a9ae578a13884acca21de5b58332790133ed3739f7084341d0c9e8594537af61a84c7827568d6da0b52ad70c18259b1b70a4366a0f2b
@@ -66,7 +66,12 @@ module RabbitJobs
66
66
  end
67
67
 
68
68
  def check_connection
69
- raise "Disconnected from #{RJ.config.server}" unless connection.connected?
69
+ unless connection.connected?
70
+ connection.start if connection.status == :disconnected?
71
+ # require 'pry'
72
+ # binding.pry
73
+ raise "Disconnected from #{RJ.config.server}. Connection status: #{connection.try(:status).inspect}"
74
+ end
70
75
  end
71
76
  end
72
77
  end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  module RabbitJobs
4
- VERSION = "0.8.10"
4
+ VERSION = "0.8.11"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit_jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.10
4
+ version: 0.8.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Lazureykis