Sha256: aa70a08758ab3fb84864e8b9b3f0d23b7fa76d48887f1e0a0eded1db5644638a
Contents?: true
Size: 1.06 KB
Versions: 6
Compression:
Stored size: 1.06 KB
Contents
require "redis" require "redis/distributed" require "redis/factory" require "redis/store/interface" require "redis/store/ttl" require "redis/store/namespace" require "redis/store/marshalling" require "redis/store/version" require "redis/store" require "redis/distributed_store" # Cache store if defined?(Sinatra) require "cache/sinatra/redis_store" elsif defined?(Merb) # HACK for cyclic dependency: redis-store is required before merb-cache module Merb; module Cache; class AbstractStore; end end end require "cache/merb/redis_store" elsif defined?(ActiveSupport) require "active_support/cache/redis_store" end # Rack::Session if defined?(Rack::Session) require "rack/session/abstract/id" require "rack/session/redis" if defined?(Merb) require "rack/session/merb" end end if defined?(Rails) require "action_controller/session/redis_session_store" end # Rack::Cache if defined?(Rack::Cache) require "rack/cache/key" require "rack/cache/redis_metastore" require "rack/cache/redis_entitystore" end if defined?(I18n) require "i18n/backend/redis" end
Version data entries
6 entries across 6 versions & 2 rubygems