[前][次][番号順一覧][スレッド一覧]

ruby-changes:27567

From: nobu <ko1@a...>
Date: Thu, 7 Mar 2013 10:39:27 +0900 (JST)
Subject: [ruby-changes:27567] nobu:r39619 (trunk): rbinstall.rb: gem subdirectories

nobu	2013-03-07 10:39:13 +0900 (Thu, 07 Mar 2013)

  New Revision: 39619

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39619

  Log:
    rbinstall.rb: gem subdirectories
    
    * tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
      option since r39607.  refix of r38870.

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39618)
+++ ChangeLog	(revision 39619)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Mar  7 10:39:04 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
+	  option since r39607.  refix of r38870.
+
 Wed Mar  6 13:14:28 2013  Eric Hodel  <drbrain@s...>
 
 	* test/rubygems/test_gem_spec_fetcher.rb:  Removed unused variable.
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 39618)
+++ tool/rbinstall.rb	(revision 39619)
@@ -688,8 +688,7 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L688
   $:.unshift(File.join(srcdir, "lib"))
   require("rubygems.rb")
   gem_dir = Gem.default_dir
-  # Gem.ensure_gem_subdirectories makes subdirectories group-writable.
-  directories = Gem::REPOSITORY_SUBDIRECTORIES
+  directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
   prepare "default gems", gem_dir, directories
 
   spec_dir = File.join(gem_dir, directories.grep(/^spec/)[0])

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]