lib/mongoid/shell/commands/mongodump.rb in mongoid-shell-0.4.1 vs lib/mongoid/shell/commands/mongodump.rb in mongoid-shell-0.4.2

- old
+ new

@@ -5,11 +5,12 @@ include Mongoid::Shell::Properties::Host include Mongoid::Shell::Properties::Database include Mongoid::Shell::Properties::Username include Mongoid::Shell::Properties::Password - attr_accessor :collection, :query, :out, :directoryperdb, :journal, :oplog, :repair, :forceTableScan, :dbpath, :ipv6 + attr_accessor :collection, :query, :out, :directoryperdb, :journal, :oplog, :repair, :forceTableScan, :dbpath, :ipv6, :excludeCollection, + :excludeCollectionsWithPrefix def initialize(attrs = {}) super end @@ -18,9 +19,11 @@ '--host' => :host, '--db' => :db, '--username' => :username, '--password' => :password, '--collection' => :collection, + '--excludeCollection' => :excludeCollection, + '--excludeCollectionsWithPrefix' => :excludeCollectionsWithPrefix, '--query' => :query, '--out' => :out, '--directoryperdb' => :directoryperdb, '--journal' => :journal, '--oplog' => :oplog,