absolute paths for gemspecs for 1.9.2 compatibility

This commit is contained in:
Kyle Banker 2010-08-04 15:13:34 -04:00
parent be9dc15501
commit fd07b40316
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
require "lib/bson" require "./lib/bson"
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'bson' s.name = 'bson'

View File

@ -1,4 +1,4 @@
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+(\.\d+\w*)?)\"/)[0][0] VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.\d+\w*)?)\"/)[0][0]
Gem::Specification.new do |s| Gem::Specification.new do |s|

View File

@ -1,4 +1,4 @@
require "lib/mongo" require "./lib/mongo"
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'mongo' s.name = 'mongo'