Sha256: 3b852308468daab5b357654cb759f84446c19e16917752c82d965bdb134e947e

Contents?: true

Size: 1021 Bytes

Versions: 9

Compression:

Stored size: 1021 Bytes

Contents

require "delegate"
require "time"
require "securerandom"
require "active_support/core_ext"
require 'active_support/json'
require "active_support/inflector"
require "active_support/lazy_load_hooks"
require "active_support/time_with_zone"
require "active_model"

require 'dynamoid/errors'
require 'dynamoid/fields'
require 'dynamoid/indexes'
require 'dynamoid/associations'
require 'dynamoid/persistence'
require 'dynamoid/dirty'
require 'dynamoid/validations'
require 'dynamoid/criteria'
require 'dynamoid/finders'
require 'dynamoid/identity_map'
require 'dynamoid/config'
require 'dynamoid/components'
require 'dynamoid/document'
require 'dynamoid/adapter'

require 'dynamoid/middleware/identity_map'

module Dynamoid
  extend self

  MAX_ITEM_SIZE = 65_536
  
  def configure
    block_given? ? yield(Dynamoid::Config) : Dynamoid::Config
    Dynamoid::Adapter.reconnect!
  end
  alias :config :configure
  
  def logger
    Dynamoid::Config.logger
  end
  
  def included_models
    @included_models ||= []
  end
  
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dynamoid-0.7.1 lib/dynamoid.rb
dynamoid-0.7.0 lib/dynamoid.rb
dynamoid-0.6.1 lib/dynamoid.rb
dynamoid-0.6.0 lib/dynamoid.rb
adept_dynamoid-0.6.0 lib/dynamoid.rb
adept_dynamoid-0.5.0.8 lib/dynamoid.rb
adept_dynamoid-0.5.0.7 lib/dynamoid.rb
adept_dynamoid-0.5.0.6 lib/dynamoid.rb
dynamoid-0.5.0 lib/dynamoid.rb