From 6dd302ada90337b020c8866a50a2dea39fc48982 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 27 Dec 2014 01:03:50 +0000 Subject: * tool/make-snapshot: show sha1 digest when making packages. it's request from https://github.com/ruby/www.ruby-lang.org/issues/921 [fix GH-794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ tool/make-snapshot | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8bdc89c3db..b7ac7da88b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Dec 27 10:03:41 2014 SHIBATA Hiroshi + + * tool/make-snapshot: show sha1 digest when making packages. + it's request from https://github.com/ruby/www.ruby-lang.org/issues/921 + [fix GH-794] + Fri Dec 26 15:32:16 2014 Nobuyoshi Nakada * ext/tk/tcltklib.c (ip_invoke_core): remove probably duplicate diff --git a/tool/make-snapshot b/tool/make-snapshot index 46387cf81a..717ae19225 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -2,6 +2,7 @@ # -*- coding: us-ascii -*- require 'uri' require 'digest/md5' +require 'digest/sha1' require 'digest/sha2' require 'fileutils' require 'tmpdir' @@ -34,7 +35,7 @@ each versions may be followed by optional @revision. USAGE end -DIGESTS = %w[MD5 SHA256 SHA512] +DIGESTS = %w[MD5 SHA1 SHA256 SHA512] PACKAGES = { "bzip" => %w".tar.bz2 bzip2 -c", "gzip" => %w".tar.gz gzip -c", -- cgit v1.2.3