duerst
f508efdb9b
tool/downloader.rb: Adjusting example for
...
Downloader.download to implementation changes in r47693.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 10:00:09 +00:00
duerst
b6f2f67cc9
tool/downloader.rb: Removing unused method
...
Downloader.download_if_modified_since.
(if ever used, just replace with Downloader.download)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 09:07:06 +00:00
duerst
d081032d6b
tool/downloader.rb: Fixing raise after return.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 08:59:13 +00:00
duerst
d2172c8d19
tool/downloader.rb: Made Unicode data file location available
...
via :unicode Symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 08:55:09 +00:00
duerst
9c0f09dae0
tool/downloader.rb: Small fix to documentation comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 01:43:44 +00:00
nobu
0b5227b8bd
downloader.rb: shorthands for usual URI
...
* tool/downloader.rb (Downloader.uri_to_download): add shorthands
for commonly used URI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 11:56:30 +00:00
nobu
c7cdc549ff
downloader.rb: integrate with download_if_modified_since
...
* tool/downloader.rb (Downloader.download): integrate with
download_if_modified_since and allow to use `since` parameter if it
is not true/false. also set last-modified time and permission.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 11:52:23 +00:00
svn
f10a2f43a3
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 07:08:16 +00:00
duerst
96245d6dd3
tool/downloader.rb: added Downloader.download_if_modified_since
...
to reduce downloads of large files that change only rarely.
[ruby-core:65164] [CommonRuby - Feature #10084 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 07:08:03 +00:00
hsbt
4c58cdc9a1
* tool/downloader.rb: fix wrong variable name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 05:41:20 +00:00
hsbt
204a83f5f3
* tool/downloader.rb: make Downloader class to general download utility.
...
It can be used without config.guess and configu.sub.
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:26:21 +00:00
hsbt
7a05e0ae9f
* tool/config_files.rb: rename class ConfigFiles to Downloader.
...
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 09:49:42 +00:00