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

ruby-changes:20647

From: drbrain <ko1@a...>
Date: Wed, 27 Jul 2011 11:04:55 +0900 (JST)
Subject: [ruby-changes:20647] drbrain:r32694 (ruby_1_9_3): * lib/rubygems: Update to RubyGems 1.8.6.1.

drbrain	2011-07-27 11:04:03 +0900 (Wed, 27 Jul 2011)

  New Revision: 32694

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

  Log:
    * lib/rubygems:  Update to RubyGems 1.8.6.1.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/NEWS
    branches/ruby_1_9_3/lib/rubygems/builder.rb
    branches/ruby_1_9_3/lib/rubygems/command.rb
    branches/ruby_1_9_3/lib/rubygems/command_manager.rb
    branches/ruby_1_9_3/lib/rubygems/commands/build_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/cert_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/check_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/cleanup_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/contents_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/dependency_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/environment_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/fetch_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/generate_index_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/help_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/install_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/list_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/lock_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/outdated_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/owner_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/pristine_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/push_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/query_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/rdoc_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/search_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/server_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/setup_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/sources_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/specification_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/stale_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/uninstall_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/unpack_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/update_command.rb
    branches/ruby_1_9_3/lib/rubygems/commands/which_command.rb
    branches/ruby_1_9_3/lib/rubygems/config_file.rb
    branches/ruby_1_9_3/lib/rubygems/custom_require.rb
    branches/ruby_1_9_3/lib/rubygems/defaults.rb
    branches/ruby_1_9_3/lib/rubygems/dependency.rb
    branches/ruby_1_9_3/lib/rubygems/dependency_installer.rb
    branches/ruby_1_9_3/lib/rubygems/dependency_list.rb
    branches/ruby_1_9_3/lib/rubygems/deprecate.rb
    branches/ruby_1_9_3/lib/rubygems/doc_manager.rb
    branches/ruby_1_9_3/lib/rubygems/errors.rb
    branches/ruby_1_9_3/lib/rubygems/exceptions.rb
    branches/ruby_1_9_3/lib/rubygems/ext/builder.rb
    branches/ruby_1_9_3/lib/rubygems/ext/configure_builder.rb
    branches/ruby_1_9_3/lib/rubygems/ext/ext_conf_builder.rb
    branches/ruby_1_9_3/lib/rubygems/ext/rake_builder.rb
    branches/ruby_1_9_3/lib/rubygems/ext.rb
    branches/ruby_1_9_3/lib/rubygems/format.rb
    branches/ruby_1_9_3/lib/rubygems/gem_openssl.rb
    branches/ruby_1_9_3/lib/rubygems/gem_path_searcher.rb
    branches/ruby_1_9_3/lib/rubygems/gem_runner.rb
    branches/ruby_1_9_3/lib/rubygems/gemcutter_utilities.rb
    branches/ruby_1_9_3/lib/rubygems/indexer.rb
    branches/ruby_1_9_3/lib/rubygems/install_update_options.rb
    branches/ruby_1_9_3/lib/rubygems/installer.rb
    branches/ruby_1_9_3/lib/rubygems/installer_test_case.rb
    branches/ruby_1_9_3/lib/rubygems/local_remote_options.rb
    branches/ruby_1_9_3/lib/rubygems/mock_gem_ui.rb
    branches/ruby_1_9_3/lib/rubygems/old_format.rb
    branches/ruby_1_9_3/lib/rubygems/package/f_sync_dir.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_header.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_input.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_output.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_reader/entry.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_reader.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_test_case.rb
    branches/ruby_1_9_3/lib/rubygems/package/tar_writer.rb
    branches/ruby_1_9_3/lib/rubygems/package.rb
    branches/ruby_1_9_3/lib/rubygems/package_task.rb
    branches/ruby_1_9_3/lib/rubygems/path_support.rb
    branches/ruby_1_9_3/lib/rubygems/platform.rb
    branches/ruby_1_9_3/lib/rubygems/remote_fetcher.rb
    branches/ruby_1_9_3/lib/rubygems/require_paths_builder.rb
    branches/ruby_1_9_3/lib/rubygems/requirement.rb
    branches/ruby_1_9_3/lib/rubygems/security.rb
    branches/ruby_1_9_3/lib/rubygems/server.rb
    branches/ruby_1_9_3/lib/rubygems/source_index.rb
    branches/ruby_1_9_3/lib/rubygems/spec_fetcher.rb
    branches/ruby_1_9_3/lib/rubygems/specification.rb
    branches/ruby_1_9_3/lib/rubygems/test_case.rb
    branches/ruby_1_9_3/lib/rubygems/test_utilities.rb
    branches/ruby_1_9_3/lib/rubygems/text.rb
    branches/ruby_1_9_3/lib/rubygems/uninstaller.rb
    branches/ruby_1_9_3/lib/rubygems/user_interaction.rb
    branches/ruby_1_9_3/lib/rubygems/validator.rb
    branches/ruby_1_9_3/lib/rubygems/version.rb
    branches/ruby_1_9_3/lib/rubygems/version_option.rb
    branches/ruby_1_9_3/lib/rubygems.rb
    branches/ruby_1_9_3/test/rubygems/bogussources.rb
    branches/ruby_1_9_3/test/rubygems/fake_certlib/openssl.rb
    branches/ruby_1_9_3/test/rubygems/fix_openssl_warnings.rb
    branches/ruby_1_9_3/test/rubygems/foo/discover.rb
    branches/ruby_1_9_3/test/rubygems/insure_session.rb
    branches/ruby_1_9_3/test/rubygems/plugin/exception/rubygems_plugin.rb
    branches/ruby_1_9_3/test/rubygems/plugin/load/rubygems_plugin.rb
    branches/ruby_1_9_3/test/rubygems/plugin/standarderror/rubygems_plugin.rb
    branches/ruby_1_9_3/test/rubygems/rubygems/commands/crash_command.rb
    branches/ruby_1_9_3/test/rubygems/rubygems_plugin.rb
    branches/ruby_1_9_3/test/rubygems/sff/discover.rb
    branches/ruby_1_9_3/test/rubygems/simple_gem.rb
    branches/ruby_1_9_3/test/rubygems/test_config.rb
    branches/ruby_1_9_3/test/rubygems/test_gem.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_builder.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_command_manager.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_build_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_cert_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_check_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_cleanup_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_contents_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_dependency_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_environment_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_fetch_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_generate_index_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_help_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_install_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_list_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_lock_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_outdated_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_owner_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_pristine_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_push_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_query_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_server_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_sources_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_specification_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_stale_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_uninstall_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_unpack_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_update_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_commands_which_command.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_config_file.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_dependency.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_dependency_installer.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_dependency_list.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_doc_manager.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_ext_configure_builder.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_ext_ext_conf_builder.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_ext_rake_builder.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_format.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_gem_path_searcher.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_gem_runner.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_gemcutter_utilities.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_indexer.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_install_update_options.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_installer.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_local_remote_options.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_tar_header.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_tar_input.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_tar_output.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_tar_reader.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_tar_reader_entry.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_tar_writer.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_package_task.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_path_support.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_platform.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_remote_fetcher.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_requirement.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_security.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_server.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_silent_ui.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_source_index.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_spec_fetcher.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_specification.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_stream_ui.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_text.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_uninstaller.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_validator.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_version.rb
    branches/ruby_1_9_3/test/rubygems/test_gem_version_option.rb
    branches/ruby_1_9_3/test/rubygems/test_kernel.rb

Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 32693)
+++ ruby_1_9_3/ChangeLog	(revision 32694)
@@ -1,3 +1,7 @@
+Wed Jul 27 10:47:57 2011  Eric Hodel  <drbrain@s...>
+
+	* lib/rubygems:  Update to RubyGems 1.8.6.1.
+
 Wed Jul 27 10:04:06 2011  Martin Bosslet  <Martin.Bosslet@g...>
 
 	* backport r32690 from trunk.
