mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
[rubygems/rubygems] Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet
05cb5410cb
This commit is contained in:
parent
3938bd1b42
commit
a57a3154d3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Gem::Resolver::InstallerSet < Gem::Resolver::Set
|
|||
|
||||
found = found.select do |s|
|
||||
Gem::Source::SpecificFile === s.source ||
|
||||
Gem::Platform.match(s.platform)
|
||||
Gem::Platform.match_spec?(s)
|
||||
end
|
||||
|
||||
found = found.sort_by do |s|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue