lib/mongoid/shell/commands/mongo.rb in mongoid-shell-0.4.5 vs lib/mongoid/shell/commands/mongo.rb in mongoid-shell-0.4.6
- old
+ new
@@ -4,19 +4,23 @@
class Mongo < Mongoid::Shell::Commands::Base
include Mongoid::Shell::Properties::Primary
include Mongoid::Shell::Properties::Database
include Mongoid::Shell::Properties::Username
include Mongoid::Shell::Properties::Password
+ include Mongoid::Shell::Properties::AuthenticationDatabase
+ include Mongoid::Shell::Properties::SSL
arg :host_port_and_db
option :username
option :password, sensitive: true
option :eval
option :nodb
option :norc
option :quiet
option :ipv6
+ option :authenticationDatabase
+ option :ssl
def host_port_and_db
[primary, db].compact.join('/')
end
end