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

ruby-changes:19882

From: yugui <ko1@a...>
Date: Mon, 6 Jun 2011 07:38:16 +0900 (JST)
Subject: [ruby-changes:19882] yugui:r31929 (ruby_1_9_2): * test/drb/ut_array.rb: uses 'druby://localhost:0' instead of nil

yugui	2011-06-06 07:38:05 +0900 (Mon, 06 Jun 2011)

  New Revision: 31929

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

  Log:
    * test/drb/ut_array.rb: uses 'druby://localhost:0' instead of nil
      as well as test/drb/ut_drb.rb.  This fixes the same problem as
      [ruby-dev:23078].
    
    * test/drb/ut_array_drbssl.rb: ditto.

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/test/drb/ut_array.rb
    branches/ruby_1_9_2/test/drb/ut_array_drbssl.rb
    branches/ruby_1_9_2/version.h

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 31928)
+++ ruby_1_9_2/ChangeLog	(revision 31929)
@@ -1,3 +1,11 @@
+Mon Jun  6 07:08:54 2011  Yuki Sonoda (Yugui)  <yugui@y...>
+
+	* test/drb/ut_array.rb: uses 'druby://localhost:0' instead of nil
+	  as well as test/drb/ut_drb.rb.  This fixes the same problem as
+	  [ruby-dev:23078].
+
+	* test/drb/ut_array_drbssl.rb: ditto.
+
 Fri May 27 08:35:04 2011  Hidetoshi NAGAI  <nagai@a...>
 
 	* ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
Index: ruby_1_9_2/version.h
===================================================================
--- ruby_1_9_2/version.h	(revision 31928)
+++ ruby_1_9_2/version.h	(revision 31929)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.2"
-#define RUBY_PATCHLEVEL 272
+#define RUBY_PATCHLEVEL 273
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1
Index: ruby_1_9_2/test/drb/ut_array.rb
===================================================================
--- ruby_1_9_2/test/drb/ut_array.rb	(revision 31928)
+++ ruby_1_9_2/test/drb/ut_array.rb	(revision 31929)
@@ -8,7 +8,7 @@
     it
   end
 
-  DRb.start_service(nil, [1, 2, 'III', 4, "five", 6])
+  DRb.start_service("druby://localhost:0", [1, 2, 'III', 4, "five", 6])
   es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
   DRb.thread.join
 end
Index: ruby_1_9_2/test/drb/ut_array_drbssl.rb
===================================================================
--- ruby_1_9_2/test/drb/ut_array_drbssl.rb	(revision 31928)
+++ ruby_1_9_2/test/drb/ut_array_drbssl.rb	(revision 31929)
@@ -17,7 +17,7 @@
   config[:SSLCertName] =
     [ ["C","JP"], ["O","Foo.DRuby.Org"], ["CN", "Sample"] ]
 
-  DRb.start_service('drbssl://:0', [1, 2, 'III', 4, "five", 6], config)
+  DRb.start_service('drbssl://localhost:0', [1, 2, 'III', 4, "five", 6], config)
   es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
   DRb.thread.join
 end

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

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