2.2.6
This patch release has the following fixes and improvements:
- Add dependency on pry, which is required by the mongo_console (@pvalena)
- Make tests more robust. Don't assume which host and port is the primary, adjust test client options.
- Fix parsing
authSource
option in URI (@Soulou) - Ensure auth options are properly parsed in URI and make them case-insensitive.
- RUBY-1101 Check if a SSL monitor socket is connectable before connecting it.
- Retry a monitor's ismaster call once upon socket error.
- RUBY-1112 Get auth mechanism by calling ismaster on a socket when it's being connected instead of relying on the server's metadata.
- RUBY-1121 Validate usersInfo command response before parsing it.
- Ensure that a socket is disconnected when auth fails.
- RUBY-1117 Validate a response's id against the expected id (request id) when writing and reading off a socket. Disconnect a socket if an error was raised while it was used. (@jarthod and @elhu)
- RUBY-1100 Fix random authentication failures leading to
not authorized
errors: don't share SHA1 objects between threads.