Sha256: 0c04e3929ec59b7d863d3748b97dbe8423efdac23ee323bddffde9bfed4b600a

Contents?: true

Size: 184 Bytes

Versions: 7

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

7 entries across 7 versions & 1 rubygems

Version Path
dboard-3.0.1 lib/cache.rb
dboard-3.0.0 lib/cache.rb
dboard-2.0.3 lib/cache.rb
dboard-2.0.2 lib/cache.rb
dboard-2.0.1 lib/cache.rb
dboard-2.0.0 lib/cache.rb
dboard-1.1.1 lib/cache.rb