lib/mongo/uri.rb in mongo-2.2.2 vs lib/mongo/uri.rb in mongo-2.2.3
- old
+ new
@@ -166,12 +166,13 @@
# Map of URI authentication mechanisms to ruby driver mechanisms
#
# @since 2.0.0
AUTH_MECH_MAP = {
- 'PLAIN' => :plain,
- 'MONGODB-CR' => :mongodb_cr,
- 'GSSAPI' => :gssapi
+ 'PLAIN' => :plain,
+ 'MONGODB-CR' => :mongodb_cr,
+ 'GSSAPI' => :gssapi,
+ 'SCRAM-SHA-1' => :scram
}.freeze
# Options that are allowed to appear more than once in the uri.
#
# @since 2.1.0