prevent deprecation message in Ruby 2.1+ (works on 1.9.3+)
Merge pull request #36 from monban/digest-deprecation

prevent deprecation message in Ruby 2.1+ (works on 1.9.3+)