lib/digest/sha1.rb in rubysl-digest-2.0.2 vs lib/digest/sha1.rb in rubysl-digest-2.0.3
- old
+ new
@@ -1,9 +1,10 @@
# just for compatibility; requiring "sha1" is obsoleted
#
# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
# $Id: sha1.rb 12008 2007-03-06 10:12:12Z knu $
+require 'digest'
require 'digest/sha1/sha1'
class SHA1 < Digest::SHA1
class << self
alias orig_new new