Sha256: cdf6a032b0730306597c18b13833ad732b62c97086a40112551d4179f46d42bf

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

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

class Boolean; end unless defined? Boolean

require 'csv_row_model/version'

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/concerns/inspect'
  require 'csv_row_model/concerns/inherited_class_var'

  require 'csv_row_model/validators/validate_attributes'

  require 'csv_row_model/model'
  require 'csv_row_model/model/file_model'

  require 'csv_row_model/import'
  require 'csv_row_model/import/file_model'
  require 'csv_row_model/import/csv'
  require 'csv_row_model/import/file'


  require 'csv_row_model/export'
  require 'csv_row_model/export/file'
  require 'csv_row_model/export/file_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_time_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.4.1 lib/csv_row_model.rb