diff options
| author | Yusuke Nakamura <yusuke1994525@gmail.com> | 2025-05-03 23:59:41 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-05-08 18:03:04 +0900 |
| commit | 819ecd115d663e5d0c7e1f14902f5bfde0a7414a (patch) | |
| tree | 9f305345e33828e8cfadd4dd8a55c27704201731 /spec/ruby | |
| parent | 8685a81e6a0bdf7b766af930ee0e05a28e07d69b (diff) | |
[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.
https://github.com/rubygems/rubygems/commit/7020ea98a0
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
