BUMP 0.20.1

This commit is contained in:
Kyle Banker 2010-04-07 23:47:06 -04:00
parent f5050be2f9
commit 49bc88c4b3
7 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,6 @@
0.20.1 2010-4-7
* Added bson gem dependency.
0.20 2010-4-7
If upgrading from a previous version of the Ruby driver, please read these notes carefully,
along with the 0.20_UPGRADE doc.

View File

@ -5,7 +5,7 @@
require 'rubygems'
require 'mongo'
begin
require 'mongo_ext/cbson'
require 'bson_ext/cbson'
rescue LoadError
Process.exit 1
end

View File

@ -3,7 +3,7 @@
#
# Note: Ruby 1.9 is faster than 1.8, as expected.
# This suite will be run against the installed version of ruby-mongo-driver.
# The c-extension, mongo_ext, will be used if installed.
# The c-extension, bson_ext, will be used if installed.
require 'rubygems'
require 'mongo'

View File

@ -14,4 +14,4 @@
* limitations under the License.
*/
#define VERSION "0.20"
#define VERSION "0.20.1"

View File

@ -1,7 +1,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
module BSON
VERSION = "0.20"
VERSION = "0.20.1"
def self.serialize(obj, check_keys=false, move_id=false)
BSON_CODER.serialize(obj, check_keys, move_id)
end
@ -27,9 +27,9 @@ rescue LoadError
BSON_CODER = BSON_RUBY
end
warn "\n**Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performance."
warn " You can install the extension as follows:\n gem install mongo_ext\n"
warn " You can install the extension as follows:\n gem install bson_ext\n"
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"
warn " bson_ext gem is in your load path and that the bson_ext and mongo gems are of the same version.\n"
end
require 'bson/types/binary'

View File

@ -1,7 +1,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
module Mongo
VERSION = "0.20"
VERSION = "0.20.1"
end
module Mongo

View File

@ -27,4 +27,6 @@ Gem::Specification.new do |s|
s.authors = ['Jim Menard', 'Mike Dirolf', 'Kyle Banker']
s.email = 'mongodb-dev@googlegroups.com'
s.homepage = 'http://www.mongodb.org'
s.add_dependency(%q<bson>, ["= #{Mongo::VERSION}"])
end