mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* lib/rubygems: Update to RubyGems 2.4.5.
* test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0b80a4410
commit
97f80207d0
32 changed files with 458 additions and 103 deletions
|
@ -72,7 +72,7 @@ class Gem::Resolver::APISet < Gem::Resolver::Set
|
|||
@to_fetch += needed
|
||||
end
|
||||
|
||||
def prefetch_now
|
||||
def prefetch_now # :nodoc:
|
||||
needed, @to_fetch = @to_fetch, []
|
||||
|
||||
uri = @dep_uri + "?gems=#{needed.sort.join ','}"
|
||||
|
|
|
@ -19,7 +19,7 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification
|
|||
@set = set
|
||||
@name = api_data[:name]
|
||||
@version = Gem::Version.new api_data[:number]
|
||||
@platform = api_data[:platform]
|
||||
@platform = Gem::Platform.new api_data[:platform]
|
||||
@dependencies = api_data[:dependencies].map do |name, ver|
|
||||
Gem::Dependency.new name, ver.split(/\s*,\s*/)
|
||||
end
|
||||
|
|
|
@ -154,7 +154,7 @@ class Gem::Resolver::InstallerSet < Gem::Resolver::Set
|
|||
end
|
||||
|
||||
def prefetch(reqs)
|
||||
@remote_set.prefetch(reqs)
|
||||
@remote_set.prefetch(reqs) if consider_remote?
|
||||
end
|
||||
|
||||
def prerelease= allow_prerelease
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue