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

ruby-changes:40504

From: hsbt <ko1@a...>
Date: Mon, 16 Nov 2015 15:33:38 +0900 (JST)
Subject: [ruby-changes:40504] hsbt:r52585 (trunk): * tool/rbinstall.rb: fix wrong permission for gem specification without

hsbt	2015-11-16 15:33:17 +0900 (Mon, 16 Nov 2015)

  New Revision: 52585

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

  Log:
    * tool/rbinstall.rb: fix wrong permission for gem specification without
      zlib runtime. [Bug #11685][ruby-dev:49343]

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52584)
+++ ChangeLog	(revision 52585)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Nov 16 15:33:11 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* tool/rbinstall.rb: fix wrong permission for gem specification without
+	  zlib runtime. [Bug #11685][ruby-dev:49343]
+
 Mon Nov 16 12:11:11 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* lib/webrick/httpauth/basicauth.rb: fix a typo.
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 52584)
+++ tool/rbinstall.rb	(revision 52585)
@@ -752,6 +752,7 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L752
     ins = RbInstall::UnpackedInstaller.new(spec, options)
     puts "#{" "*30}#{spec.name} #{spec.version}"
     ins.install
+    File.chmod($data_mode, File.join(install_dir, "specifications", "#{spec.full_name}.gemspec"))
     installed_gems[spec.full_name] = true
   end
   installed_gems, gems = Dir.glob(srcdir+'/gems/*.gem').partition {|gem| installed_gems.key?(File.basename(gem, '.gem'))}

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

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