Sha256: 7a2e5b1f79d6979540bc20b652e3bc140f363e0ba556d4e76c475457f14b8791
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 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/location' #module MongoidLocation # Your code goes here... #end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid_location-0.3.1 | lib/mongoid_location.rb |