rabbit_jobs 0.8.15 → 0.8.16

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: 9a35a18641e303ebfd0d957c9b93cb632e7b24c2
4
- data.tar.gz: ba95220f67bcb5cf0184e8b43561b2aa20b0c491
3
+ metadata.gz: 5ca4cb2de4c2817336808b85701b1427b94249f4
4
+ data.tar.gz: 0c72264d374ce6ccab588e87c05fc8e88813642d
5
5
  SHA512:
6
- metadata.gz: 578beb9e51c8e2b4a6c6b4f021a6e67699c37aac28a1469618c6eb0fbcd802e708d259d02489c507fa07fa7234ae3c81381956f0d8156ea167fc4a81258c31bf
7
- data.tar.gz: 2c2165684095c11649448a4bb573b18fd599a32680952249bb3b9b1a31b1408976b8469ec73b3f666e6ee341b2cc6fc85aec451ac2de9bf75fbde8c1ebf22696
6
+ metadata.gz: 820dccff192800dcf5bc31c0f3f314057964316fd38f6868222d0dd03595befa327a0080f9b904c29cb27b1e1b30bb9fcec661544274bd35d07d9ae56836b7f1
7
+ data.tar.gz: 6a3dc69a5bd093372079da867256d0b24502d3b4ace6c65ab32a1c681d6b83ed999ba032cb31499b23a6b94d443ad1350869b8558cf93fcb56d2feb1f64ad3d4
@@ -21,7 +21,7 @@ module RabbitJobs
21
21
 
22
22
  if @shutdown
23
23
  RabbitJobs.logger.info "Stopping."
24
- amqp_connection.stop
24
+ amqp_connection.stop if defined?(amqp_connection) # in worker only
25
25
  yield if block_given?
26
26
  return true
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  module RabbitJobs
4
- VERSION = "0.8.15"
4
+ VERSION = "0.8.16"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit_jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.15
4
+ version: 0.8.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Lazureykis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-18 00:00:00.000000000 Z
11
+ date: 2013-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny