From cf9ef481d3ca9cdce2ab19bafacfe3e9f43e3613 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Tue, 28 Feb 2012 10:34:52 -0500 Subject: [PATCH] Twiddle-wakka for semantically versioned dependencies. --- bson_ext.gemspec | 2 +- mongo.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bson_ext.gemspec b/bson_ext.gemspec index ef98d8f..36b4986 100644 --- a/bson_ext.gemspec +++ b/bson_ext.gemspec @@ -22,5 +22,5 @@ Gem::Specification.new do |s| s.author = 'Mike Dirolf' s.email = 'mongodb-dev@googlegroups.com' s.homepage = 'http://www.mongodb.org' - s.add_dependency('bson', BSON::VERSION) + s.add_dependency('bson', "~> #{BSON::VERSION}") end diff --git a/mongo.gemspec b/mongo.gemspec index 973eebd..b9a5518 100644 --- a/mongo.gemspec +++ b/mongo.gemspec @@ -30,5 +30,5 @@ Gem::Specification.new do |s| s.email = 'mongodb-dev@googlegroups.com' s.homepage = 'http://www.mongodb.org' - s.add_dependency('bson', Mongo::VERSION) + s.add_dependency('bson', "~> #{Mongo::VERSION}") end