From: Akinori MUSHA Date: 2007-03-06T18:14:46+09:00 Subject: [ruby-dev:30501] Re: MD5.md5 in RubyGems --pgp-sign-Multipart_Tue_Mar__6_18:14:45_2007-1 Content-Type: text/plain; charset=ISO-2022-JP At Tue, 6 Mar 2007 17:37:28 +0900, Kazuhiro Yoshida wrote: > moriqです。 > > 次のように RubyGems で require 'md5' を使っているので > ruby-1.8.6 に上げるとうまくいかなくなりそうです。 (snip) > 次の対応を提案します。 > > --- ext/digest/lib/md5.rb Tue Feb 13 08:01:19 2007 > +++ ext/digest/lib/md5.rb.new Tue Mar 6 17:21:53 2007 > @@ -9,6 +9,6 @@ > > class MD5 > def self.md5(*args) > - new(*args) > + new.update(*args) > end > end 確かに。ナイスキャッチ感謝します。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Different eyes see different things, Different hearts beat on different strings -- But there are times for you and me when all such things agree" --pgp-sign-Multipart_Tue_Mar__6_18:14:45_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBF7TEFkgvvx5/Z4e4RAmDZAJ407sz2sh12i23kcaxW64LxPg+UrgCeJ/WF cfSdOHninNGUvnuGChrbgNk= =iFK8 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Mar__6_18:14:45_2007-1--