1
0
Fork 0
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:
drbrain 2011-07-27 01:40:07 +00:00
parent b9c485aa0d
commit 035ef0a347
172 changed files with 190 additions and 1075 deletions

View file

@ -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> Wed Jul 27 09:27:59 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkcs12.rb: Add test and intermediate certificates. * test/openssl/test_pkcs12.rb: Add test and intermediate certificates.

View file

@ -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 -*- # -*- ruby -*-
#-- #--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
@ -124,7 +118,7 @@ require "rubygems/deprecate"
# -The RubyGems Team # -The RubyGems Team
module Gem 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 # 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) def self.each_load_path(partials)
partials.each do |gp| partials.each do |gp|
base = File.basename gp base = File.basename gp
specfn = dir.specifications.add(base + ".gemspec") specfn = File.join(dir, "specifications", "#{base}.gemspec")
if specfn.exist? if File.exists? specfn
spec = eval(specfn.read) spec = eval(File.read(specfn))
spec.require_paths.each do |rp| spec.require_paths.each do |rp|
yield(gp.add(rp)) yield File.join(gp,rp)
end end
else else
filename = dir.add(gp, 'lib') filename = File.join(gp, 'lib')
yield(filename) if filename.exist? yield(filename) if File.exists? filename
end end
end end
end end
@ -589,7 +583,7 @@ module Gem
Gem.path.each do |gemdir| Gem.path.each do |gemdir|
each_load_path(latest_partials(gemdir)) do |load_path| each_load_path(latest_partials(gemdir)) do |load_path|
result << gemdir.add(load_path).expand_path result << load_path
end end
end end
@ -644,10 +638,23 @@ module Gem
# Loads YAML, preferring Psych # Loads YAML, preferring Psych
def self.load_yaml def self.load_yaml
require 'psych' begin
rescue ::LoadError require 'psych'
ensure rescue ::LoadError
require 'yaml' 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 end
## ##

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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'
require 'rubygems/builder' require 'rubygems/builder'

View file

@ -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'
require 'rubygems/security' require 'rubygems/security'

View file

@ -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'
require 'rubygems/version_option' require 'rubygems/version_option'
require 'rubygems/validator' require 'rubygems/validator'

View file

@ -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'
require 'rubygems/dependency_list' require 'rubygems/dependency_list'
require 'rubygems/uninstaller' require 'rubygems/uninstaller'

View file

@ -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'
require 'rubygems/version_option' require 'rubygems/version_option'

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/version_option' require 'rubygems/version_option'

View file

@ -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'
class Gem::Commands::EnvironmentCommand < Gem::Command class Gem::Commands::EnvironmentCommand < Gem::Command

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/version_option' require 'rubygems/version_option'

View file

@ -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'
require 'rubygems/indexer' require 'rubygems/indexer'

View file

@ -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'
class Gem::Commands::HelpCommand < Gem::Command class Gem::Commands::HelpCommand < Gem::Command

View file

@ -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'
require 'rubygems/doc_manager' require 'rubygems/doc_manager'
require 'rubygems/install_update_options' require 'rubygems/install_update_options'

View file

@ -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'
require 'rubygems/commands/query_command' require 'rubygems/commands/query_command'

View file

@ -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'
class Gem::Commands::LockCommand < Gem::Command class Gem::Commands::LockCommand < Gem::Command

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/spec_fetcher' require 'rubygems/spec_fetcher'

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/gemcutter_utilities' require 'rubygems/gemcutter_utilities'

View file

@ -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'
require 'rubygems/format' require 'rubygems/format'
require 'rubygems/installer' require 'rubygems/installer'

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/gemcutter_utilities' require 'rubygems/gemcutter_utilities'

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/spec_fetcher' require 'rubygems/spec_fetcher'

View file

@ -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'
require 'rubygems/version_option' require 'rubygems/version_option'
require 'rubygems/doc_manager' require 'rubygems/doc_manager'

View file

@ -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'
require 'rubygems/commands/query_command' require 'rubygems/commands/query_command'

View file

@ -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'
require 'rubygems/server' require 'rubygems/server'

View file

@ -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'
## ##

View file

