From f7825eab820facf196e04af4559692f04a582a99 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Sat, 5 Dec 2009 09:35:31 -0500 Subject: [PATCH] BUMP 0.18.1 --- HISTORY | 7 +++++++ ext/cbson/version.h | 2 +- lib/mongo.rb | 2 +- mongo-extensions.gemspec | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index b4401e0..e011afe 100644 --- a/HISTORY +++ b/HISTORY @@ -1,3 +1,10 @@ +0.18.1 2009-12-05 +* Fixed issue with negative dates in Ruby 1.9 +* Minor refactorings for C extension and BSON classes +* Ensure UTF-8 in Ruby 1.8 +* Fix for connections on non-default port (Delano Mandelbaum) +* More explicit test suite tasks for running with/without C extension. + 0.18 2009-11-25 * Connections now support connection pooling. See http://api.mongodb.org/ruby/0.18/classes/Mongo/Connection.html#M000158 * Deprecated :auto_reconnect option on connection; if the driver fails to diff --git a/ext/cbson/version.h b/ext/cbson/version.h index 1fda318..0372fed 100644 --- a/ext/cbson/version.h +++ b/ext/cbson/version.h @@ -14,4 +14,4 @@ * limitations under the License. */ -#define VERSION "0.18\0" +#define VERSION "0.18.1" diff --git a/lib/mongo.rb b/lib/mongo.rb index a967c47..6055192 100644 --- a/lib/mongo.rb +++ b/lib/mongo.rb @@ -4,7 +4,7 @@ module Mongo ASCENDING = 1 DESCENDING = -1 - VERSION = "0.18" + VERSION = "0.18.1" end begin diff --git a/mongo-extensions.gemspec b/mongo-extensions.gemspec index 83c06a9..5019945 100644 --- a/mongo-extensions.gemspec +++ b/mongo-extensions.gemspec @@ -1,6 +1,6 @@ require 'lib/mongo' VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r") -VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+)\\/)[0][0] +VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.\d+)?)\"/)[0][0] Gem::Specification.new do |s| s.name = 'mongo_ext'