Sha256: 42f88411f2a4fabb2fbcd58fddbffa42c2bdd10a58d4143eed586db8ba06c976

Contents?: true

Size: 1.31 KB

Versions: 5

Compression:

Stored size: 1.31 KB

Contents

require 'active_support/all'
require 'active_model'

module CassandraObject
  extend ActiveSupport::Autoload

  autoload :Base
  autoload :Connection
  autoload :AttributeMethods
  autoload :BelongsTo
  autoload :Consistency
  autoload :Persistence
  autoload :Callbacks
  autoload :Validations
  autoload :Identity
  autoload :Inspect
  autoload :Serialization
  autoload :Migrations
  autoload :Collection
  autoload :Mocking
  autoload :Batches
  autoload :FinderMethods
  autoload :Savepoints
  autoload :Timestamps
  autoload :Type
  autoload :Schema

  module BelongsTo
    extend ActiveSupport::Autoload

    autoload :Association
    autoload :Builder
    autoload :Reflection
  end

  module AttributeMethods
    extend ActiveSupport::Autoload

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

  module Tasks
    extend ActiveSupport::Autoload
    autoload :Keyspace
    autoload :ColumnFamily
  end

  module Types
    extend ActiveSupport::Autoload
    
    autoload :BaseType
    autoload :ArrayType
    autoload :BooleanType
    autoload :DateType
    autoload :FloatType
    autoload :IntegerType
    autoload :JsonType
    autoload :StringType
    autoload :TimeType
  end
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gotime-cassandra_object-3.0.5 lib/gotime-cassandra_object.rb
gotime-cassandra_object-3.0.4 lib/gotime-cassandra_object.rb
gotime-cassandra_object-3.0.3 lib/gotime-cassandra_object.rb
gotime-cassandra_object-3.0.2 lib/gotime-cassandra_object.rb
gotime-cassandra_object-3.0.1 lib/gotime-cassandra_object.rb