eventq_rabbitmq 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 967ddec154230e3f511763cb59a75848364328e3
4
- data.tar.gz: 9e5dfba9c9346e5eb784d7b209f15b679a3f44ce
3
+ metadata.gz: d74cbc21370d4886245ee0447b69ddce3a7d4003
4
+ data.tar.gz: 25a3644700b1a360c9517d7982568517055d0c03
5
5
  SHA512:
6
- metadata.gz: bf3bcf1cb2efa5e8ea6a8c6d43e833edceab1bac334ce8533957d9099dae33696daaca279e09c3e2ffee9c8b0739abc38729ff54514a891d3ed731f6bfba6c64
7
- data.tar.gz: f34663d78caa66b595b848a92dd07ff4f1da3282c2d1a77bbc829ff9132354b1d0dafaeca1769ac30ac61fd682332d10b412d5800539136879570c15160726fa
6
+ metadata.gz: 6c69c1fd755c26246a474699e53b11226ee39290fda31504131820af326ee4f9edd2debff61e243e0a1aa1d928dcec7c25bc43f931ad437e466a41069d0c4ba0
7
+ data.tar.gz: 55289d2d304456bec08ad44ecc79583b004d0d34320fec9c4a3828e7353957139457c50e6c84bf1c5b5fa8c2d2d1d9c5f712f1c54b9636dd84f2457086f19a4d
@@ -3,7 +3,7 @@ module EventQ
3
3
  class EventQClient
4
4
 
5
5
  def initialize(options={})
6
- @client = QueueClient.new
6
+ @client = options[:client] || QueueClient.new
7
7
  @queue_manager = QueueManager.new
8
8
  @event_raised_exchange = EventRaisedExchange.new
9
9
  @subscription_manager = options[:subscription_manager] || SubscriptionManager.new
@@ -26,7 +26,7 @@ module EventQ
26
26
  @thread_count.times do
27
27
  thr = Thread.new do
28
28
 
29
- client = QueueClient.new
29
+ client = options[:client] || QueueClient.new
30
30
  manager = QueueManager.new
31
31
 
32
32
  #begin the queue loop for this thread
@@ -2,8 +2,8 @@ module EventQ
2
2
  module RabbitMq
3
3
  class SubscriptionManager
4
4
 
5
- def initialize
6
- @client = QueueClient.new
5
+ def initialize(options = {})
6
+ @client = options[:client] || QueueClient.new
7
7
  @queue_manager = QueueManager.new
8
8
  @event_raised_exchange = EventQ::EventRaisedExchange.new
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage