From 6744c05d69bba328a01ed945afdc08dc572b23e9 Mon Sep 17 00:00:00 2001 From: Frank Macreery Date: Mon, 1 Apr 2013 11:41:46 -0400 Subject: [PATCH] Correct mongoid gem dependency (requires >= 3.0.0) --- README.md | 2 +- mongoid-shell.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a102350..16162b0 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ mongorestore = Mongoid::Shell::Commands::Mongorestore.new({ collection: 'test', mongorestore.to_s # mongorestore --db test --collection test /tmp/db_backup ``` -The `Mongoid::Shell::Commands::Mongorestore` class supports `--db`, `--host`, `--username`, `--password`, `--collection`, `--ipv6, `--dbpath`, `--directoryperdb`, `--journal`, `--objcheck`, `--filter`, `--drop`, `--oplogReplay` and `--keepIndexVersion`. +The `Mongoid::Shell::Commands::Mongorestore` class supports `--db`, `--host`, `--username`, `--password`, `--collection`, `--ipv6`, `--dbpath`, `--directoryperdb`, `--journal`, `--objcheck`, `--filter`, `--drop`, `--oplogReplay` and `--keepIndexVersion`. ### Mongostat diff --git a/mongoid-shell.gemspec b/mongoid-shell.gemspec index a5057ae..af2fed2 100644 --- a/mongoid-shell.gemspec +++ b/mongoid-shell.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.homepage = "http://github.com/dblock/mongoid-shell" s.licenses = [ "MIT" ] s.summary = "Derive shell commands from Mongoid configuration options." - s.add_dependency "mongoid" + s.add_dependency "mongoid", ">= 3.0.0" s.add_dependency "i18n" end