lib/mongoid/shell/commands/mongo.rb in mongoid-shell-0.2.0 vs lib/mongoid/shell/commands/mongo.rb in mongoid-shell-0.3.0

- old
+ new

@@ -12,11 +12,11 @@ def initialize(attrs = {}) super end def host_port_and_db - [ primary, db ].compact.join("/") + [primary, db].compact.join("/") end def vargs super({ 'db address' => :host_port_and_db, @@ -24,13 +24,12 @@ '--password' => :password, '--eval' => :eval, '--nodb' => :nodb, '--norc' => :norc, '--quiet' => :quiet, - '--ipv6' => :ipv6, + '--ipv6' => :ipv6 }) end - end end end end