@ -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'
require 'rubygems/remote_fetcher' require 'rubygems/remote_fetcher'
require 'rubygems/spec_fetcher' require 'rubygems/spec_fetcher'

View file

@ -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'
require 'rubygems/local_remote_options' require 'rubygems/local_remote_options'
require 'rubygems/version_option' require 'rubygems/version_option'

View file

@ -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'
class Gem::Commands::StaleCommand < Gem::Command class Gem::Commands::StaleCommand < Gem::Command

View file

@ -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'
require 'rubygems/version_option' require 'rubygems/version_option'
require 'rubygems/uninstaller' require 'rubygems/uninstaller'

View file

@ -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'
require 'rubygems/installer' require 'rubygems/installer'
require 'rubygems/version_option' require 'rubygems/version_option'

View file

@ -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'
require 'rubygems/command_manager' require 'rubygems/command_manager'
require 'rubygems/install_update_options' require 'rubygems/install_update_options'

View file

@ -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'
class Gem::Commands::WhichCommand < Gem::Command class Gem::Commands::WhichCommand < Gem::Command
@ -66,7 +60,7 @@ class Gem::Commands::WhichCommand < Gem::Command
dirs.each do |dir| dirs.each do |dir|
Gem.suffixes.each do |ext| Gem.suffixes.each do |ext|
full_path = File.join dir, "#{package_name}#{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 result << full_path
return result unless options[:show_all] return result unless options[:show_all]
end end

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 module Gem
# TODO: move this whole file back into rubygems.rb # TODO: move this whole file back into rubygems.rb

View file

@ -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" require "rubygems/requirement"
## ##

View file

@ -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'
require 'rubygems/dependency_list' require 'rubygems/dependency_list'
require 'rubygems/installer' require 'rubygems/installer'

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 # Provides a single method +deprecate+ to be used to declare when
# something is going away. # something is going away.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 class Gem::ErrorReason; end
# Generated when trying to lookup a gem to indicate that the gem # Generated when trying to lookup a gem to indicate that the gem

View file

@ -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 # Base exception class for RubyGems. All exception raised by RubyGems are a
# subclass of this one. # subclass of this one.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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"
require "rubygems/deprecate" require "rubygems/deprecate"

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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/remote_fetcher'
module Gem::GemcutterUtilities module Gem::GemcutterUtilities

View file

@ -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'
require 'rubygems/format' require 'rubygems/format'
require 'time' require 'time'

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.
@ -439,7 +433,7 @@ class Gem::Installer
end end
def check_that_user_bin_dir_is_in_path 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 ENV['PATH'].split(File::PATH_SEPARATOR).include? user_bin_dir then
unless self.class.path_warning 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." alert_warning "You don't have #{user_bin_dir} in your PATH,\n\t gem executables will not run."

View file

@ -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/test_case'
require 'rubygems/installer' require 'rubygems/installer'

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 'stringio'
require 'rubygems/user_interaction' require 'rubygems/user_interaction'

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 -*- # -*- coding: utf-8 -*-
#-- #--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 -*- # -*- coding: utf-8 -*-
#-- #--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 -*- # -*- coding: utf-8 -*-
#-- #--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 -*- # -*- coding: iso-8859-1 -*-
#++ #++
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 -*- # -*- coding: utf-8 -*-
#-- #--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 -*- # -*- coding: utf-8 -*-
#-- #--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 -*- # -*- coding: utf-8 -*-
#++ #++
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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/test_case'
require 'rubygems/package' require 'rubygems/package'

View file

@ -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 -*- # -*- coding: utf-8 -*-
#-- #--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier # Copyright (C) 2004 Mauricio Julio Fernández Pradier

View file

@ -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 # Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
# #
# Permission is hereby granted, free of charge, to any person obtaining # Permission is hereby granted, free of charge, to any person obtaining

View file

