active_publisher 0.1.4-java → 0.1.5-java

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: 79cf3789eae835b94c2f1e4afd4b1b9f7ca83815
4
- data.tar.gz: 17b5131d0f47129e363d2464259d683ce38a7ce5
3
+ metadata.gz: 658bc2636e515d48b346bde7f92421e7c9dfe9dd
4
+ data.tar.gz: 8b454665dbc31565a67184d4b699463f685049be
5
5
  SHA512:
6
- metadata.gz: 298aa43f88329129c57386dfe9c3a2b14a72657358c9e06c834d0d69d2529168d33b0e09d0b1d7fabbdbcb9828805b061642c25906256f2e083248f4b9174520
7
- data.tar.gz: f96d6fecd1f42843aff8b1987384e339d024cc1b659be0889b5d065a7c2330808c0e9f203d0b23eb322526303b0a3b71983f514accb77f052f781b5b37310460
6
+ metadata.gz: 3e3ef0abdc6abc0c4bc3995966c8197f5c803581ea549c109762dff9b40b7fc59ce39c12b00079d0b596e5b6b90ab298cfbc53a6b116906409d33940cb1e6e72
7
+ data.tar.gz: 096f63f02a40ace574301c542d657a85f0a23c151ec058ae9ca9f3179b845b01e0d350aae53d41705225f4c06307f74b114e298da552e18433a2c7480a3d8a3e
data/.travis.yml CHANGED
@@ -4,7 +4,7 @@ rvm:
4
4
  - 2.1
5
5
  - 2.2
6
6
  - jruby-1.7
7
- - jruby-9.0.4.0
7
+ - jruby-9.1.0.0
8
8
  - jruby-head
9
9
  services:
10
10
  - rabbitmq
@@ -1,3 +1,3 @@
1
1
  module ActivePublisher
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -33,11 +33,13 @@ module ActivePublisher
33
33
  end
34
34
  end
35
35
 
36
- def self.publishing_options(route, options = {})
37
- options[:mandatory] = false unless options.key(:mandatory)
38
- options[:persistent] = false unless options.key(:persistent)
39
- options[:routing_key] = route
40
-
36
+ def self.publishing_options(route, in_options = {})
37
+ options = {
38
+ :mandatory => false,
39
+ :persistent => false,
40
+ :routing_key => route,
41
+ }.merge(in_options)
42
+
41
43
  if ::RUBY_PLATFORM == "java"
42
44
  java_options = {}
43
45
  java_options[:mandatory] = options.delete(:mandatory)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: java
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2016-05-04 00:00:00.000000000 Z
15
+ date: 2016-05-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  requirement: !ruby/object:Gem::Requirement