[rubygems/rubygems] Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet

05cb5410cb
This commit is contained in:
Benoit Daloze 2022-12-07 17:30:05 +01:00 committed by git
parent 3938bd1b42
commit a57a3154d3

View file

@ -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|