redis_buddy 0.1.6 → 0.1.7

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/redis_buddy/cache_store.rb +2 -2
  2. metadata +3 -3
@@ -23,7 +23,7 @@ module ActiveSupport
23
23
  end
24
24
  end
25
25
 
26
- def read(key)
26
+ def read(key, options = nil)
27
27
  super do
28
28
  @data.get key
29
29
  end
@@ -41,7 +41,7 @@ module ActiveSupport
41
41
 
42
42
  def exist?(key, options = nil)
43
43
  super do
44
- @data.key? key
44
+ @data.exists key
45
45
  end
46
46
  end
47
47
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 6
9
- version: 0.1.6
8
+ - 7
9
+ version: 0.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ole Riesenberg
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-10 00:00:00 +02:00
17
+ date: 2010-05-12 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency