Merge pull request #43 from path/master

Fix BSON dependency version
This commit is contained in:
Kyle Banker 2011-05-25 13:13:06 -07:00
commit 029e264241
3 changed files with 6 additions and 5 deletions

View File

@ -18,9 +18,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
module Mongo require 'mongo/version'
VERSION = "1.3.1"
end
module Mongo module Mongo
ASCENDING = 1 ASCENDING = 1

3
lib/mongo/version.rb Normal file
View File

@ -0,0 +1,3 @@
module Mongo
VERSION = "1.3.1"
end

View File

@ -1,4 +1,4 @@
require "./lib/mongo" require File.expand_path('../lib/mongo/version', __FILE__)
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'mongo' s.name = 'mongo'
@ -30,5 +30,5 @@ Gem::Specification.new do |s|
s.email = 'mongodb-dev@googlegroups.com' s.email = 'mongodb-dev@googlegroups.com'
s.homepage = 'http://www.mongodb.org' s.homepage = 'http://www.mongodb.org'
s.add_dependency(%q<bson>, [">= #{Mongo::VERSION}"]) s.add_dependency('bson', Mongo::VERSION)
end end