memcache 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/memcache/segmented.rb +5 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64e93a0909f6ab28e666762ba98e0da2e816e0ed
4
- data.tar.gz: f2a3ebfe903b525c2589769d8e64d82e6655bdd3
3
+ metadata.gz: 7528a4822566d767bfdcb1e0f07990362a1b62bb
4
+ data.tar.gz: 91006e67dbbba52520a8d3f5083a52849cdbd081
5
5
  SHA512:
6
- metadata.gz: f9bffbfcb0542127a9d7d068460266ccf2d680f40a0bab5eb41a8109010ca522eb1bda82632d219242c7e73de5feb982117e7fca7ccd27ab545669f46c69716c
7
- data.tar.gz: fe8b4cceaf29f9b09b52a15ff6c6419cc0cbcd60c8c3fe9a87a80b841769a7821b956a29bf94e4efd928961bfbb921d1f2baf1e80be91793c1b475324002936d
6
+ metadata.gz: e249650ce264058b2833643b70263271f81a08bc3b0702a19f0b5c6ea52bc54f19e6fe8115517a4244551b552909f85a395641621cf17a6bc8c1a6dbba356b5c
7
+ data.tar.gz: fba0ede04dd531a4eb12f68879907c34c82d0e8f9102fe4123f882077dde43995dfe6011a05c8212d636391bb61c5e2950ab01498a9b861cdbd7b4aed94177d1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.5.1
@@ -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
- if part = parts[hash_key][:value]
26
- value << part
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.0
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-10-24 00:00:00.000000000 Z
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.5
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