kestrel-client 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kestrel-client}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Freels", "Rael Dornfest"]
@@ -28,7 +28,7 @@ module Kestrel
28
28
  end
29
29
 
30
30
  def client_for(key)
31
- @clients[key.to_s] || default_client
31
+ @clients[key.to_s.split('/', 2).first] || default_client
32
32
  end
33
33
  end
34
34
  end
@@ -18,8 +18,8 @@ describe Kestrel::Client::Partitioning do
18
18
  mock(@client_2).__send__(method, 'queue2')
19
19
  @kestrel.send(method, 'queue2')
20
20
 
21
- mock(@client_2).__send__(method, 'queue3')
22
- @kestrel.send(method, 'queue3')
21
+ mock(@client_2).__send__(method, 'queue3/queue_arg')
22
+ @kestrel.send(method, 'queue3/queue_arg')
23
23
 
24
24
  mock(@default_client).__send__(method, 'queue4')
25
25
  @kestrel.send(method, 'queue4')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Freels