[前][次][番号順一覧][スレッド一覧]

ruby-changes:12794

From: knu <ko1@a...>
Date: Thu, 13 Aug 2009 16:10:45 +0900 (JST)
Subject: [ruby-changes:12794] Ruby:r24522 (ruby_1_8): Add a forgotten entry about Digest::Base#== changes between 1.8.5 and

knu	2009-08-13 16:10:30 +0900 (Thu, 13 Aug 2009)

  New Revision: 24522

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24522

  Log:
    Add a forgotten entry about Digest::Base#== changes between 1.8.5 and
    1.8.6.

  Modified files:
    branches/ruby_1_8/NEWS

Index: ruby_1_8/NEWS
===================================================================
--- ruby_1_8/NEWS	(revision 24521)
+++ ruby_1_8/NEWS	(revision 24522)
@@ -813,6 +813,19 @@
       # After (works with any version)
       hd = Digest::MD5.hexdigest("string")
 
+  * Digest::Base#==
+
+    * self == string
+
+      Automatic detection between binary digest values and hexadecimal
+      digest values has been dropped.  It is always assumed that a
+      binary digest value is given for comparison.
+
+    * self == md
+
+      Digest objects are compared by the resulting digest values, not
+      by the exact vector states.
+
 * fileutils
 
   * A minor implementation change breaks Rake <=0.7.1.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]