@ -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 # Gem::PathSupport facilitates the GEM_HOME and GEM_PATH environment settings
@ -28,6 +22,11 @@ class Gem::PathSupport
# note 'env' vs 'ENV'... # note 'env' vs 'ENV'...
@home = env["GEM_HOME"] || ENV["GEM_HOME"] || Gem.default_dir @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"] self.path = env["GEM_PATH"] || ENV["GEM_PATH"]
end end
@ -68,8 +67,8 @@ class Gem::PathSupport
else else
gem_path = Gem.default_path + [@home] gem_path = Gem.default_path + [@home]
if defined?(Gem::APPLE_GEM_HOME) if defined?(APPLE_GEM_HOME)
gem_path << Gem::APPLE_GEM_HOME gem_path << APPLE_GEM_HOME
end end
end end

View file

@ -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" require "rubygems/deprecate"
## ##

View file

@ -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'
require 'rubygems/user_interaction' require 'rubygems/user_interaction'
require 'uri' require 'uri'

View file

@ -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'
# TODO: remove after 1.9.1 dropped # TODO: remove after 1.9.1 dropped

View file

@ -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" 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 # A Requirement is a set of one or more version restrictions. It supports a
# few (<tt>=, !=, >, <, >=, <=, ~></tt>) different restriction operators. # few (<tt>=, !=, >, <, >=, <=, ~></tt>) different restriction operators.
@ -116,11 +129,15 @@ class Gem::Requirement
end end
def marshal_dump # :nodoc: def marshal_dump # :nodoc:
fix_syck_default_key_in_requirements
[@requirements] [@requirements]
end end
def marshal_load array # :nodoc: def marshal_load array # :nodoc:
@requirements = array[0] @requirements = array[0]
fix_syck_default_key_in_requirements
end end
def prerelease? def prerelease?
@ -160,6 +177,17 @@ class Gem::Requirement
def <=> other # :nodoc: def <=> other # :nodoc:
to_s <=> other.to_s to_s <=> other.to_s
end 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 end
# :stopdoc: # :stopdoc:

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 'webrick'
require 'zlib' require 'zlib'
require 'erb' require 'erb'

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.
@ -199,8 +193,10 @@ class Gem::SourceIndex
# Add gem specifications to the source index. # Add gem specifications to the source index.
def add_specs(*gem_specs) def add_specs(*gem_specs)
gem_specs.each do |spec| Deprecate.skip_during do
add_spec spec gem_specs.each do |spec|
add_spec spec
end
end end
end end

View file

@ -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/remote_fetcher'
require 'rubygems/user_interaction' require 'rubygems/user_interaction'
require 'rubygems/errors' require 'rubygems/errors'
@ -173,7 +167,7 @@ class Gem::SpecFetcher
found.each do |source_uri, specs| found.each do |source_uri, specs|
uri_str = source_uri.to_s 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 end
[specs_and_sources, errors] [specs_and_sources, errors]

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 } at_exit { $SAFE = 1 }
if defined? Gem::QuickLoader if defined? Gem::QuickLoader

View file

@ -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 'tempfile'
require 'rubygems' require 'rubygems'
require 'rubygems/remote_fetcher' require 'rubygems/remote_fetcher'

View file

@ -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'
## ##

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.
@ -142,8 +136,12 @@ class Gem::StreamUI
end end
def tty? def tty?
@usetty && @ins.tty? if RUBY_VERSION > '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then
end @usetty
else
@usetty && @ins.tty?
end
end
## ##
# Choose from a list of options. +question+ is a prompt displayed above # Choose from a list of options. +question+ is a prompt displayed above

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 # The Version class processes string versions into comparable
# values. A version string should normally be a series of numbers # values. A version string should normally be a series of numbers

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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. # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved. # All rights reserved.

View file

@ -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 # HACK: this drives me BONKERS

View file

@ -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.
######################################################################

View file

@ -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'
def install_session def install_session

View file

@ -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 TestGem::TEST_PLUGIN_EXCEPTION = :loaded
raise Exception.new('boom') raise Exception.new('boom')

View file

@ -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 class TestGem
TEST_PLUGIN_LOAD = :loaded TEST_PLUGIN_LOAD = :loaded
end end

View file

@ -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 TestGem::TEST_PLUGIN_STANDARDERROR = :loaded
raise StandardError.new('boom') raise StandardError.new('boom')

View file

@ -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 class Gem::Commands::CrashCommand < Gem::Command
raise "crash" raise "crash"

View file

@ -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' require 'rubygems/command_manager'
## ##

View file

@ -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