redisstore 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9703214f53b33b3af8193faff6e0368b01517861
4
- data.tar.gz: af1882515f5bcd70bf1aafa6dcd83727e530fd8f
3
+ metadata.gz: 137f6ac8f67f766f32c79983c27f8822bf8bbaa0
4
+ data.tar.gz: 9619077eda055c9b6e54f8d250ee29795110b1b1
5
5
  SHA512:
6
- metadata.gz: 9f55499a9d7adf5fce502d81f2f7266841664597c62ba06bc70bb69174e414c126f310cd3ab9f4f1ae9eede1f643a0674b5799827e2939a6c982051fdcefb455
7
- data.tar.gz: dee646bee6d1d91c694abac57b69bb83837e502722346a88faee21555d15d3c2087af520766a32a50aba635e96c0946648fb99077123b93a81249f1f454fbf97
6
+ metadata.gz: f4ecfdfb32d840500cc311f745cff95c8a1fed185229fa19e2adb5ba01a4f14b522d22e0216781f9585a43a6b999b379b27e9f8cff18bd9e5f84650192fd1c2e
7
+ data.tar.gz: f811966eb755052cf054ec9e2427c96ee82ffdfddcc08dac8974aa0b4b07f7d93347b555d7760bb893ddc08b78a249a4432ce221f95633bf59a25d50de1516c2
data/lib/redisstore.rb CHANGED
@@ -81,7 +81,7 @@ module RedisStore
81
81
  end
82
82
 
83
83
  def parse(object)
84
- Marshal.load object
84
+ object.nil? ? nil : Marshal.load(object)
85
85
  end
86
86
  end
87
87
  end
data/redisstore.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'redisstore'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
 
6
6
  s.summary = 'Redis Store for BasicCache'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redisstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker