lib/redis/distributed_store.rb in redis-store-1.1.7 vs lib/redis/distributed_store.rb in redis-store-1.2.0.pre

- old
+ new

@@ -44,9 +44,13 @@ else nodes.first.supports_redis_version?(version) end end + def setex(key, expiry, value, options = nil) + node_for(key).setex(key, expiry, value, options) + end + private def _extend_namespace(options) @namespace = options[:namespace] extend ::Redis::Store::Namespace if @namespace end