ruby-changes:39095
From: usa <ko1@a...>
Date: Tue, 7 Jul 2015 13:24:28 +0900 (JST)
Subject: [ruby-changes:39095] usa:r51176 (ruby_2_1): merge revision(s) 50972:
usa 2015-07-07 13:24:10 +0900 (Tue, 07 Jul 2015) New Revision: 51176 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51176 Log: merge revision(s) 50972: test_gem_remote_fetcher.rb: get rid of errors * test/rubygems/test_gem_remote_fetcher.rb (start_ssl_server): temporary measure for "dh key too small" error of OpenSSL 1.0.2c+. Modified directories: branches/ruby_2_1/ Modified files: branches/ruby_2_1/test/rubygems/test_gem_remote_fetcher.rb branches/ruby_2_1/version.h Index: ruby_2_1/version.h =================================================================== --- ruby_2_1/version.h (revision 51175) +++ ruby_2_1/version.h (revision 51176) @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1 #define RUBY_VERSION "2.1.7" -#define RUBY_RELEASE_DATE "2015-07-03" -#define RUBY_PATCHLEVEL 376 +#define RUBY_RELEASE_DATE "2015-07-07" +#define RUBY_PATCHLEVEL 377 #define RUBY_RELEASE_YEAR 2015 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 3 +#define RUBY_RELEASE_DAY 7 #include "ruby/version.h" Index: ruby_2_1/test/rubygems/test_gem_remote_fetcher.rb =================================================================== --- ruby_2_1/test/rubygems/test_gem_remote_fetcher.rb (revision 51175) +++ ruby_2_1/test/rubygems/test_gem_remote_fetcher.rb (revision 51176) @@ -744,7 +744,7 @@ gems: https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/rubygems/test_gem_remote_fetcher.rb#L744 server.mount_proc("/insecure_redirect") { |req, res| res.set_redirect(WEBrick::HTTPStatus::MovedPermanently, req.query['to']) } - server.ssl_context.tmp_dh_callback = proc { OpenSSL::PKey::DH.new 128 } + server.ssl_context.tmp_dh_callback = proc {|_, _, k| OpenSSL::PKey::DH.new(k) } t = Thread.new do begin server.start Property changes on: ruby_2_1 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r50972 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/