memcache 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/memcache/segmented.rb +5 -2
- 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: 7528a4822566d767bfdcb1e0f07990362a1b62bb
|
4
|
+
data.tar.gz: 91006e67dbbba52520a8d3f5083a52849cdbd081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e249650ce264058b2833643b70263271f81a08bc3b0702a19f0b5c6ea52bc54f19e6fe8115517a4244551b552909f85a395641621cf17a6bc8c1a6dbba356b5c
|
7
|
+
data.tar.gz: fba0ede04dd531a4eb12f68879907c34c82d0e8f9102fe4123f882077dde43995dfe6011a05c8212d636391bb61c5e2950ab01498a9b861cdbd7b4aed94177d1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.1
|
data/lib/memcache/segmented.rb
CHANGED
@@ -19,11 +19,14 @@ class Memcache
|
|
19
19
|
end
|
20
20
|
|
21
21
|
parts = super(keys_to_fetch)
|
22
|
+
return {} if parts.nil?
|
23
|
+
|
22
24
|
keys.each do |key, hashes|
|
23
25
|
value = ''
|
24
26
|
hashes.each do |hash_key|
|
25
|
-
|
26
|
-
|
27
|
+
part = parts[hash_key]
|
28
|
+
if part and part[:value]
|
29
|
+
value << part[:value]
|
27
30
|
else
|
28
31
|
value = nil
|
29
32
|
break
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memcache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Balthrop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.0.
|
145
|
+
rubygems_version: 2.0.3
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Ruby client for memcached supporting advanced protocol features and pluggable
|