action_subscriber 1.2.2 → 1.2.3

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: 58fd2bef269136985f523686646d407050434e2c
4
- data.tar.gz: 9c97c32ec8c319d45152aebc31ba37d8a29af1d1
3
+ metadata.gz: b45c8935406a1754c056083bcd3d1e3c790b59bf
4
+ data.tar.gz: 72bf3d2d48e543ebca5f8b991dc354db7f589867
5
5
  SHA512:
6
- metadata.gz: 7802e40dce102f8b31c4365cc4996247eca8ee94ca804a5f92b612d17e78aaf037a425a56f0f109e523b8bfaba78417a780bc0b2a4b9d452082f0df1f2a6f4d9
7
- data.tar.gz: 108b7561cb6ba7dfa650942bae8aabb6ded1f1b50483d5eecc61775a2122e4c0bab9c992bbdf4bf37b36db598d092d75a50dbba748d0700cea1cd57fe4b5987b
6
+ metadata.gz: 612f9f2a798a366f007ebaaa8125b72df6cf042c5631169b0af72350ecb950b2090c227078e88c94b7809c8ee2c21d7718af5585c2efbc21b7fa8216ce956c1c
7
+ data.tar.gz: ec8e589d774df7648aa86b96506038154106c852af43a480c9c60a858bd10726dcb66edc75b4da4565622bbeb96eb2e52f4f42351742bd9f2dfc5236af3246d7
@@ -25,10 +25,12 @@ module ActionSubscriber
25
25
  end
26
26
  end
27
27
 
28
- def self.publishing_options(route, options = {})
29
- options[:mandatory] = false unless options.key(:mandatory)
30
- options[:persistent] = false unless options.key(:persistent)
31
- options[:routing_key] = route
28
+ def self.publishing_options(route, in_options = {})
29
+ options = {
30
+ :mandatory => false,
31
+ :persistent => false,
32
+ :routing_key => route,
33
+ }.merge(in_options)
32
34
 
33
35
  if ::RUBY_PLATFORM == "java"
34
36
  java_options = {}
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-10-05 00:00:00.000000000 Z
15
+ date: 2015-10-13 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport