mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Remove those
compatibility stub libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
60f63ff93d
commit
ed6886efb5
3 changed files with 5 additions and 28 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 6 04:21:23 2006 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Remove those
|
||||
compatibility stub libraries.
|
||||
|
||||
Fri Oct 6 04:09:51 2006 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/digest.c: Make hexdigest() always call digest() internally.
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
# just for compatibility; requiring "md5" is obsoleted
|
||||
#
|
||||
# $RoughId: md5.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
|
||||
# $Id$
|
||||
|
||||
require 'digest/md5'
|
||||
|
||||
MD5 = Digest::MD5
|
||||
|
||||
class MD5
|
||||
def self.md5(*args)
|
||||
new(*args)
|
||||
end
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
# just for compatibility; requiring "sha1" is obsoleted
|
||||
#
|
||||
# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
|
||||
# $Id$
|
||||
|
||||
require 'digest/sha1'
|
||||
|
||||
SHA1 = Digest::SHA1
|
||||
|
||||
class SHA1
|
||||
def self.sha1(*args)
|
||||
new(*args)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue