h2ocube_rails_cache 0.3.2 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/h2ocube_rails_cache.gemspec +1 -1
- data/lib/active_support/cache/h2ocube_rails_cache.rb +4 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58e48beb82df56554899612c7e9b0afa22466a88bc102b225aaedadadfc8d845
|
4
|
+
data.tar.gz: ace1006ead48bc1f748e52826807ef5226ddd489bfdafb3a52bcb28968dab251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bd1912071280d96a10437496da2b5f6502fca85c0136e498d0b04bdc118494465f8157a8c3ed9b3b9b5d62d79f9defaf0baa1c4c960241c62b70aac15ab9870
|
7
|
+
data.tar.gz: 92ec589347bfeb375e397e04969bd5b88631f77a2468f86c658e76c77a2c9a16b9f1751674504870dc6e844aa6f63dd123a0d8e860bd1d1d37206ceb48cc5514
|
data/h2ocube_rails_cache.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'h2ocube_rails_cache'
|
7
|
-
gem.version = '0.3.
|
7
|
+
gem.version = '0.3.4'
|
8
8
|
gem.authors = ['Ben']
|
9
9
|
gem.email = ['ben@h2ocube.com']
|
10
10
|
gem.description = 'Just an redis cache.'
|
@@ -64,15 +64,11 @@ module ActiveSupport
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def read_multi(*names)
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
names.zip(values).each_with_object({}) do |(name, value), results|
|
71
|
-
if value
|
72
|
-
entry = load_entry(value)
|
73
|
-
results[name] = entry unless entry.nil?
|
74
|
-
end
|
67
|
+
result = {}
|
68
|
+
names.each do |name|
|
69
|
+
result[name] = read name
|
75
70
|
end
|
71
|
+
result
|
76
72
|
end
|
77
73
|
|
78
74
|
def write(key, entry, opts = {})
|