Sha256: 608c675d96fbd463f0bf3e6a95bfaa76892ffb1ea1b8e28258a8deab4f18da83

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

require 'logger'

module Rails

  class Cache < ActiveSupport::Cache::MemCacheStore
  end

  def self.cache
    @@cache ||= Cache.new("localhost:#{$memcached_port}")
  end

  def self.logger
    @logger ||= Logger.new(nil)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
identity_cache-0.0.6 test/helpers/cache.rb
identity_cache-0.0.5 test/helpers/cache.rb
identity_cache-0.0.4 test/helpers/cache.rb
identity_cache-0.0.3 test/helpers/cache.rb