зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
5732566f4d
Коммит
b2a9e7c85a
|
@ -1,3 +1,7 @@
|
|||
Fri Nov 7 01:24:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
|
||||
|
||||
Thu Nov 6 22:21:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* thread.c (rb_thread_stop_timer_thread): terminates timer thread
|
||||
|
|
|
@ -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}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче