redis_buddy 0.1.5 → 0.1.6

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 +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