summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-19 05:49:51 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-19 05:49:51 +0000
commite8dd9d4c14e96184599254b41f194830f97c71dd (patch)
tree8a3641ebce27ce018c45776c62cbba69fade10af
parent17df0de6f817037a83139481cb81c9543a470206 (diff)
downloadruby-e8dd9d4c14e96184599254b41f194830f97c71dd.tar.gz
ruby-e8dd9d4c14e96184599254b41f194830f97c71dd.tar.xz
ruby-e8dd9d4c14e96184599254b41f194830f97c71dd.zip
Update.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--doc/NEWS39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index ffcc6150b..fbdd087d4 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -1,3 +1,42 @@
+: Digest module
+
+ Added as a replacement for md5 and sha1 modules.
+
+ require 'digest/md5'
+ include Digest
+
+ md = MD5.new
+ md << "abc"
+ puts md
+
+ puts MD5.hexdigest("123")
+
+: Dir::chdir
+
+ Changed to warn only when invoked from multiple threads or no block
+ is given. [ruby-dev:13823]
+
+ Dir.chdir("/tmp")
+
+ pwd = Dir.pwd #=> "/tmp"
+ puts pwd
+
+ Dir.chdir("foo") {
+ pwd = Dir.pwd #=> "/tmp/foo"
+ puts pwd
+
+ Dir.chdir("bar") { # <-- previously warned
+ pwd = Dir.pwd #=> "/tmp/foo/bar"
+ puts pwd
+ }
+
+ pwd = Dir.pwd #=> "/tmp/foo"
+ puts pwd
+ }
+
+ pwd = Dir.pwd #=> "/tmp"
+ puts pwd
+
: Proc#yield
Added. This is equivalent to Proc#call except it does not check the