lib/redis-store.rb in redis-store-0.3.7 vs lib/redis-store.rb in redis-store-0.3.8

- old
+ new

@@ -1,10 +1,10 @@ require "redis" -require "dist_redis" -require "redis/redis_factory" -require "redis/marshaled_redis" -require "redis/distributed_marshaled_redis" +require "redis/namespace" +require "redis/factory" +require "redis/marshaled_client" +require "redis/distributed_marshaled" # Cache store if defined?(Sinatra) require "cache/sinatra/redis_store" elsif defined?(Merb) @@ -20,12 +20,16 @@ require "rack/session/abstract/id" require "rack/session/redis" if defined?(Merb) require "rack/session/merb" end + if defined?(Rails) + require "rack/session/rails" + end end # Rack::Cache if defined?(Rack::Cache) + require "rack/cache/key" require "rack/cache/redis_metastore" require "rack/cache/redis_entitystore" end