pinky 0.2.10-java → 0.2.11-java
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.
- data/VERSION +1 -1
- data/lib/pinky/energizer_bunny/connection.rb +3 -1
- data/lib/pinky/model_fetch_methods.rb +1 -1
- data/pinky.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.11
|
@@ -58,7 +58,9 @@ module Pinky
|
|
58
58
|
def create_queue topic_key
|
59
59
|
queue_hash = @config[:queues][topic_key]
|
60
60
|
raise Exception.new("Cannot find queue configuration for queue: #{topic_key}") if queue_hash.nil?
|
61
|
-
|
61
|
+
queue_opts = queue_hash[:opts]
|
62
|
+
queue_opts[:durable] = true unless queue_opts.key? :durable
|
63
|
+
channel.queue(queue_hash[:name], queue_opts).tap do |queue|
|
62
64
|
queue_bind_opts = queue_hash[:bind_opts] || {}
|
63
65
|
Array(queue_hash[:bindings]).each do |binding|
|
64
66
|
binding_opts = queue_bind_opts.merge(binding[:binding_opts] || {})
|
data/pinky.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "pinky"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.11"
|
9
9
|
s.platform = "java"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Joel Friedman"]
|
13
|
-
s.date = "2013-
|
13
|
+
s.date = "2013-04-22"
|
14
14
|
s.description = "Cache your api objects in member easier, with associations."
|
15
15
|
s.email = "asher.friedman@gmail.com"
|
16
16
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: pinky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.11
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Joel Friedman
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|