diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-06 16:24:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-06 16:24:32 +0000 |
commit | b2a9e7c85a48e590e7e78a66fea34a39bb9c2cff (patch) | |
tree | 896a501f8922ad6003eb7512d3e741bbc733777b /tool/make-snapshot | |
parent | 5732566f4d9a026fef3904f3237a9f7255ba91f2 (diff) |
* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-x | tool/make-snapshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 0f0a31fb3e..25d61a7954 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -1,5 +1,5 @@ #!/usr/bin/ruby -s -# -*- encoding: us-ascii -*- +# -*- coding: us-ascii -*- require 'uri' require 'digest/md5' require 'digest/sha2' @@ -197,7 +197,7 @@ end revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name| name or next - str = open(name, "rb:binary") {|f| f.read} + str = open(name, "rb") {|f| f.read} md5 = Digest::MD5.hexdigest str sha = Digest::SHA256.hexdigest str puts "* #{name}" |