Sha256: 6b4e7783931481dd1bb065d525b4dfa002b84d4106bb9345182117523d326fc9

Contents?: true

Size: 756 Bytes

Versions: 9

Compression:

Stored size: 756 Bytes

Contents

require 'delegate'

module MassInsert
  autoload :Base,        'mass_insert/base.rb'
  autoload :Builder,     'mass_insert/builder.rb'
  autoload :Process,     'mass_insert/process.rb'
  autoload :Executer,    'mass_insert/executer.rb'
  autoload :Utilities,   'mass_insert/utilities.rb'
  autoload :VERSION,     'mass_insert/version.rb'

  module Adapters
    autoload :AbstractAdapter,    'mass_insert/adapters/abstract_adapter.rb'
    autoload :Mysql2Adapter,      'mass_insert/adapters/mysql2_adapter.rb'
    autoload :PostgreSQLAdapter,  'mass_insert/adapters/postgresql_adapter.rb'
    autoload :SQLite3Adapter,     'mass_insert/adapters/sqlite3_adapter.rb'
  end
end

if defined?(ActiveRecord::Base)
  ActiveRecord::Base.extend MassInsert::Base
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mass_insert-1.0.0 lib/mass_insert.rb
mass_insert-0.2.7 lib/mass_insert.rb
mass_insert-0.2.6 lib/mass_insert.rb
mass_insert-0.2.5 lib/mass_insert.rb
mass_insert-0.2.4 lib/mass_insert.rb
mass_insert-0.2.3 lib/mass_insert.rb
mass_insert-0.2.2 lib/mass_insert.rb
mass_insert-0.2.1 lib/mass_insert.rb
mass_insert-0.2.0 lib/mass_insert.rb