model-cache 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/model-cache.rb +1 -1
  2. metadata +2 -2
data/lib/model-cache.rb CHANGED
@@ -73,7 +73,7 @@ module ModelCache
73
73
  cache_hit = true
74
74
  rescue Memcached::NotFound => e
75
75
  end
76
- elsif CACHE.class.name == 'MemCache'
76
+ elsif CACHE.class.name == 'MemCache' or CACHE.class.name == 'Dalli::Client'
77
77
  result = CACHE.get(ckey.hash.to_s)
78
78
  if result
79
79
  cache_hit = true
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 7
9
+ version: 0.2.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Frantisek Havluj