diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-08-17 00:52:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-08-17 00:58:56 +0900 |
commit | ac890ec0624e3d8a44d85d67127bc94322caa34e () | |
tree | 3222142dca20fe97e69c6e1d9b0ef703d4fbc334 /tool/rbinstall.rb | |
parent | cc443f6cde287944e00ab5d9b6ad868b3d9fc9db (diff) |
Make date in installed gemspec files stable
Set `date` member to `RUBY_RELEASE_DATE` instead of the date at the build time, to make installed files reproducible.
-rwxr-xr-x | tool/rbinstall.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -933,6 +933,7 @@ def load_gemspec(file, base = nil) end spec.loaded_from = base ? File.join(base, File.basename(file)) : file spec.files.reject! {|n| n.end_with?(".gemspec") or n.start_with?(".git")} spec end |