Sha256: 632a3bd5f7f18a9e96f9062b74e67cb0622755a1ece6ccc5d9164ed79247c7c9

Contents?: true

Size: 1.45 KB

Versions: 7

Compression:

Stored size: 1.45 KB

Contents

require "riveter/version"

require 'active_model'
require 'active_support'
require 'validates_timeliness'

require 'active_support/core_ext'
require 'active_support/inflector'

module Riveter
  autoload :AttributeDefaultValues, 'riveter/attribute_default_values'
  autoload :AssociatedTypeRegistry, 'riveter/associated_type_registry'
  autoload :Attributes, 'riveter/attributes'
  autoload :BooleanessValidator, 'riveter/booleaness_validator'
  autoload :Command, 'riveter/command'
  autoload :CommandController, 'riveter/command_controller'
  autoload :EmailValidator, 'riveter/email_validator'
  autoload :Enquiry, 'riveter/enquiry'
  autoload :EnquiryController, 'riveter/enquiry_controller'
  autoload :Enumerated, 'riveter/enumerated'
  autoload :HashWithDependency, 'riveter/hash_with_dependency'
  autoload :Presenter, 'riveter/presenter'
  autoload :Query, 'riveter/query'
  autoload :QueryFilter, 'riveter/query_filter'
  autoload :Service, 'riveter/service'
end

# add autoload's for validators
module ActiveModel
  module Validations
    autoload :BooleanessValidator, 'riveter/booleaness_validator'
    autoload :EmailValidator, 'riveter/email_validator'
  end
end

require 'riveter/errors'
require 'riveter/core_extensions'

# Rails bits...
require 'riveter/rails/railtie' if defined?(::Rails::Railtie)
require 'riveter/rails/engine' if defined?(::Rails)

# include locale in load path
I18n.load_path += Dir.glob(File.expand_path('../../config/locales/*.yml', __FILE__))

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
riveter-0.8.3 lib/riveter.rb
riveter-0.8.2 lib/riveter.rb
riveter-0.8.1 lib/riveter.rb
riveter-0.8.0 lib/riveter.rb
riveter-0.7.0 lib/riveter.rb
riveter-0.6.0 lib/riveter.rb
riveter-0.3.0 lib/riveter.rb