From 5c2e682f175f20cd858a64bf0320383704de0395 Mon Sep 17 00:00:00 2001 From: Michael Bishop Date: Tue, 11 Nov 2014 07:44:19 -0500 Subject: [PATCH] Change to correct syntax for calling a class method (how did this ever work?!) (derp) --- lib/cocoapods-downloader/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoapods-downloader/http.rb b/lib/cocoapods-downloader/http.rb index 18fcbb2..581e6da 100644 --- a/lib/cocoapods-downloader/http.rb +++ b/lib/cocoapods-downloader/http.rb @@ -51,7 +51,7 @@ def should_flatten? end def type_with_url(url) - path = URI::parse(url).path + path = URI.parse(url).path if path =~ /.zip$/ :zip elsif path =~ /.(tgz|tar\.gz)$/