lib/mongoid/shell/commands/mongodump.rb in mongoid-shell-0.1.0 vs lib/mongoid/shell/commands/mongodump.rb in mongoid-shell-0.2.0

- old
+ new

@@ -5,26 +5,34 @@ include Mongoid::Shell::Properties::Host include Mongoid::Shell::Properties::Database include Mongoid::Shell::Properties::Username include Mongoid::Shell::Properties::Password - attr_accessor :collection, :query + attr_accessor :collection, :query, :out, :directoryperdb, :journal, :oplog, :repair, :forceTableScan, :dbpath, :ipv6 def initialize(attrs = {}) super end def vargs super({ '--host' => :host, - '--db' => :database_name, + '--db' => :db, '--username' => :username, '--password' => :password, '--collection' => :collection, - '--query' => :query + '--query' => :query, + '--out' => :out, + '--directoryperdb' => :directoryperdb, + '--journal' => :journal, + '--oplog' => :oplog, + '--repair' => :repair, + '--forceTableScan' => :forceTableScan, + '--dbpath' => :dbpath, + '--ipv6' => :ipv6 }) end end end end -end \ No newline at end of file +end