Commit 483c60c7 authored by Eloy Durán's avatar Eloy Durán

Merge pull request #428 from pbernery/support_for_tar_gz_source

Add support for .tar.gz source file.
parents f36158a6 1372ab72
...@@ -29,7 +29,7 @@ module Pod ...@@ -29,7 +29,7 @@ module Pod
def type_with_url(url) def type_with_url(url)
if url =~ /.zip$/ if url =~ /.zip$/
:zip :zip
elsif url =~ /.tgz$/ elsif url =~ /.(tgz|tar\.gz)$/
:tgz :tgz
elsif url =~ /.tar$/ elsif url =~ /.tar$/
:tar :tar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment