lib/mongo/auth/x509/conversation.rb in mongo-2.6.4 vs lib/mongo/auth/x509/conversation.rb in mongo-2.7.0.rc0

- old
+ new

@@ -1,6 +1,6 @@ -# Copyright (C) 2014-2018 MongoDB Inc. +# Copyright (C) 2014-2019 MongoDB Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -14,11 +14,11 @@ module Mongo module Auth class X509 - # Defines behaviour around a single x.509 conversation between the + # Defines behavior around a single x.509 conversation between the # client and server. # # @since 2.0.0 class Conversation @@ -67,10 +67,10 @@ if connection && connection.features.op_msg_enabled? selector = login selector[Protocol::Msg::DATABASE_IDENTIFIER] = user.auth_source cluster_time = connection.mongos? && connection.cluster_time selector[Operation::CLUSTER_TIME] = cluster_time if cluster_time - Protocol::Msg.new([:none], {}, selector) + Protocol::Msg.new([], {}, selector) else Protocol::Query.new( Auth::EXTERNAL, Database::COMMAND, login,