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

ruby-changes:29454

From: nobu <ko1@a...>
Date: Fri, 21 Jun 2013 06:48:14 +0900 (JST)
Subject: [ruby-changes:29454] nobu:r41506 (trunk): test_client.rb: load openssl

nobu	2013-06-21 06:48:03 +0900 (Fri, 21 Jun 2013)

  New Revision: 41506

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

  Log:
    test_client.rb: load openssl
    
    * test/xmlrpc/test_client.rb: try loading openssl to fix autoloading
      constant.

  Modified files:
    trunk/test/xmlrpc/test_client.rb

Index: test/xmlrpc/test_client.rb
===================================================================
--- test/xmlrpc/test_client.rb	(revision 41505)
+++ test/xmlrpc/test_client.rb	(revision 41506)
@@ -1,6 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_client.rb#L1
 require 'minitest/autorun'
 require 'xmlrpc/client'
 require 'net/http'
+begin
+  require 'openssl'
+rescue LoadError
+end
 
 module XMLRPC
   class ClientTest < MiniTest::Unit::TestCase

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

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