From 99e2747a0cc1197f6ee25068266a59d6614e2497 Mon Sep 17 00:00:00 2001 From: ahoward Date: Tue, 24 Jul 2012 21:10:32 -0600 Subject: [PATCH] approximate versions --- lib/mongoid-grid_fs.rb | 4 ++-- mongoid-grid_fs.gemspec | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/mongoid-grid_fs.rb b/lib/mongoid-grid_fs.rb index 24b5a5c..baf3844 100644 --- a/lib/mongoid-grid_fs.rb +++ b/lib/mongoid-grid_fs.rb @@ -11,8 +11,8 @@ def dependencies { - 'mongoid' => [ 'mongoid' , '>= 3.0.1' ] , - 'mime/types' => [ 'mime-types' , '>= 1.19' ] , + 'mongoid' => [ 'mongoid' , '~> 3.0.1' ] , + 'mime/types' => [ 'mime-types' , '~> 1.19' ] , } end diff --git a/mongoid-grid_fs.gemspec b/mongoid-grid_fs.gemspec index d7c7915..987c69a 100644 --- a/mongoid-grid_fs.gemspec +++ b/mongoid-grid_fs.gemspec @@ -3,7 +3,7 @@ Gem::Specification::new do |spec| spec.name = "mongoid-grid_fs" - spec.version = "1.2.0" + spec.version = "1.2.1" spec.platform = Gem::Platform::RUBY spec.summary = "mongoid-grid_fs" spec.description = "a mongoid 3/moped compatible implementation of the grid_fs specification" @@ -26,9 +26,9 @@ Gem::Specification::new do |spec| spec.test_files = nil - spec.add_dependency(*["mongoid", " >= 3.0.1"]) + spec.add_dependency(*["mongoid", "~> 3.0.1"]) - spec.add_dependency(*["mime-types", " >= 1.19"]) + spec.add_dependency(*["mime-types", "~> 1.19"]) spec.extensions.push(*[])