ruby-changes:8960
From: matz <ko1@a...>
Date: Thu, 4 Dec 2008 16:59:09 +0900 (JST)
Subject: [ruby-changes:8960] Ruby:r20496 (trunk): * lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make
matz 2008-12-04 16:58:55 +0900 (Thu, 04 Dec 2008) New Revision: 20496 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20496 Log: * lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make this method private. a patch from okkez in [ruby-dev:37245] Modified files: trunk/ChangeLog trunk/lib/rubygems/validator.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 20495) +++ ChangeLog (revision 20496) @@ -1,3 +1,8 @@ +Thu Dec 4 16:58:12 2008 Yukihiro Matsumoto <matz@r...> + + * lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make + this method private. a patch from okkez in [ruby-dev:37245] + Thu Dec 4 16:19:18 2008 Yukihiro Matsumoto <matz@r...> * ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock): Index: lib/rubygems/validator.rb =================================================================== --- lib/rubygems/validator.rb (revision 20495) +++ lib/rubygems/validator.rb (revision 20496) @@ -200,6 +200,7 @@ Dir.chdir(start_dir) end + private def remove_leading_dot_dir(path) path.sub(/^\.\//, "") end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/