redis_buddy 0.1.5 → 0.1.6

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/redis_buddy/cache_store.rb +1 -1
  2. metadata +2 -2
@@ -19,7 +19,7 @@ module ActiveSupport
19
19
  @data.send(:setex, options[:expire], value)
20
20
  end
21
21
  end
22
- @data.send(method, key, value, options) if options.is_a?(Integer) || !options[:expire]
22
+ @data.send(method, key, value, options) if options.is_a?(Integer) || !options || (options && !options[:expire])
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 5
9
- version: 0.1.5
8
+ - 6
9
+ version: 0.1.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ole Riesenberg