model-cache 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/model-cache.rb +1 -1
  2. metadata +4 -4
data/lib/model-cache.rb CHANGED
@@ -19,7 +19,7 @@ module ModelCache
19
19
  cache_hit = true
20
20
  rescue Memcached::NotFound => e
21
21
  end
22
- elsif CACHE.class.name == 'MemCache'
22
+ elsif CACHE.class.name == 'MemCache' or CACHE.class.name == 'Dalli::Client'
23
23
  result = CACHE.get(ckey.hash.to_s)
24
24
  if result
25
25
  cache_hit = true
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 4
9
- version: 0.2.4
8
+ - 5
9
+ version: 0.2.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Frantisek Havluj
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-11 00:00:00 +02:00
17
+ date: 2010-09-04 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements: []
59
59
 
60
60
  rubyforge_project:
61
- rubygems_version: 1.3.6
61
+ rubygems_version: 1.3.5
62
62
  signing_key:
63
63
  specification_version: 3
64
64
  summary: Rails plugin for caching in models.