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

ruby-changes:39193

From: normal <ko1@a...>
Date: Fri, 17 Jul 2015 09:59:18 +0900 (JST)
Subject: [ruby-changes:39193] normal:r51274 (trunk): remove unnecessary enumerator requires

normal	2015-07-17 09:59:02 +0900 (Fri, 17 Jul 2015)

  New Revision: 51274

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

  Log:
    remove unnecessary enumerator requires
    
    * lib/rinda/tuplespace.rb: remove enumerator require
    * test/pathname/test_pathname.rb: ditto
    
    Related to https://bugs.ruby-lang.org/issues/10902
    but not a complete fix.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rinda/tuplespace.rb
    trunk/test/pathname/test_pathname.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51273)
+++ ChangeLog	(revision 51274)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 17 09:58:32 2015  Eric Wong  <e@8...>
+
+	* lib/rinda/tuplespace.rb: remove enumerator require
+	* test/pathname/test_pathname.rb: ditto
+
 Fri Jul 17 05:33:58 2015  Eric Wong  <e@8...>
 
 	* iseq.c (rb_iseq_compile_with_option): reuse result of previous
Index: lib/rinda/tuplespace.rb
===================================================================
--- lib/rinda/tuplespace.rb	(revision 51273)
+++ lib/rinda/tuplespace.rb	(revision 51274)
@@ -2,7 +2,6 @@ require 'monitor' https://github.com/ruby/ruby/blob/trunk/lib/rinda/tuplespace.rb#L2
 require 'thread'
 require 'drb/drb'
 require 'rinda/rinda'
-require 'enumerator'
 require 'forwardable'
 
 module Rinda
Index: test/pathname/test_pathname.rb
===================================================================
--- test/pathname/test_pathname.rb	(revision 51273)
+++ test/pathname/test_pathname.rb	(revision 51274)
@@ -3,7 +3,6 @@ require 'pathname' https://github.com/ruby/ruby/blob/trunk/test/pathname/test_pathname.rb#L3
 
 require 'fileutils'
 require 'tmpdir'
-require 'enumerator'
 
 
 class TestPathname < Test::Unit::TestCase

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

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