ruby/lib/rubygems/package
Yusuke Nakamura 819ecd115d
[rubygems/rubygems] Add mtime to Gem::Package::TarWriter#add_file argument
Since 9e21dd9, Gem::Package::TarWriter#add_file adds the file to
the tar with Gem.source_date_epoch for its mtime.
This behavior breaks the code depending on the previous add_file
behavior.
Therefore, add_file accepts mtime as an argument, and uses
Gem.source_date_epoch if not specified.

7020ea98a0
2025-05-08 18:03:04 +09:00
..
tar_reader [rubygems/rubygems] Fix incompatible encodings error 2024-11-04 10:04:40 +00:00
digest_io.rb
file_source.rb
io_source.rb
old.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
source.rb
tar_header.rb [rubygems/rubygems] Fix incompatible encodings error 2024-11-04 10:04:40 +00:00
tar_reader.rb [rubygems/rubygems] Ignore non-tar format .gem files during search 2023-10-23 19:52:22 +00:00
tar_writer.rb [rubygems/rubygems] Add mtime to Gem::Package::TarWriter#add_file argument 2025-05-08 18:03:04 +09:00