[rubygems/rubygems] Bring TODO message up to date

https://github.com/rubygems/rubygems/commit/e07dba0923
This commit is contained in:
David Rodríguez 2022-06-15 10:19:14 +02:00 коммит произвёл git
Родитель 5450b409fc
Коммит 1e8bf48fd5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -260,7 +260,7 @@ class Gem::Ext::CargoBuilder < Gem::Ext::Builder
full_tmp_dest = File.join(extension_dir, tmp_dest_relative) full_tmp_dest = File.join(extension_dir, tmp_dest_relative)
# TODO: remove in RubyGems 3 # TODO: remove in RubyGems 4
if Gem.install_extension_in_lib && lib_dir if Gem.install_extension_in_lib && lib_dir
FileUtils.mkdir_p lib_dir FileUtils.mkdir_p lib_dir
FileUtils.cp_r ext_path, lib_dir, remove_destination: true FileUtils.cp_r ext_path, lib_dir, remove_destination: true

Просмотреть файл

@ -43,7 +43,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
full_tmp_dest = File.join(extension_dir, tmp_dest_relative) full_tmp_dest = File.join(extension_dir, tmp_dest_relative)
# TODO remove in RubyGems 3 # TODO remove in RubyGems 4
if Gem.install_extension_in_lib and lib_dir if Gem.install_extension_in_lib and lib_dir
FileUtils.mkdir_p lib_dir FileUtils.mkdir_p lib_dir
entries = Dir.entries(full_tmp_dest) - %w[. ..] entries = Dir.entries(full_tmp_dest) - %w[. ..]