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

ruby-changes:15783

From: nobu <ko1@a...>
Date: Mon, 10 May 2010 02:26:50 +0900 (JST)
Subject: [ruby-changes:15783] Ruby:r27712 (trunk): * test/rubygems/mockgemui.rb (MockGemUi::TTY),

nobu	2010-05-10 02:26:40 +0900 (Mon, 10 May 2010)

  New Revision: 27712

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

  Log:
    * test/rubygems/mockgemui.rb (MockGemUi::TTY),
      test/rubygems/test_gem_stream_ui.rb (TestGemStreamUI::IsTty):
      need #noecho.
    
    * test/rubygems/test_gem_gemcutter_utilities.rb: need
      rubygems/command.

  Modified files:
    trunk/test/rubygems/mockgemui.rb
    trunk/test/rubygems/test_gem_gemcutter_utilities.rb
    trunk/test/rubygems/test_gem_stream_ui.rb

Index: test/rubygems/test_gem_stream_ui.rb
===================================================================
--- test/rubygems/test_gem_stream_ui.rb	(revision 27711)
+++ test/rubygems/test_gem_stream_ui.rb	(revision 27712)
@@ -12,6 +12,10 @@
     end
 
     alias_method :isatty, :tty?
+
+    def noecho
+      yield self
+    end
   end
 
   def setup
Index: test/rubygems/test_gem_gemcutter_utilities.rb
===================================================================
--- test/rubygems/test_gem_gemcutter_utilities.rb	(revision 27711)
+++ test/rubygems/test_gem_gemcutter_utilities.rb	(revision 27712)
@@ -1,5 +1,6 @@
 require_relative 'gemutilities'
 require 'rubygems'
+require 'rubygems/command'
 require 'rubygems/gemcutter_utilities'
 
 class TestGemGemcutterUtilities < RubyGemTestCase
Index: test/rubygems/mockgemui.rb
===================================================================
--- test/rubygems/mockgemui.rb	(revision 27711)
+++ test/rubygems/mockgemui.rb	(revision 27712)
@@ -13,6 +13,9 @@
       @tty
     end
 
+    def noecho
+      yield self
+    end
   end
 
   def initialize(input = "")

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

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