A simple logging app turned into a gem, to eliminate the need to code it every time at the beginning of a new sinatra project.
As it is so simple and effective, I ported Ryan Bates' "Authentication from scratch" to sinatra (since I prefer to use Sinatra for simpler apps).
Therefore password security is left to SSL.
Tested using minitest and minitest-capybara.
Reset password functionality Email password functionality