Sha256: 549b000aafc9b8fc80d30662feef3346f754b02982b7364b7874205bdc98a6f3

Contents?: true

Size: 777 Bytes

Versions: 13

Compression:

Stored size: 777 Bytes

Contents

require 'cistern/version'

require 'time'
require 'set'

module Cistern

  Error   = Class.new(StandardError)
  Timeout = Class.new(Error)

  require 'cistern/hash'
  require 'cistern/string'
  require 'cistern/mock'
  require 'cistern/wait_for'
  require 'cistern/attributes'
  require 'cistern/collection'
  require 'cistern/model'
  require 'cistern/service'
  require 'cistern/singular'
  require 'cistern/request'
  require 'cistern/data'
  require 'cistern/data/hash'
  require 'cistern/data/redis'

  extend WaitFor

  require 'cistern/formatter'

  def self.formatter=(formatter); @formatter = formatter; end

  def self.formatter
    @formatter ||= Cistern::Formatter.default
  end
end

Cistern.timeout       = 180 # 3 minutes
Cistern.poll_interval = 15  # 15 seconds

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cistern-2.0.5 lib/cistern.rb
cistern-2.0.4 lib/cistern.rb
cistern-2.0.3 lib/cistern.rb
cistern-2.0.2 lib/cistern.rb
cistern-2.0.1 lib/cistern.rb
cistern-1.0.1.pre6 lib/cistern.rb
cistern-1.0.1.pre5 lib/cistern.rb
cistern-1.0.1.pre4 lib/cistern.rb
cistern-1.0.1.pre3 lib/cistern.rb
cistern-1.0.1.pre2 lib/cistern.rb
cistern-1.0.1.pre1 lib/cistern.rb
cistern-1.0.0.pre lib/cistern.rb
cistern-0.11.2.pre2 lib/cistern.rb