From 5aff5e79b8bcf55f90997711f019eae3f18eef45 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 13 Aug 2009 07:12:47 +0000 Subject: [PATCH] Merge changes from ruby_1_8 except for the post-1.8.7 part. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS-1.8.7 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/NEWS-1.8.7 b/doc/NEWS-1.8.7 index 6a7a77211d..323dee5af5 100644 --- a/doc/NEWS-1.8.7 +++ b/doc/NEWS-1.8.7 @@ -52,7 +52,7 @@ with all sufficient information, see the ChangeLog file. * Array#flatten * Array#flatten! - Takes an optional argument that determines the level of recursion + Take an optional argument that determines the level of recursion to flatten. * Array#eql? @@ -65,7 +65,7 @@ with all sufficient information, see the ChangeLog file. * Array#index * Array#rindex - Take a block instead of an argument. + Use a given block if no argument is given. * Array#collect! * Array#map! @@ -623,6 +623,19 @@ with all sufficient information, see the ChangeLog file. # 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.