зеркало из https://github.com/github/ruby.git
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.
This commit is contained in:
Родитель
cc443f6cde
Коммит
ac890ec062
|
@ -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.date = RUBY_RELEASE_DATE
|
||||
|
||||
spec
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче