From 2bb4ca64f9a51a9c0830d6cf5c635db73cd00763 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 4 Dec 2008 07:58:55 +0000 Subject: [PATCH] * lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make this method private. a patch from okkez in [ruby-dev:37245] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rubygems/validator.rb | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 17cf203f03..d364790181 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 4 16:58:12 2008 Yukihiro Matsumoto + + * 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 * 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