diff --git a/ext/cbson/version.h b/ext/cbson/version.h index ac2711a..e5a4d77 100644 --- a/ext/cbson/version.h +++ b/ext/cbson/version.h @@ -14,4 +14,4 @@ * limitations under the License. */ -#define VERSION "0.18.3" +#define VERSION "0.18.3p" diff --git a/lib/mongo.rb b/lib/mongo.rb index 27ac636..53dd30e 100644 --- a/lib/mongo.rb +++ b/lib/mongo.rb @@ -1,7 +1,7 @@ $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) module Mongo - VERSION = "0.18.3" + VERSION = "0.18.3p" end begin diff --git a/mongo-extensions.gemspec b/mongo-extensions.gemspec index 2479209..27657c1 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+(\.\d+)?)\"/)[0][0] +VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.\d+\w*)?)\"/)[0][0] Gem::Specification.new do |s| s.name = 'mongo_ext'