[前][次][番号順一覧][スレッド一覧]

ruby-changes:35625

From: duerst <ko1@a...>
Date: Wed, 24 Sep 2014 18:07:13 +0900 (JST)
Subject: [ruby-changes:35625] duerst:r47707 (trunk): tool/downloader.rb: Removing unused method

duerst	2014-09-24 18:07:06 +0900 (Wed, 24 Sep 2014)

  New Revision: 47707

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47707

  Log:
    tool/downloader.rb: Removing unused method
    Downloader.download_if_modified_since.
    (if ever used, just replace with Downloader.download)

  Modified files:
    trunk/ChangeLog
    trunk/tool/downloader.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47706)
+++ ChangeLog	(revision 47707)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue 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...>
 
 	* tool/downloader.rb: Fixing raise after return.
Index: tool/downloader.rb
===================================================================
--- tool/downloader.rb	(revision 47706)
+++ tool/downloader.rb	(revision 47707)
@@ -84,8 +84,4 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L84
   rescue => e
     raise e.class, "failed to download #{name}\n#{e.message}: #{url}", e.backtrace
   end
-
-  def self.download_if_modified_since(url, name, dir = nil)
-    download(url, name, dir)
-  end
 end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]