active_publisher 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/lib/active_publisher.rb +7 -5
- data/lib/active_publisher/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8642d3b14f9c51ef26c7a510c666ffb5d2232994
|
4
|
+
data.tar.gz: 1867600d803b42d35de9ef4183ff465097790363
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e86bb6809a2ec32fc2359a4fa8e0d1df3c5a5d21f8476e42b1b6c9fc585fa740adae886558c3488380aaebc5224e5ac8b53a9e44fbec55bb347e1212b0cb1f
|
7
|
+
data.tar.gz: d572876b68e08aa56261885fd995b0d6e9b249c4c1844625a49445a38c46240ad58eae1dd83025c434db5510fe9c281c454781b4e09c35e44f8ec29010e4aaa4
|
data/.travis.yml
CHANGED
data/lib/active_publisher.rb
CHANGED
@@ -33,11 +33,13 @@ module ActivePublisher
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def self.publishing_options(route,
|
37
|
-
options
|
38
|
-
|
39
|
-
|
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
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
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-
|
15
|
+
date: 2016-05-09 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bunny
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.5.
|
136
|
+
rubygems_version: 2.5.2
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Aims to make publishing work across MRI and jRuby painless and add some nice
|