diff options
29 files changed, 1 insertions, 175 deletions
@@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/builder' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/security' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/version_option' require 'rubygems/validator' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/dependency_list' require 'rubygems/uninstaller' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/version_option' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' class Gem::Commands::EnvironmentCommand < Gem::Command @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/indexer' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' class Gem::Commands::HelpCommand < Gem::Command @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/doc_manager' require 'rubygems/install_update_options' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/commands/query_command' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' class Gem::Commands::LockCommand < Gem::Command @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/spec_fetcher' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/gemcutter_utilities' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/format' require 'rubygems/installer' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/gemcutter_utilities' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/spec_fetcher' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/version_option' require 'rubygems/doc_manager' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/commands/query_command' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/server' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' ## @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/remote_fetcher' require 'rubygems/spec_fetcher' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' class Gem::Commands::StaleCommand < Gem::Command @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/version_option' require 'rubygems/uninstaller' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/installer' require 'rubygems/version_option' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' require 'rubygems/command_manager' require 'rubygems/install_update_options' @@ -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 instead and assign it to Ryan Davis or Eric Hodel. -###################################################################### - require 'rubygems/command' class Gem::Commands::WhichCommand < Gem::Command @@ -66,7 +60,7 @@ class Gem::Commands::WhichCommand < Gem::Command dirs.each do |dir| Gem.suffixes.each do |ext| full_path = File.join dir, "#{package_name}#{ext}" - if File.exist? full_path then result << full_path return result unless options[:show_all] end |