Ruby 2.1 - remove warning: Digest::Digest is deprecated; use Digest

* compatible with ruby 1.9.3 and up
* ruby 1.9.2 issues:
  * uninitialized constant Gem::PackageTask in rake task 'package'