Sha256: cd00f7b01d411386cecde6ff4e8b3eed857df0b124c6ef342164765558a8f366

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

require "redis"
require "dry/configurable"
require "keepit/decaying"
require "keepit/transient_store"
require "keepit/locker"
require "keepit/guard"
require "keepit/version"

module Keepit
  extend Dry::Configurable

  setting :redis

  def self.redis
    config.redis || ::Redis.current
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
keepit-0.1.1 lib/keepit.rb
keepit-0.1.0 lib/keepit.rb