lib/redis/store/marshalling.rb in instructure-redis-store-1.0.0.1.instructure1 vs lib/redis/store/marshalling.rb in instructure-redis-store-1.0.0.2.instructure1

- old
+ new

@@ -25,9 +25,11 @@ yield marshal?(options) ? Marshal.dump(val) : val end def _unmarshal(val, options) unmarshal?(val, options) ? Marshal.load(val) : val + rescue TypeError + return nil end def marshal?(options) !(options && options[:raw]) end