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 | 9cdcdaf3396f72d41b8d3be048ce043dd6a2301d (patch) | |
tree | 896a501f8922ad6003eb7512d3e741bbc733777b /tool | |
parent | 904eebcc60c183371f26d483b10ba10762dafe5c (diff) | |
download | ruby-9cdcdaf3396f72d41b8d3be048ce043dd6a2301d.tar.gz ruby-9cdcdaf3396f72d41b8d3be048ce043dd6a2301d.tar.xz ruby-9cdcdaf3396f72d41b8d3be048ce043dd6a2301d.zip |
* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-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 0f0a31fb3..25d61a795 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}" |