Sha256: 1a63b416160e82d54f4d53c827500359acd0d1f81aa2410e7f6c7175e78742c7
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
# frozen_string_literal: true require "active_support" require "redis" require "redis-activesupport" require "redis_set_store/version" require "active_support/cache/redis_set_store" require "redis_set_store/railtie" if defined? Rails # A Rails cache implementation that is backed by redis and uses sets to track # keys for rapid expiration of large numbers of keys. module RedisSetStore mattr_accessor :logger, :cache end unless defined? Rails RedisSetStore.logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT)) RedisSetStore.cache = ActiveSupport::Cache::RedisSetStore.new(/\A[^:]+:\d+/) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_set_store-0.1.0 | lib/redis_set_store.rb |