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

ruby-changes:32935

From: nagachika <ko1@a...>
Date: Mon, 17 Feb 2014 02:03:03 +0900 (JST)
Subject: [ruby-changes:32935] nagachika:r45014 (ruby_2_0_0): merge revision(s) r44637: [Backport #9385]

nagachika	2014-02-17 02:02:51 +0900 (Mon, 17 Feb 2014)

  New Revision: 45014

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

  Log:
    merge revision(s) r44637: [Backport #9385]
    
    * lib/open-uri.rb: Make proxy disabling working again.
      Fixed by Christophe Philemotte.   [ruby-core:59650] [Bug #9385]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/lib/open-uri.rb
    branches/ruby_2_0_0/version.h
Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 45013)
+++ ruby_2_0_0/ChangeLog	(revision 45014)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Mon Feb 17 02:00:36 2014  Tanaka Akira  <akr@f...>
+
+	* lib/open-uri.rb: Make proxy disabling working again.
+	  Fixed by Christophe Philemotte.   [ruby-core:59650] [Bug #9385]
+
 Mon Feb 17 01:57:45 2014  Benoit Daloze  <eregontp@g...>
 
 	* range.c (Range#size): [DOC] improve description and add examples.
Index: ruby_2_0_0/lib/open-uri.rb
===================================================================
--- ruby_2_0_0/lib/open-uri.rb	(revision 45013)
+++ ruby_2_0_0/lib/open-uri.rb	(revision 45014)
@@ -288,7 +288,7 @@ module OpenURI https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/open-uri.rb#L288
       end
     end
 
-    http = klass.new(target_host, target_port)
+    http = proxy ? klass.new(target_host, target_port) : klass.new(target_host, target_port, nil)
     if target.class == URI::HTTPS
       require 'net/https'
       http.use_ssl = true
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 45013)
+++ ruby_2_0_0/version.h	(revision 45014)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
 #define RUBY_RELEASE_DATE "2014-02-17"
-#define RUBY_PATCHLEVEL 432
+#define RUBY_PATCHLEVEL 433
 
 #define RUBY_RELEASE_YEAR 2014
 #define RUBY_RELEASE_MONTH 2

Property changes on: ruby_2_0_0
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r44637


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

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