diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-04 07:58:55 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-04 07:58:55 +0000 |
commit | 2bb4ca64f9a51a9c0830d6cf5c635db73cd00763 (patch) | |
tree | 81b6982dfedffedc14899c31f1f7e13282b9f41c | |
parent | 57f7d8c2cde720bcc5d2831f863ae1c8981e6275 (diff) |
* 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
-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 <[email protected]> + + * 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 <[email protected]> * 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 |