Sha256: 72ffe667283d5c68696309fe35ce5830165b9a384a2fafb69b58101148f3ca74

Contents?: true

Size: 240 Bytes

Versions: 5

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

require 'ditty/services/logger'

Ditty::Services::Logger.info 'Setting up caching'
require 'memcached'
CACHE = Memcached.new(ENV['MEMCACHED_URL'])
Sequel::Model.plugin :caching, CACHE, ignore_exceptions: true

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ditty-0.11.1 lib/ditty/memcached.rb
ditty-0.10.2 lib/ditty/memcached.rb
ditty-0.10.1 lib/ditty/memcached.rb
ditty-0.9.1 lib/ditty/memcached.rb
ditty-0.9.0 lib/ditty/memcached.rb