Merge RubyGems-3.5.2 and Bundler-2.5.2

This commit is contained in:
Hiroshi SHIBATA 2023-12-22 07:01:12 +09:00
parent fc549b2b3a
commit 82496f2b38
28 changed files with 394 additions and 267 deletions

View file

@ -84,7 +84,13 @@ class Gem::BasicSpecification
return false
end
have_file? file, Gem.suffixes
is_soext = file.end_with?(".so", ".o")
if is_soext
have_file? file.delete_suffix(File.extname(file)), Gem.dynamic_library_suffixes
else
have_file? file, Gem.suffixes
end
end
def default_gem?