Sha256: 9d4c4393b2aaa4f352e675bf882e8f98ef4982b621e0e152ce323b821876d9aa

Contents?: true

Size: 184 Bytes

Versions: 12

Compression:

Stored size: 184 Bytes

Contents

require 'dalli'

module Dboard
  if Config.config[:memcache]
    CACHE = Dalli::Client.new(Config.config[:memcache])
  else
    CACHE = Dalli::Client.new("127.0.0.1:11211")
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dboard-1.1.0 lib/cache.rb
dboard-1.0.5 lib/cache.rb
dboard-1.0.4 lib/cache.rb
dboard-1.0.3 lib/cache.rb
dboard-1.0.2 lib/cache.rb
dboard-1.0.1 lib/cache.rb
dboard-1.0.0 lib/cache.rb
dboard-0.0.5 lib/cache.rb
dboard-0.0.4 lib/cache.rb
dboard-0.0.3 lib/cache.rb
dboard-0.0.2 lib/cache.rb
dboard-0.0.1 lib/cache.rb