ruby-changes:35626
From: duerst <ko1@a...>
Date: Wed, 24 Sep 2014 19:00:41 +0900 (JST)
Subject: [ruby-changes:35626] duerst:r47708 (trunk): tool/downloader.rb: Adjusting example for
duerst 2014-09-24 19:00:09 +0900 (Wed, 24 Sep 2014) New Revision: 47708 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47708 Log: tool/downloader.rb: Adjusting example for Downloader.download to implementation changes in r47693. Modified files: trunk/ChangeLog trunk/tool/downloader.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47707) +++ ChangeLog (revision 47708) @@ -1,19 +1,24 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 -Tue Sep 24 18:06:06 2014 Martin Duerst <duerst@i...> +Wed Sep 24 18:59:59 2014 Martin Duerst <duerst@i...> + + * tool/downloader.rb: Adjusting example for + Downloader.download to implementation changes in r47693. + +Wed Sep 24 18:06:06 2014 Martin Duerst <duerst@i...> * tool/downloader.rb: Removing unused method Downloader.download_if_modified_since. (if ever used, just replace with Downloader.download) -Tue Sep 24 17:59:59 2014 Martin Duerst <duerst@i...> +Wed Sep 24 17:59:59 2014 Martin Duerst <duerst@i...> * tool/downloader.rb: Fixing raise after return. -Tue Sep 24 17:55:55 2014 Martin Duerst <duerst@i...> +Wed Sep 24 17:55:55 2014 Martin Duerst <duerst@i...> * tool/downloader.rb: Made Unicode data file location available via :unicode Symbol. -Tue Sep 24 10:45:45 2014 Martin Duerst <duerst@i...> +Wed Sep 24 10:45:45 2014 Martin Duerst <duerst@i...> * tool/downloader.rb: Small fix to documentation comment. Index: tool/downloader.rb =================================================================== --- tool/downloader.rb (revision 47707) +++ tool/downloader.rb (revision 47708) @@ -59,8 +59,7 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L59 # modified time. # # Example usage: - # download 'http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt', - # 'enc/unicode/data/UnicodeData.txt' + # download :unicode, 'UnicodeData.txt', 'enc/unicode/data' def self.download(url, name, dir = nil, ims = true) file = dir ? File.join(dir, name) : name url = uri_to_download(url, name) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/