fix Digest::Digest deprecation warning under ruby 2.1

* Fix Digest::Digest deprecation warning under ruby 2.1
* Update to rspec
* Add travis configuration