ruby-changes:18576
From: drbrain <ko1@a...>
Date: Wed, 19 Jan 2011 12:09:50 +0900 (JST)
Subject: [ruby-changes:18576] Ruby:r30600 (trunk): Remove require of deleted file in RubyGems.
drbrain 2011-01-19 12:09:42 +0900 (Wed, 19 Jan 2011) New Revision: 30600 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30600 Log: Remove require of deleted file in RubyGems. Modified files: trunk/ChangeLog trunk/lib/rubygems/commands/dependency_command.rb trunk/lib/rubygems/commands/fetch_command.rb trunk/lib/rubygems/commands/setup_command.rb trunk/lib/rubygems/commands/sources_command.rb trunk/lib/rubygems/commands/specification_command.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30599) +++ ChangeLog (revision 30600) @@ -1,3 +1,12 @@ +Wed Jan 19 12:08:08 2011 Eric Hodel <drbrain@s...> + + * lib/rubygems/commands/dependency_command.rb: Remove require of + deleted file. + * lib/rubygems/commands/fetch_command.rb: ditto + * lib/rubygems/commands/setup_command.rb: ditto + * lib/rubygems/commands/sources_command.rb: ditto + * lib/rubygems/commands/specification_command.rb: ditto + Wed Jan 19 08:13:59 2011 Ryan Davis <ryand-ruby@z...> * lib/rubygems*: Import rubygems 1.5.0 (release candidate) Index: lib/rubygems/commands/specification_command.rb =================================================================== --- lib/rubygems/commands/specification_command.rb (revision 30599) +++ lib/rubygems/commands/specification_command.rb (revision 30600) @@ -7,7 +7,6 @@ require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' -require 'rubygems/source_info_cache' require 'rubygems/format' class Gem::Commands::SpecificationCommand < Gem::Command Index: lib/rubygems/commands/sources_command.rb =================================================================== --- lib/rubygems/commands/sources_command.rb (revision 30599) +++ lib/rubygems/commands/sources_command.rb (revision 30600) @@ -6,7 +6,6 @@ require 'rubygems/command' require 'rubygems/remote_fetcher' -require 'rubygems/source_info_cache' require 'rubygems/spec_fetcher' require 'rubygems/local_remote_options' Index: lib/rubygems/commands/fetch_command.rb =================================================================== --- lib/rubygems/commands/fetch_command.rb (revision 30599) +++ lib/rubygems/commands/fetch_command.rb (revision 30600) @@ -7,7 +7,6 @@ require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' -require 'rubygems/source_info_cache' class Gem::Commands::FetchCommand < Gem::Command Index: lib/rubygems/commands/setup_command.rb =================================================================== --- lib/rubygems/commands/setup_command.rb (revision 30599) +++ lib/rubygems/commands/setup_command.rb (revision 30600) @@ -118,8 +118,6 @@ remove_old_bin_files bin_dir - remove_source_caches install_destdir - say "RubyGems #{Gem::VERSION} installed" uninstall_old_gemcutter @@ -335,21 +333,6 @@ end end - def remove_source_caches(install_destdir) - if install_destdir.empty? - require 'rubygems/source_info_cache' - - user_cache_file = File.join(install_destdir, - Gem::SourceInfoCache.user_cache_file) - system_cache_file = File.join(install_destdir, - Gem::SourceInfoCache.system_cache_file) - - say "Removing old source_cache files" if Gem.configuration.really_verbose - rm_f user_cache_file if File.writable? File.dirname(user_cache_file) - rm_f system_cache_file if File.writable? File.dirname(system_cache_file) - end - end - def run_rdoc(*args) begin gem 'rdoc' Index: lib/rubygems/commands/dependency_command.rb =================================================================== --- lib/rubygems/commands/dependency_command.rb (revision 30599) +++ lib/rubygems/commands/dependency_command.rb (revision 30600) @@ -7,7 +7,6 @@ require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' -require 'rubygems/source_info_cache' class Gem::Commands::DependencyCommand < Gem::Command -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/