mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Remove require of deleted file in RubyGems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									e798ccbacf
								
							
						
					
					
						commit
						84e892f859
					
				
					 6 changed files with 9 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,12 @@
 | 
			
		|||
Wed Jan 19 12:08:08 2011  Eric Hodel <drbrain@segment7.net>
 | 
			
		||||
 | 
			
		||||
	* 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@zenspider.com>
 | 
			
		||||
 | 
			
		||||
	* lib/rubygems*: Import rubygems 1.5.0 (release candidate)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -118,8 +118,6 @@ By default, this RubyGems will install gem as:
 | 
			
		|||
 | 
			
		||||
    remove_old_bin_files bin_dir
 | 
			
		||||
 | 
			
		||||
    remove_source_caches install_destdir
 | 
			
		||||
 | 
			
		||||
    say "RubyGems #{Gem::VERSION} installed"
 | 
			
		||||
 | 
			
		||||
    uninstall_old_gemcutter
 | 
			
		||||
| 
						 | 
				
			
			@ -335,21 +333,6 @@ abort "#{deprecation_message}"
 | 
			
		|||
    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'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue