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