Sha256: d62ef480499ea4c0725103b9ce07f2aa283943a65c171b61c74d7f6e6871dbfe

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

autoload = false
# autoload = true #uncomment for testing purposes only, not covered by rspec

class Boolean; end unless defined? Boolean

require 'active_model'
require 'active_support/all'
require 'active_warnings'
require 'csv'

if autoload && defined?(Rails)
  require 'csv_row_model/engine'
else
  require 'csv_row_model/version'

  require 'csv_row_model/concerns/inspect'
  require 'csv_row_model/concerns/deep_class_var'

  require 'csv_row_model/validators/validate_attributes'

  require 'csv_row_model/model'
  require 'csv_row_model/model/single_model'

  require 'csv_row_model/import'
  require 'csv_row_model/import/single_model'
  require 'csv_row_model/import/csv'
  require 'csv_row_model/import/file'


  require 'csv_row_model/export'
  require 'csv_row_model/export/csv'
  require 'csv_row_model/export/single_model'
end

require 'csv_row_model/validators/default_change'

require 'csv_row_model/validators/number_validator'
require 'csv_row_model/validators/boolean_format'
require 'csv_row_model/validators/date_format'
require 'csv_row_model/validators/float_format'
require 'csv_row_model/validators/integer_format'

module CsvRowModel
  class RowModelClassNotDefined < StandardError; end
  class AccessedInvalidAttribute < StandardError; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csv_row_model-0.1.0 lib/csv_row_model.rb