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

ruby-changes:35018

From: hsbt <ko1@a...>
Date: Fri, 8 Aug 2014 14:34:58 +0900 (JST)
Subject: [ruby-changes:35018] hsbt:r47100 (trunk): * lib/webrick/httpproxy.rb: remove needless condition

hsbt	2014-08-08 14:34:48 +0900 (Fri, 08 Aug 2014)

  New Revision: 47100

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

  Log:
    * lib/webrick/httpproxy.rb: remove needless condition
      for old ruby version.

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/httpproxy.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47099)
+++ ChangeLog	(revision 47100)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Aug  8 14:33:49 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/webrick/httpproxy.rb: remove needless condition
+	  for old ruby version.
+
 Fri Aug  8 01:07:10 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (parser_yylex): fix invalid char in eval, should raise
Index: lib/webrick/httpproxy.rb
===================================================================
--- lib/webrick/httpproxy.rb	(revision 47099)
+++ lib/webrick/httpproxy.rb	(revision 47100)
@@ -12,8 +12,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/webrick/httpproxy.rb#L12
 require "webrick/httpserver"
 require "net/http"
 
-Net::HTTP::version_1_2 if RUBY_VERSION < "1.7"
-
 module WEBrick
 
   NullReader = Object.new # :nodoc:

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

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