mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RubyGems 1.3.0 r1891
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
788001a9c8
commit
d478c7a734
60 changed files with 2174 additions and 1049 deletions
|
@ -19,7 +19,7 @@ class Gem::Commands::OutdatedCommand < Gem::Command
|
|||
locals = Gem::SourceIndex.from_installed_gems
|
||||
|
||||
locals.outdated.sort.each do |name|
|
||||
local = locals.search(/^#{name}$/).last
|
||||
local = locals.find_name(name).last
|
||||
|
||||
dep = Gem::Dependency.new local.name, ">= #{local.version}"
|
||||
remotes = Gem::SpecFetcher.fetcher.fetch dep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue