lib/redis/store/factory.rb in redis-store-1.4.0 vs lib/redis/store/factory.rb in redis-store-1.4.1
- old
+ new
@@ -18,11 +18,11 @@
def create
if @addresses.empty?
@addresses << {}
end
-
+
if @addresses.size > 1
::Redis::DistributedStore.new @addresses, @options
else
::Redis::Store.new @addresses.first.merge(@options)
end
@@ -97,9 +97,8 @@
else
@options.merge!(self.class.normalize_key_names(token))
end
end
end
-
end
end
end