ruby-changes:43847
From: usa <ko1@a...>
Date: Tue, 16 Aug 2016 13:31:35 +0900 (JST)
Subject: [ruby-changes:43847] usa:r55920 (ruby_2_2): * lib/rubygems/package.rb: Fixed potential perms issue unpacking of
usa 2016-08-16 13:31:31 +0900 (Tue, 16 Aug 2016) New Revision: 55920 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55920 Log: * lib/rubygems/package.rb: Fixed potential perms issue unpacking of gems on NFS. [Backport #12579] * lib/rubygems.rb: bump version. Modified files: branches/ruby_2_2/ChangeLog branches/ruby_2_2/lib/rubygems/package.rb branches/ruby_2_2/lib/rubygems.rb branches/ruby_2_2/version.h Index: ruby_2_2/lib/rubygems/package.rb =================================================================== --- ruby_2_2/lib/rubygems/package.rb (revision 55919) +++ ruby_2_2/lib/rubygems/package.rb (revision 55920) @@ -366,8 +366,9 @@ EOM https://github.com/ruby/ruby/blob/trunk/ruby_2_2/lib/rubygems/package.rb#L366 FileUtils.mkdir_p mkdir, mkdir_options - open destination, 'wb', entry.header.mode do |out| + open destination, 'wb' do |out| out.write entry.read + FileUtils.chmod entry.header.mode, destination end if entry.file? verbose destination Index: ruby_2_2/lib/rubygems.rb =================================================================== --- ruby_2_2/lib/rubygems.rb (revision 55919) +++ ruby_2_2/lib/rubygems.rb (revision 55920) @@ -9,7 +9,7 @@ require 'rbconfig' https://github.com/ruby/ruby/blob/trunk/ruby_2_2/lib/rubygems.rb#L9 require 'thread' module Gem - VERSION = '2.4.5.1' + VERSION = '2.4.5.2' end # Must be first since it unloads the prelude from 1.9.2 Index: ruby_2_2/ChangeLog =================================================================== --- ruby_2_2/ChangeLog (revision 55919) +++ ruby_2_2/ChangeLog (revision 55920) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ChangeLog#L1 +Tue Aug 16 13:29:25 2016 NAKAMURA Usaku <usa@r...> + + * lib/rubygems/package.rb: Fixed potential perms issue unpacking of + gems on NFS. [Backport #12579] + + * lib/rubygems.rb: bump version. + Fri Aug 12 11:48:27 2016 NARUSE, Yui <naruse@r...> * vm_args.c (setup_parameters_complex): don't raise ArgumentError Index: ruby_2_2/version.h =================================================================== --- ruby_2_2/version.h (revision 55919) +++ ruby_2_2/version.h (revision 55920) @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1 #define RUBY_VERSION "2.2.6" -#define RUBY_RELEASE_DATE "2016-08-12" -#define RUBY_PATCHLEVEL 348 +#define RUBY_RELEASE_DATE "2016-08-16" +#define RUBY_PATCHLEVEL 349 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 8 -#define RUBY_RELEASE_DAY 12 +#define RUBY_RELEASE_DAY 16 #include "ruby/version.h" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/