lib/moped/protocol/command.rb in moped-1.0.0.rc vs lib/moped/protocol/command.rb in moped-1.0.0

- old
+ new

@@ -11,18 +11,15 @@ # @param [String, Symbol] database the database to run this command on # @param [Hash] command the command to run # @param [Hash] additional query options def initialize(database, command, options = {}) - super database, :$cmd, command, options.merge(limit: -1) + super database, '$cmd', command, options.merge(limit: -1) end def log_inspect type = "COMMAND" - "%-12s database=%s command=%s" % [type, database, selector.inspect] end - end - end end