minor: gemspec fix
This commit is contained in:
parent
c327a6036d
commit
b821a3a48a
|
@ -1,6 +1,6 @@
|
||||||
require './lib/bson'
|
require './lib/bson'
|
||||||
VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r")
|
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|
|
Gem::Specification.new do |s|
|
||||||
s.name = 'bson_ext'
|
s.name = 'bson_ext'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue