diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-28 02:54:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-28 02:54:59 +0000 |
commit | 3bbea8ed37278c9cc584bb25624eee05efebb117 (patch) | |
tree | b473eeb7f4a4c8db2038c7759de327bb051a45e8 /tool/make-snapshot | |
parent | ceb32c67a09d30b579089fa626cc6a2e0ecdb0a2 (diff) | |
download | ruby-3bbea8ed37278c9cc584bb25624eee05efebb117.tar.gz |
tool/downloader.rb: split particular sites
* tool/downloader.rb (Downloader): split particular sites from the
main class.
* tool/downloader.rb (Downloader.download): show messages if
verbose mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47725 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 555870da31..05e075c581 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -224,7 +224,7 @@ def package(rev, destdir) rescue LoadError abort "Error!!! Copy 'downloader.rb' from 'tool' directory of the recent ruby repository!" end - Downloader.download(:gnu, conf, "tool") + Downloader::GNU.download(conf, "tool") end File.open(clean.add("cross.rb"), "w") do |f| f.puts "Object.__send__(:remove_const, :CROSS_COMPILING) if defined?(CROSS_COMPILING)" @@ -282,7 +282,7 @@ def package(rev, destdir) bundled_gems.split("\n").map(&:split).each do |gem, ver| gem_name = "#{gem}-#{ver}.gem" unless File.file?("gems/#{gem_name}") - Downloader.download(:rubygems, gem_name, "gems") + Downloader::RubyGems.download(gem_name, "gems") end end end |