lib/mongoid_location.rb in mongoid_location-0.3.1 vs lib/mongoid_location.rb in mongoid_location-0.3.2
- old
+ new
@@ -1,15 +1,15 @@
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/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'