ruby-changes:35834
From: nobu <ko1@a...>
Date: Tue, 14 Oct 2014 21:39:28 +0900 (JST)
Subject: [ruby-changes:35834] nobu:r47916 (trunk): rbinstall.rb: fix .gemspec permissions
nobu 2014-10-14 21:39:17 +0900 (Tue, 14 Oct 2014) New Revision: 47916 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47916 Log: rbinstall.rb: fix .gemspec permissions * tool/rbinstall.rb (gem): Fix permissions of bundled gems specification files. [ruby-core:65700] [Bug #10383] Modified files: trunk/ChangeLog trunk/tool/rbinstall.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47915) +++ ChangeLog (revision 47916) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Oct 14 21:39:16 2014 Vit Ondruch <vondruch@r...> + + * tool/rbinstall.rb (gem): Fix permissions of bundled gems + specification files. [ruby-core:65700] [Bug #10383] + Tue Oct 14 19:15:31 2014 Masaki Suketa <masaki.suketa@n...> * ext/win32ole/win32ole_record.c: use typed data. Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 47915) +++ tool/rbinstall.rb (revision 47916) @@ -721,6 +721,8 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L721 # fix directory permissions # TODO: Gem.install should accept :dir_mode option or something File.chmod($dir_mode, *Dir.glob(with_destdir(Gem.dir)+"/**/")) + # fix .gemspec permissions + File.chmod($data_mode, *Dir.glob(with_destdir(Gem.dir)+"/specifications/*.gemspec")) end parse_args() -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/