Make ENV['MONGODB_URI'] the default first arg for `Mongo::Connection.from_uri`
Since `URI.decode_www_form` is Ruby 1.9-only, use `CGI.parse` instead
Fix broken links in github
…use an array-specific method (as opposed to one that could be for strings or hashes) to access it
Conflicts: lib/mongo/util/uri_parser.rb - replaced @TylerBrock's (temp?) fix with this one, which uses the stdlib test/uri_test.rb - reintroduced test for conflicting URL separators... and added a new test for URL-encoded parts
…s so that replacement chunks overwrite existing ones
Secondary to remove is randomly chosen so test would randomly fail before this fix.
Additional fix for threading tests to ensure a manager for a new thread is always set.
fix log debug level detect
During a refresh Thread.current[:managers] has the potential to be nil. This fix checks to make sure Thread.current[:managers] exists before trying to access the managers hash.
Do not encode strings to utf-8 after checking that utf-8 is valid. Before this fix, an encoding operation could turn valid utf-8 into invalid utf-8 if an encoding that requires conversion is forced on a valid string.
Remove connect_nonblock from tcp_socket implementation to reduce problems due to inconsistent implementation in JRuby and Windows. Connection timeouts are now reverted to using the timeout module for all platforms.
Fix copy-paste mistake in doc comment
b2json,j2bson: don't assume fixed ruby location