mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge rubygems master.
This is RC version of Rubygems 2.7.0.
688fb7e83c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6b05153a3a
commit
c00e84327f
96 changed files with 2021 additions and 701 deletions
|
@ -8,6 +8,7 @@
|
|||
require 'rubygems'
|
||||
require 'rubygems/command_manager'
|
||||
require 'rubygems/config_file'
|
||||
require 'rubygems/deprecate'
|
||||
|
||||
##
|
||||
# Load additional plugins from $LOAD_PATH
|
||||
|
@ -26,7 +27,10 @@ Gem.load_env_plugins rescue nil
|
|||
class Gem::GemRunner
|
||||
|
||||
def initialize(options={})
|
||||
# TODO: nuke these options
|
||||
if !options.empty? && !Gem::Deprecate.skip
|
||||
Kernel.warn "NOTE: passing options to Gem::GemRunner.new is deprecated with no replacement. It will be removed on or after 2016-10-01."
|
||||
end
|
||||
|
||||
@command_manager_class = options[:command_manager] || Gem::CommandManager
|
||||
@config_file_class = options[:config_file] || Gem::ConfigFile
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue