minor: replace relative requires within .gemspec files to fix testing in 1.9.x -- suggested by mlanett
This commit is contained in:
parent
a824533ad3
commit
2c82762782
|
@ -1,4 +1,5 @@
|
|||
require "./lib/bson"
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
require 'bson'
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'bson'
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
require "./lib/bson"
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
require 'bson'
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'bson'
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
require './lib/bson'
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
require 'bson'
|
||||
|
||||
VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r")
|
||||
VERSION = VERSION_HEADER.read.scan(/VERSION "(\d[^"]+)"/)[0][0]
|
||||
Gem::Specification.new do |s|
|
||||
|
|
Loading…
Reference in New Issue