rabid_mq 0.1.38 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rabid_mq/publisher.rb +2 -2
- data/lib/rabid_mq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '080c3a46e2615ba189a132f330266e5b60a5cdbe'
|
4
|
+
data.tar.gz: 895da7b737d2e4cbb4bb7e67a546db3b265faf7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6de899e7137bff79584f4584c014d5f3e3989db6c6950b7aa485dfd100cb85ea58aa1af225d7c242a63c40a46cd5ca434b0ac7fa73546529439703d5b5aee30
|
7
|
+
data.tar.gz: 423fcefbfd3581f63218c138d2a4d367f12bc2b3ae657bab52ff4c32437bff9c1d2894467a7334f12407ce8847ef1f5bba817cf3a26a8190fb4ecdb3fa1d0b34
|
data/lib/rabid_mq/publisher.rb
CHANGED
@@ -23,9 +23,9 @@ module RabidMQ
|
|
23
23
|
end
|
24
24
|
|
25
25
|
class << self
|
26
|
-
def amqp_broadcast(topic, payload, routing_key: self.default_amqp_routing_key)
|
26
|
+
def amqp_broadcast(topic, payload, routing_key: self.default_amqp_routing_key, **options)
|
27
27
|
exchange = topic_exchange(topic)
|
28
|
-
exchange.publish(payload, routing_key: routing_key)
|
28
|
+
exchange.publish(payload, routing_key: routing_key, **options)
|
29
29
|
rescue => e
|
30
30
|
if defined? ::Rails
|
31
31
|
Rails.logger.error e.message
|
data/lib/rabid_mq/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabid_mq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyrone Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|