diff options
author | Kevin Logan <klogan@enova.com> | 2019-05-14 00:02:48 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-10 20:54:29 +0900 |
commit | eb2d3c19fe70812f1f826eef225613baba3cc087 (patch) | |
tree | 48077433112ae88b33069b27ae79509489ff3426 /lib/rubygems | |
parent | 0e60bc118b66d626d7e1f985dbd15cfba5e62715 (diff) |
[rubygems/rubygems] Properly fetch Gem#latest_spec_for with multiple sources
https://github.com/rubygems/rubygems/commit/a93ec63df3
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/spec_fetcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/spec_fetcher.rb b/lib/rubygems/spec_fetcher.rb index 68ff605a83..b97bd49692 100644 --- a/lib/rubygems/spec_fetcher.rb +++ b/lib/rubygems/spec_fetcher.rb @@ -121,7 +121,7 @@ class Gem::SpecFetcher end end - tuples = tuples.sort_by {|x| x[0] } + tuples = tuples.sort_by {|x| x[0].version } return [tuples, errors] end |