Sha256: 129285c60aa668b3451809600140d9c077b47b4546f6b8f94ad9395f7d5aabe8

Contents?: true

Size: 810 Bytes

Versions: 3

Compression:

Stored size: 810 Bytes

Contents

require 'rgeo'
require 'mongoid'
require 'active_support/core_ext/string/inflections'
require 'active_support/concern'
require 'mongoid_location/version'
#require 'mongoid_location/contextual/mongo'
if Mongoid::VERSION > '3'
  require 'mongoid_location/contextual/mongo'
else
  require 'mongoid_location/contexts/mongo'
end
require 'mongoid_location/criteria'
require 'mongoid_location/extensions/symbol'
require 'mongoid_location/extensions/rgeo_spherical_point_impl'
require 'mongoid_location/field_option'

fields_path = 'mongoid_location/fields' + (Mongoid::VERSION > '3' ? '' : '/mongoid2')

%w{point polygon line_string}.each do |type|
  require "#{fields_path}/#{type}"
end

require 'mongoid_location/finders'
require 'mongoid_location/location'

#module MongoidLocation
  # Your code goes here...
#end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid_location-0.3.5 lib/mongoid_location.rb
mongoid_location-0.3.3 lib/mongoid_location.rb
mongoid_location-0.3.2 lib/mongoid_location.rb