rabid_mq 0.1.27 → 0.1.28

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: 9ecfc5d583d6f32ad05bcd185929cea38fb263a2
4
- data.tar.gz: 073e20e425e6d9f65c70e58a19b6be6bb1110538
3
+ metadata.gz: 98e9aca849856b378d23a1e9b1167385c956dc9b
4
+ data.tar.gz: 5793689aaad6b333c7ab250d6d8503be2126f630
5
5
  SHA512:
6
- metadata.gz: 768a52eb709f83a269851fe99e9ff80730605f90aeda9513714b25bd2c6b7abbcffde211cf655383cb10079df80367194867249f2f8f881e11a4147c600e44ae
7
- data.tar.gz: acda51a5b5dd9e2591636fea705315ff5f38b2f8d6c238eaa11d3c278bb8a41762bd8d34da2da51062ddb090b04a110602e28351406eaa0581d43ff0c68230f8
6
+ metadata.gz: 700ac747994aeb41215ebfc57281263b60c57491986d70bdd8d0f6df47d8ace9aecea6171fec1c7f4725a5415f15656b6960e4655cbf757b48e4dfcfd035dc48
7
+ data.tar.gz: 8e3c18ad81e610317105a34026351f8c459a2003a428ccd083b890dac32d86e0ab8e8deac449151c80c3bc71e13ea0ea52d132857b1a86653d82162d202d556a
@@ -53,12 +53,9 @@ module RabidMQ
53
53
  end
54
54
 
55
55
  # Get a channel with the Bunny::Session
56
- def channel
57
- @channel ||= amqp_connect.create_channel
58
- rescue Bunny::ChannelAlreadyClosed => e
59
- @channel = nil
60
- channel
61
- end
56
+ delegate :channel,
57
+ :reconnect,
58
+ to: ::RabidMQ
62
59
 
63
60
  # Start a new connection
64
61
  def amqp_connect
@@ -1,3 +1,3 @@
1
1
  module RabidMQ
2
- VERSION = "0.1.27"
2
+ VERSION = "0.1.28"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabid_mq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyrone Wilson