mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 44637: [Backport #9385]
* lib/open-uri.rb: Make proxy disabling working again. Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
330dccb9b4
commit
76ddadeb1a
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Feb 22 17:46:32 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/open-uri.rb: Make proxy disabling working again.
|
||||
Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385]
|
||||
|
||||
Sat Feb 22 17:33:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_mod_s_constants): return its own constants for other
|
||||
|
|
|
@ -288,7 +288,7 @@ module OpenURI
|
|||
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.1.1"
|
||||
#define RUBY_RELEASE_DATE "2014-02-22"
|
||||
#define RUBY_PATCHLEVEL 69
|
||||
#define RUBY_PATCHLEVEL 70
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2014
|
||||
#define RUBY_RELEASE_MONTH 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue