From b821a3a48ae94b50c495ac5ed0ddbabd6985add2 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Tue, 29 Mar 2011 16:44:38 -0400 Subject: [PATCH] minor: gemspec fix --- bson_ext.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bson_ext.gemspec b/bson_ext.gemspec index c2549a6..62fdd7d 100644 --- a/bson_ext.gemspec +++ b/bson_ext.gemspec @@ -1,6 +1,6 @@ require './lib/bson' VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r") -VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.[\w\d]+\w*)?)\"/)[0][0] +VERSION = VERSION_HEADER.read.scan(/VERSION "(\d[^"]+)"/)[0][0] Gem::Specification.new do |s| s.name = 'bson_ext'