pinky 0.2.10-java → 0.2.11-java

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.10
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
- channel.queue(queue_hash[:name], queue_hash[:opts]).tap do |queue|
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] || {})
@@ -41,7 +41,7 @@ module Pinky
41
41
  "/#{name.to_s.downcase}"
42
42
  end
43
43
 
44
- def pinky_request_headers
44
+ def pinky_request_headers(query)
45
45
  {}
46
46
  end
47
47
 
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.10"
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-03-24"
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.10
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-03-24 00:00:00.000000000 Z
12
+ date: 2013-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty