cocoapods-downloader 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cocoapods-downloader might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/cocoapods-downloader/gem_version.rb +1 -1
- data/lib/cocoapods-downloader/http.rb +6 -5
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f983978f8becd06c6d0a16d593b5f7cc9ad52a8
|
4
|
+
data.tar.gz: 64c97afee1bd09c8bf7eafb86d0f526e6e2b5c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f43e20e591ace30ca4f997c205431ffb58fc8636416fae8c16aab383457d0e186ca10d179e4a28560a7f9a55a4cc1553410d95130282f5d8af640ed855fabe6
|
7
|
+
data.tar.gz: 24541f612c9ed6238aa950f32cb174a41db29aa60a4ccea93b6d3ff1612d2b30d34d0bb8e7ef2b25fab9e158b826daf75c60054edaa8febb72255a45af5a1d03
|
@@ -51,15 +51,16 @@ module Pod
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def type_with_url(url)
|
54
|
-
|
54
|
+
path = URI.parse(url).path
|
55
|
+
if path =~ /.zip$/
|
55
56
|
:zip
|
56
|
-
elsif
|
57
|
+
elsif path =~ /.(tgz|tar\.gz)$/
|
57
58
|
:tgz
|
58
|
-
elsif
|
59
|
+
elsif path =~ /.tar$/
|
59
60
|
:tar
|
60
|
-
elsif
|
61
|
+
elsif path =~ /.(tbz|tar\.bz2)$/
|
61
62
|
:tbz
|
62
|
-
elsif
|
63
|
+
elsif path =~ /.(txz|tar\.xz)$/
|
63
64
|
:txz
|
64
65
|
else
|
65
66
|
nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-downloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email:
|
@@ -43,7 +43,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
44
44
|
- - '>='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 2.0.0
|
47
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - '>='
|
@@ -56,4 +56,3 @@ signing_key:
|
|
56
56
|
specification_version: 3
|
57
57
|
summary: A small library for downloading files from remotes in a folder.
|
58
58
|
test_files: []
|
59
|
-
has_rdoc:
|