lib/mongo.rb in mongo-0.19.1 vs lib/mongo.rb in mongo-0.19.2
- old
+ new
@@ -1,9 +1,9 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
module Mongo
- VERSION = "0.19.1"
+ VERSION = "0.19.2"
end
begin
# Need this for running test with and without c ext in Ruby 1.9.
raise LoadError if ENV['TEST_MODE'] && !ENV['C_EXT']
@@ -19,12 +19,13 @@
warn " If you continue to receive this message after installing, make sure that the"
warn " mongo_ext gem is in your load path and that the mongo_ext and mongo gems are of the same version.\n"
end
module Mongo
- ASCENDING = 1
+ ASCENDING = 1
DESCENDING = -1
+ GEO2D = '2d'
module Constants
OP_REPLY = 1
OP_MSG = 1000
OP_UPDATE = 2001
@@ -46,9 +47,10 @@
require 'mongo/types/objectid'
require 'mongo/types/regexp_of_holding'
require 'mongo/types/min_max_keys'
require 'mongo/util/support'
+require 'mongo/util/core_ext'
require 'mongo/util/conversions'
require 'mongo/util/server_version'
require 'mongo/util/bson_ruby'
require 'mongo/collection'