diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rubygems/validator.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Dec 4 16:58:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * 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@ruby-lang.org> * ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock): diff --git a/lib/rubygems/validator.rb b/lib/rubygems/validator.rb index 4595ad9a40..4dd12ad4df 100644 --- a/lib/rubygems/validator.rb +++ b/lib/rubygems/validator.rb @@ -200,6 +200,7 @@ class Gem::Validator Dir.chdir(start_dir) end + private def remove_leading_dot_dir(path) path.sub(/^\.\//, "") end |