README.md in mongoid-shell-0.3.0 vs README.md in mongoid-shell-0.4.0

- old
+ new

@@ -1,8 +1,13 @@ -Mongoid::Shell [![Build Status](https://travis-ci.org/dblock/mongoid-shell.png?branch=master)](https://travis-ci.org/dblock/mongoid-shell) +Mongoid::Shell ============== +[![Gem Version](http://img.shields.io/gem/v/mongoid-shell.svg)](http://badge.fury.io/rb/mongoid-shell) +[![Build Status](http://img.shields.io/travis/dblock/mongoid-shell.svg)](https://travis-ci.org/dblock/mongoid-shell) +[![Dependency Status](https://gemnasium.com/dblock/mongoid-shell.svg)](https://gemnasium.com/dblock/mongoid-shell) +[![Code Climate](https://codeclimate.com/github/dblock/mongoid-shell.svg)](https://codeclimate.com/github/dblock/mongoid-shell) + Create mongo command-lines from Mongoid configuration. For example, connect to your production database without having to remember the entire command line using a `db:production:shell` Rake task. ``` ruby @@ -28,9 +33,14 @@ ``` ruby out = File.join(Dir.tmpdir, 'db_backup') mongodump = Mongoid::Shell::Commands::Mongodump.new(db: 'another_database', out: out) system mongodump.to_s # mongodump --db another_database --out /tmp/db_backup ``` + +Compatibility +------------- + +This gem supports Mongoid 3, 4 and 5. Supported Commands ------------------ ### Mongo