Sha256: 03dc419cfdd7d443a0e20fdaf946f6ced090718a1ea3ffb886f43624c1c6abbf

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

require 'rgeo'
require 'mongoid'
require 'active_support/core_ext/string/inflections'
require 'active_support/concern'
if Mongoid::VERSION > '3'
  require 'mongoid_location/contextual/mongo'
else
  require 'mongoid_location/contexts/mongo'
end
require 'mongoid_location/version'
require 'mongoid_location/contextual/mongo'
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/geospatial'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid_location-0.3.0 lib/mongoid_location.rb