Index: ruby_1_9_3/lib/rubygems/user_interaction.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/user_interaction.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/user_interaction.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
@@ -142,8 +136,12 @@
   end
 
   def tty?
-    @usetty && @ins.tty?
- end
+    if RUBY_VERSION > '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then
+      @usetty
+    else
+      @usetty && @ins.tty?
+    end
+  end
 
   ##
   # Choose from a list of options.  +question+ is a prompt displayed above
Index: ruby_1_9_3/lib/rubygems/mock_gem_ui.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/mock_gem_ui.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/mock_gem_ui.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require 'stringio'
 require 'rubygems/user_interaction'
 
Index: ruby_1_9_3/lib/rubygems/command.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/command.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/command.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/dependency.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/dependency.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/dependency.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require "rubygems/requirement"
 
 ##
Index: ruby_1_9_3/lib/rubygems/local_remote_options.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/local_remote_options.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/local_remote_options.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/install_update_options.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/install_update_options.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/install_update_options.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/validator.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/validator.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/validator.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/old_format.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/old_format.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/old_format.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/builder.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/builder.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/builder.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/installer_test_case.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/installer_test_case.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/installer_test_case.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require 'rubygems/test_case'
 require 'rubygems/installer'
 
Index: ruby_1_9_3/lib/rubygems/path_support.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/path_support.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/path_support.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 ##
 #
 # Gem::PathSupport facilitates the GEM_HOME and GEM_PATH environment settings
