1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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 committed by git
parent 5450b409fc
commit 1e8bf48fd5
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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[. ..]