BUMP 0.17.1 added mongo_ext notice

This commit is contained in:
Kyle Banker 2009-11-17 14:39:03 -05:00
parent cd44c3c918
commit e1e6d4339a
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
0.17.1 2009-11-17
* Index ordering fix
* Notice to install mongo_ext
0.17 2009-11-16 0.17 2009-11-16
* Performance improvements * Performance improvements
* large document inserts twice as fast as 0.16 * large document inserts twice as fast as 0.16

View File

@ -23,11 +23,13 @@ begin
BSON_SERIALIZER = CBson BSON_SERIALIZER = CBson
rescue LoadError rescue LoadError
BSON_SERIALIZER = BSON BSON_SERIALIZER = BSON
warn "\n**Notice: C extension not detected. This is required for optimum MongoDB Ruby driver performance."
warn " You can install the extension as follows:\n gem install mongo_ext\n"
end end
module Mongo module Mongo
ASCENDING = 1 ASCENDING = 1
DESCENDING = -1 DESCENDING = -1
VERSION = "0.17" VERSION = "0.17.1"
end end

View File

@ -14,8 +14,6 @@
# limitations under the License. # limitations under the License.
# ++ # ++
require 'mongo/db'
module Mongo module Mongo
# A connection to MongoDB. # A connection to MongoDB.