rabid_mq 0.1.44 → 0.1.46

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: 876f18a0ca863c79e2279dbdb452b0e27ebbecf8
4
- data.tar.gz: 2720f66312906348017b661ea72df32f23bcfdac
3
+ metadata.gz: a4e8b5c55eea4b26cf3c348dfbb2853a9e6adf7a
4
+ data.tar.gz: b85a88179e240aff23dded9e0fdadffc00714b42
5
5
  SHA512:
6
- metadata.gz: f9a3a65c9adc1137f46b484deed119ea52330b497b55693c775d35b2a0425e3933171e79859965efb138793ee11da02363a074edfaef7c592f2df5d7809b692e
7
- data.tar.gz: e4872b8978651ece5c30f5427f24aeffe03c27b905d6a3831ffa832094d97b6ce6897ac41901ec66583532b1c93b389ab3af9a5bb67e1f6f91ec3b72331b2985
6
+ metadata.gz: ae4ffb7d91cba2a5e29144e8f1209cb9cc595c2c7f5cc8787d9f2c1ce3befae747151d7c1cae49a1666b7e865ff3dacec9ec37b0140c137239d28930eb10a056
7
+ data.tar.gz: 54deb4e48f3d8698067582e09e43f993835cfb9583d87ad9abc704dbcf210eea4b2757c1cc4038e78cae3115dcd7e80ef181ed8b2733d139f05bbea166582379
@@ -47,7 +47,7 @@ module RabidMQ
47
47
  topic_name = include_environment_name ? name_with_env(topic) : topic
48
48
  channel.topic(topic_name, **options)
49
49
  rescue Bunny::PreconditionFailed => e
50
- topic_exchange(topic, include_environment_name: include_environment_name, durable: !options.fetch(:durable), **options)
50
+ topic_exchange(topic, include_environment_name: include_environment_name, durable: !options.fetch(:durable, false), **options)
51
51
  end
52
52
 
53
53
  # Provide fanout exchange
@@ -1,3 +1,3 @@
1
1
  module RabidMQ
2
- VERSION = "0.1.44"
2
+ VERSION = "0.1.46"
3
3
  end
data/lib/rabid_mq.rb CHANGED
@@ -19,7 +19,7 @@ module RabidMQ
19
19
  topic_name = include_environment_name ? name_with_env(topic) : topic
20
20
  channel.topic(topic_name, **options)
21
21
  rescue Bunny::PreconditionFailed => e
22
- topic_exchange(topic, include_environment_name: include_environment_name, durable: !options.fetch(:durable), **options)
22
+ topic_exchange(topic, include_environment_name: include_environment_name, durable: !options.fetch(:durable, false), **options)
23
23
  end
24
24
 
25
25
  # Provide fanout exchange
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.44
4
+ version: 0.1.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyrone Wilson