Sha256: fe7d0d493e33a10e8d6255f6f7f92bbf0a10b87fc8d09acc65c6812431124c2e

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

require 'active_support/all'
require 'active_model'
require 'active_record'

module Superstore
  extend ActiveSupport::Autoload

  autoload :AttributeMethods
  autoload :Base
  autoload :Associations
  autoload :AttributeAssignment
  autoload :Attributes
  autoload :Connection
  autoload :Core
  autoload :Identity
  autoload :Inheritance
  autoload :ModelSchema
  autoload :Persistence

  module AttributeMethods
    extend ActiveSupport::Autoload

    eager_autoload do
      autoload :PrimaryKey
    end
  end

  module Adapters
    extend ActiveSupport::Autoload

    autoload :AbstractAdapter
    autoload :JsonbAdapter
  end

  module Associations
    extend ActiveSupport::Autoload

    autoload :Association
    autoload :AssociationScope
    autoload :Reflection
    autoload :BelongsTo
    autoload :HasMany
    autoload :HasOne

    module Builder
      extend ActiveSupport::Autoload

      autoload :Association
      autoload :BelongsTo
      autoload :HasMany
      autoload :HasOne
    end
  end

  module Relation
    extend ActiveSupport::Autoload

    autoload :Scrolling
  end

  module Types
    extend ActiveSupport::Autoload

    autoload :Base
    autoload :ArrayType
    autoload :BooleanType
    autoload :DateType
    autoload :DateRangeType
    autoload :FloatType
    autoload :GeoPointType
    autoload :IntegerType
    autoload :IntegerRangeType
    autoload :JsonType
    autoload :RangeType
    autoload :StringType
    autoload :TimeType
  end
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
superstore-3.0.0 lib/superstore.rb