@@ -28,6 +22,11 @@
 
     # note 'env' vs 'ENV'...
     @home     = env["GEM_HOME"] || ENV["GEM_HOME"] || Gem.default_dir
+
+    if File::ALT_SEPARATOR then
+      @home   = @home.gsub(File::ALT_SEPARATOR, File::SEPARATOR)
+    end
+
     self.path = env["GEM_PATH"] || ENV["GEM_PATH"]
   end
 
@@ -68,8 +67,8 @@
     else
       gem_path = Gem.default_path + [@home]
 
-      if defined?(Gem::APPLE_GEM_HOME)
-        gem_path << Gem::APPLE_GEM_HOME
+      if defined?(APPLE_GEM_HOME)
+        gem_path << APPLE_GEM_HOME
       end
     end
 
Index: ruby_1_9_3/lib/rubygems/format.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/format.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/format.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/gemcutter_utilities.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/gemcutter_utilities.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/gemcutter_utilities.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require 'rubygems/remote_fetcher'
 
 module Gem::GemcutterUtilities
Index: ruby_1_9_3/lib/rubygems/spec_fetcher.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/spec_fetcher.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/spec_fetcher.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require 'rubygems/remote_fetcher'
 require 'rubygems/user_interaction'
 require 'rubygems/errors'
@@ -173,7 +167,7 @@
 
     found.each do |source_uri, specs|
       uri_str = source_uri.to_s
-      specs_and_sources.push(*specs.map { |spec| [spec, uri_str] })
+      specs_and_sources.concat(specs.map { |spec| [spec, uri_str] })
     end
 
     [specs_and_sources, errors]
Index: ruby_1_9_3/lib/rubygems/dependency_installer.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/dependency_installer.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/dependency_installer.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require 'rubygems'
 require 'rubygems/dependency_list'
 require 'rubygems/installer'
Index: ruby_1_9_3/lib/rubygems/deprecate.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/deprecate.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/deprecate.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 ##
 # Provides a single method +deprecate+ to be used to declare when
 # something is going away.
Index: ruby_1_9_3/lib/rubygems/ext/builder.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/ext/builder.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/ext/builder.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/ext/configure_builder.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/ext/configure_builder.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/ext/configure_builder.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/ext/rake_builder.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/ext/rake_builder.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/ext/rake_builder.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/ext/ext_conf_builder.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/ext/ext_conf_builder.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/ext/ext_conf_builder.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/indexer.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/indexer.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/indexer.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 require 'rubygems'
 require 'rubygems/format'
 require 'time'
Index: ruby_1_9_3/lib/rubygems/doc_manager.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/doc_manager.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/doc_manager.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/gem_runner.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/gem_runner.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/gem_runner.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/config_file.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/config_file.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/config_file.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/custom_require.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/custom_require.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/custom_require.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/errors.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/errors.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/errors.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 class Gem::ErrorReason; end
 
 # Generated when trying to lookup a gem to indicate that the gem
Index: ruby_1_9_3/lib/rubygems/version_option.rb
===================================================================
--- ruby_1_9_3/lib/rubygems/version_option.rb	(revision 32693)
+++ ruby_1_9_3/lib/rubygems/version_option.rb	(revision 32694)
@@ -1,9 +1,3 @@
-######################################################################
-# This file is imported from the rubygems project.
-# DO NOT make modifications in this repo. They _will_ be reverted!
-# File a patch instead and assign it to Ryan Davis or Eric Hodel.
-######################################################################
-
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
Index: ruby_1_9_3/lib/rubygems/package_task.rb
========================================================== (... truncated)

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

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