Permalink
Browse files

minor: gemspec fix

  • Loading branch information...
1 parent c327a60 commit b821a3a48ae94b50c495ac5ed0ddbabd6985add2 @banker banker committed Mar 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bson_ext.gemspec
View
@@ -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'

0 comments on commit b821a3a

Please sign in to comment.