2.2.2
This version has a few changes from users and bug fixes:
- Support passing IO objects to Grid::File and lazily read from them. @janko-m
- Remove unnecessary string allocation in GridFS Read Stream @janko-m
- Don't store authenticator on connection instance.
- MONGOID-4209 Test to ensure distinct always returns an array (even if no results)
- Add more error messages indicating an operation can be retried. @jonhyman
- RUBY-1077 Consider setVersion and electionId when detecting stale primaries
- RUBY-1079 Update documentation for Collection::View#count
- RUBY-1082 Account for when write concern is nil in GridFS write stream
- RUBY-1081 Represent write concern options keys as Symbols and values as Strings or Integers
- RUBY-1078 Use default max message size when value is nil. @jonhyman