Update changelog
Bump to 1.2.2
Update gitignore
Dont include key file
Update guard
Add graceful handling of rs.stepDown on queries.

If a query was getting executed on a node that had already been
authenticated, but the node was reconfigured, restarted, or underwent a
stepDown - we now attempt to login once again if an authentication
failure occurs.

[ related #60, #72 ]
Keep moped compatibility with older versions using mongodb >= 2.2.0-rc0  [#52]
Style consistency
Create an initial document to ensure database is present
delete_all should be remove_all
Reset session after spec
Update rspec opts
Pass on CursorNotFound errors from the mongodb to the client.
Added jruby-openssl for jruby platforms into the Gemfile to fix travis CI build failures.
Remove unnecessary code and update changelog
Better DNS resolution handling:

When DNS cannot resolve on Node initialization, the Node will now be
marked as "down" instead of raising a SocketError. Moped will attempt to
re-resolve the DNS on subsequent refreshes on the timer, and continue to
mark the node as down if it cannot be resolved.

[ close #71 ]
Update changelog
Bump version
Set SO_LINGER to false for socket connections
Handle Errno::EHOSTUNREACH in socket errors. [ fix #75 ]