Sha256: b2c11e81500d9b58cae2b8a33504b78e59b999c7574f70b0c069a758456c115d

Contents?: true

Size: 1.44 KB

Versions: 6

Compression:

Stored size: 1.44 KB

Contents

require 'active_support/all'
require 'active_model'
require 'cassandra_object/errors'

module CassandraObject
  extend ActiveSupport::Autoload

  autoload :AttributeMethods
  autoload :Base
  autoload :BaseSchema
  autoload :BaseSchemaless
  autoload :BaseSchemalessDynamic
  autoload :BelongsTo
  autoload :Callbacks
  autoload :Connection
  autoload :Core
  autoload :Identity
  autoload :Inspect
  autoload :Model
  autoload :Persistence
  autoload :Schema
  autoload :Schemaless
  autoload :Scope
  autoload :Scoping
  autoload :Serialization
  autoload :Timestamps
  autoload :Type
  autoload :Validations

  module AttributeMethods
    extend ActiveSupport::Autoload

    eager_autoload do
      autoload :Definition
      autoload :Dirty
      autoload :PrimaryKey
      autoload :Typecasting
    end
  end

  module Adapters
    extend ActiveSupport::Autoload

    autoload :AbstractAdapter
    autoload :CassandraAdapter
    autoload :CassandraSchemalessAdapter
  end

  module BelongsTo
    extend ActiveSupport::Autoload

    autoload :Association
    autoload :Builder
    autoload :Reflection
  end

  module Types
    extend ActiveSupport::Autoload

    autoload :BaseType
    autoload :ArrayType
    autoload :BooleanType
    autoload :DateType
    autoload :FloatType
    autoload :IntegerType
    autoload :JsonType
    autoload :StringType
    autoload :TimeType
    autoload :TypeHelper
  end
end

require 'cassandra_object/railtie' if defined?(Rails)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
extendi-cassandra_object-1.0.7 lib/cassandra_object.rb
extendi-cassandra_object-1.0.6 lib/cassandra_object.rb
extendi-cassandra_object-1.0.5 lib/cassandra_object.rb
extendi-cassandra_object-1.0.4 lib/cassandra_object.rb
extendi-cassandra_object-1.0.1 lib/cassandra_object.rb
extendi-cassandra_object-1.0.0 lib/cassandra_object.rb