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

ruby-changes:31574

From: drbrain <ko1@a...>
Date: Tue, 12 Nov 2013 10:16:18 +0900 (JST)
Subject: [ruby-changes:31574] drbrain:r43653 (trunk): * test/rubygems/insure_session.rb: Remove unused test file.

drbrain	2013-11-12 10:16:11 +0900 (Tue, 12 Nov 2013)

  New Revision: 43653

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

  Log:
    * test/rubygems/insure_session.rb:  Remove unused test file.

  Removed files:
    trunk/test/rubygems/insure_session.rb
  Modified files:
    trunk/ChangeLog
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43652)
+++ ChangeLog	(revision 43653)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov 12 10:15:14 2013  Eric Hodel  <drbrain@s...>
+
+	* test/rubygems/insure_session.rb:  Remove unused test file.
+
 Tue Nov 12 09:16:24 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rubygems:  Update to RubyGems master b9213d7.  Changes include:
Index: test/rubygems/insure_session.rb
===================================================================
--- test/rubygems/insure_session.rb	(revision 43652)
+++ test/rubygems/insure_session.rb	(revision 43653)
@@ -1,43 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/test/rubygems/insure_session.rb#L0
-require 'rubygems'
-
-def install_session
-  path_to_gem = File.join("redist", "session.gem")
-  begin
-    Gem::Installer.new(path_to_gem).install
-  rescue Errno::EACCES => ex
-    puts
-    puts "*****************************************************************"
-    puts "Unable to install Gem 'Session'."
-    puts "Reason:  #{ex.message}"
-    puts "Try running:"
-    puts
-    puts "   gem -Li #{path_to_gem}"
-    puts
-    puts "with the appropriate admin privileges."
-    puts "*****************************************************************"
-    puts
-    exit
-  end
-  gem 'session'
-end
-
-begin
-  require 'session'
-rescue LoadError => e
-  puts
-  puts "Required Gem 'Session' missing."
-  puts "We can attempt to install from the RubyGems Distribution,"
-  puts "but installation may require admin privileges on your system."
-  puts
-  print "Install now from RubyGems distribution? [Yn]"
-  answer = gets
-  if(answer =~ /^y/i || answer =~ /^[^a-zA-Z0-9]$/) then
-    install_session
-    puts
-    puts "Retry running the functional tests."
-    exit(0)
-  else
-    puts "Test cancelled...quitting"
-    exit(1)
-  end
-end

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

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