HTAuth is a pure ruby replacement for the Apache support programs htdigest and htpasswd. Command line and API access are provided for access to htdigest and htpasswd files.
Jeremy Hinegardner
gem "htauth", "~> 1.0.3"