require 'mongo'

require 'dm-core'
require 'dm-aggregates'

dir = Pathname(__FILE__).dirname.expand_path + 'dm-mongo-adapter'

require dir + 'query'
require dir + 'query' + 'java_script'

require dir + 'property' + 'bson_object_id'
require dir + 'property' + 'foreign_object_id'
require dir + 'property' + 'object_id'
require dir + 'property' + 'array'
require dir + 'property' + 'hash'

require dir + 'support' + 'class'
require dir + 'support' + 'date'
require dir + 'support' + 'date_time'
require dir + 'support' + 'object'

require dir + 'migrations'
require dir + 'model'
require dir + 'resource'
require dir + 'migrations'
require dir + 'modifier'

require dir + 'aggregates'
require dir + 'adapter'

require 'mongo'

require 'dm-core'
require 'dm-aggregates'

require 'dm-mongo-adapter/query'
require 'dm-mongo-adapter/query/java_script'

require 'dm-mongo-adapter/property/bson_object_id'
require 'dm-mongo-adapter/property/foreign_object_id'
require 'dm-mongo-adapter/property/object_id'
require 'dm-mongo-adapter/property/array'
require 'dm-mongo-adapter/property/hash'

require 'dm-mongo-adapter/support/class'
require 'dm-mongo-adapter/support/date'
require 'dm-mongo-adapter/support/date_time'
require 'dm-mongo-adapter/support/object'

require 'dm-mongo-adapter/migrations'
require 'dm-mongo-adapter/model'
require 'dm-mongo-adapter/resource'
require 'dm-mongo-adapter/migrations'
require 'dm-mongo-adapter/modifier'

require 'dm-mongo-adapter/aggregates'
require 'dm-mongo-adapter/adapter'

Change requires from absolute to relative paths
Change requires from absolute to relative paths
