mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b9c485aa0d
commit
035ef0a347
172 changed files with 190 additions and 1075 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 27 09:34:24 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems: Update to RubyGems 1.8.6.1.
|
||||
|
||||
Wed Jul 27 09:27:59 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||
|
||||
* test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- ruby -*-
|
||||
#--
|
||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||
|
@ -124,7 +118,7 @@ require "rubygems/deprecate"
|
|||
# -The RubyGems Team
|
||||
|
||||
module Gem
|
||||
VERSION = '1.8.5.1'
|
||||
VERSION = '1.8.6.1'
|
||||
|
||||
##
|
||||
# Raised when RubyGems is unable to load or activate a gem. Contains the
|
||||
|
@ -426,15 +420,15 @@ module Gem
|
|||
def self.each_load_path(partials)
|
||||
partials.each do |gp|
|
||||
base = File.basename gp
|
||||
specfn = dir.specifications.add(base + ".gemspec")
|
||||
if specfn.exist?
|
||||
spec = eval(specfn.read)
|
||||
specfn = File.join(dir, "specifications", "#{base}.gemspec")
|
||||
if File.exists? specfn
|
||||
spec = eval(File.read(specfn))
|
||||
spec.require_paths.each do |rp|
|
||||
yield(gp.add(rp))
|
||||
yield File.join(gp,rp)
|
||||
end
|
||||
else
|
||||
filename = dir.add(gp, 'lib')
|
||||
yield(filename) if filename.exist?
|
||||
filename = File.join(gp, 'lib')
|
||||
yield(filename) if File.exists? filename
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -589,7 +583,7 @@ module Gem
|
|||
|
||||
Gem.path.each do |gemdir|
|
||||
each_load_path(latest_partials(gemdir)) do |load_path|
|
||||
result << gemdir.add(load_path).expand_path
|
||||
result << load_path
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -644,10 +638,23 @@ module Gem
|
|||
# Loads YAML, preferring Psych
|
||||
|
||||
def self.load_yaml
|
||||
require 'psych'
|
||||
rescue ::LoadError
|
||||
ensure
|
||||
require 'yaml'
|
||||
begin
|
||||
require 'psych'
|
||||
rescue ::LoadError
|
||||
ensure
|
||||
require 'yaml'
|
||||
end
|
||||
|
||||
# Hack to handle syck's DefaultKey bug with psych.
|
||||
# See the note at the top of lib/rubygems/requirement.rb for
|
||||
# why we end up defining DefaultKey more than once.
|
||||
if !defined? YAML::Syck
|
||||
YAML.module_eval do
|
||||
const_set 'Syck', Module.new {
|
||||
const_set 'DefaultKey', Class.new
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
##
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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/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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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 patch 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
|
||||
if File.exist? full_path and not File.directory? full_path then
|
||||
result << full_path
|
||||
return result unless options[:show_all]
|
||||
end
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
module Gem
|
||||
|
||||
# TODO: move this whole file back into rubygems.rb
|
||||
|
|
|
@ -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"
|
||||
|
||||
##
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
##
|
||||
# Base exception class for RubyGems. All exception raised by RubyGems are a
|
||||
# subclass of this one.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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/deprecate"
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
@ -439,7 +433,7 @@ class Gem::Installer
|
|||
end
|
||||
|
||||
def check_that_user_bin_dir_is_in_path
|
||||
user_bin_dir = File.join gem_home, "bin"
|
||||
user_bin_dir = @bin_dir || Gem.bindir(gem_home)
|
||||
unless ENV['PATH'].split(File::PATH_SEPARATOR).include? user_bin_dir then
|
||||
unless self.class.path_warning then
|
||||
alert_warning "You don't have #{user_bin_dir} in your PATH,\n\t gem executables will not run."
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#--
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#--
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#--
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
#++
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#--
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#--
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#++
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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/package'
|
||||
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
#--
|
||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||
|
|
|
@ -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 (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
|
|
@ -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 @@ class Gem::PathSupport
|
|||
|
||||
# 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 @@ class Gem::PathSupport
|
|||
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
|
||||
|
||||
|
|
|
@ -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/deprecate"
|
||||
|
||||
##
|
||||
|
|
|
@ -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/user_interaction'
|
||||
require 'uri'
|
||||
|
|
|
@ -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'
|
||||
|
||||
# TODO: remove after 1.9.1 dropped
|
||||
|
|
|
@ -1,11 +1,24 @@
|
|||
######################################################################
|
||||
# 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/version"
|
||||
|
||||
# Hack to handle syck's DefaultKey bug with psych
|
||||
#
|
||||
# Quick note! If/when psych loads in 1.9, it will redefine
|
||||
# YAML to point to Psych by removing the YAML constant.
|
||||
# Thusly, over in Gem.load_yaml, we define DefaultKey again
|
||||
# after proper yaml library has been loaded.
|
||||
#
|
||||
# All this is so that there is always a YAML::Syck::DefaultKey
|
||||
# class no matter if the full yaml library has loaded or not.
|
||||
#
|
||||
module YAML
|
||||
if !defined? Syck
|
||||
module Syck
|
||||
class DefaultKey
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
##
|
||||
# A Requirement is a set of one or more version restrictions. It supports a
|
||||
# few (<tt>=, !=, >, <, >=, <=, ~></tt>) different restriction operators.
|
||||
|
@ -116,11 +129,15 @@ class Gem::Requirement
|
|||
end
|
||||
|
||||
def marshal_dump # :nodoc:
|
||||
fix_syck_default_key_in_requirements
|
||||
|
||||
[@requirements]
|
||||
end
|
||||
|
||||
def marshal_load array # :nodoc:
|
||||
@requirements = array[0]
|
||||
|
||||
fix_syck_default_key_in_requirements
|
||||
end
|
||||
|
||||
def prerelease?
|
||||
|
@ -160,6 +177,17 @@ class Gem::Requirement
|
|||
def <=> other # :nodoc:
|
||||
to_s <=> other.to_s
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def fix_syck_default_key_in_requirements
|
||||
# Fixup the Syck DefaultKey bug
|
||||
@requirements.each do |r|
|
||||
if r[0].kind_of? YAML::Syck::DefaultKey
|
||||
r[0] = "="
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# :stopdoc:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 'webrick'
|
||||
require 'zlib'
|
||||
require 'erb'
|
||||
|
|
|
@ -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.
|
||||
|
@ -199,8 +193,10 @@ class Gem::SourceIndex
|
|||
# Add gem specifications to the source index.
|
||||
|
||||
def add_specs(*gem_specs)
|
||||
gem_specs.each do |spec|
|
||||
add_spec spec
|
||||
Deprecate.skip_during do
|
||||
gem_specs.each do |spec|
|
||||
add_spec spec
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -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 @@ class Gem::SpecFetcher
|
|||
|
||||
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]
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
at_exit { $SAFE = 1 }
|
||||
|
||||
if defined? Gem::QuickLoader
|
||||
|
|
|
@ -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 'tempfile'
|
||||
require 'rubygems'
|
||||
require 'rubygems/remote_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 patch instead and assign it to Ryan Davis or Eric Hodel.
|
||||
######################################################################
|
||||
|
||||
require 'rubygems'
|
||||
|
||||
##
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 @@ class Gem::StreamUI
|
|||
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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
##
|
||||
# The Version class processes string versions into comparable
|
||||
# values. A version string should normally be a series of numbers
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
######################################################################
|
||||
|
||||
##
|
||||
# HACK: this drives me BONKERS
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
######################################################################
|
||||
# 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.
|
||||
######################################################################
|
||||
|
|
@ -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'
|
||||
|
||||
def install_session
|
||||
|
|
|
@ -1,8 +1,2 @@
|
|||
######################################################################
|
||||
# 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.
|
||||
######################################################################
|
||||
|
||||
TestGem::TEST_PLUGIN_EXCEPTION = :loaded
|
||||
raise Exception.new('boom')
|
|
@ -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 TestGem
|
||||
TEST_PLUGIN_LOAD = :loaded
|
||||
end
|
||||
|
|
|
@ -1,8 +1,2 @@
|
|||
######################################################################
|
||||
# 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.
|
||||
######################################################################
|
||||
|
||||
TestGem::TEST_PLUGIN_STANDARDERROR = :loaded
|
||||
raise StandardError.new('boom')
|
|
@ -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::Commands::CrashCommand < Gem::Command
|
||||
|
||||
raise "crash"
|
||||
|
|
|
@ -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/command_manager'
|
||||
|
||||
##
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
######################################################################
|
||||
# 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.
|
||||
######################################################################
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue