cocoapods-downloader 0.6.0 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60818e780d8483366ea6ecc6db5653ca73f7d6a2
4
- data.tar.gz: c7802185fb74b2d56ac7ff76f3ab4a18cc1258fe
3
+ metadata.gz: 96bf7705d6b8a1db8b835ade67743ab65bff9ad1
4
+ data.tar.gz: 5017578a23c22971e72ac93c7b9caf0b79b2d2fa
5
5
  SHA512:
6
- metadata.gz: ad752c3add9ca8972fcb1754a1fa6f4be42cb1a44a50176b1c43ae91f3113f886ae3c33337a3c6c64c510061191b530258d9111d94244cf551192806474f8db1
7
- data.tar.gz: b6e61992a0c9059b25668637e67454a1224e51f1599f9458f599be800daf1dfe7edb84f7a233f0a8470f40ff98feae23cc8a0fe2ee7a007b2e30dce701d025db
6
+ metadata.gz: 44973e1199503c02113bbebf09c14eb5186c4d9fda7a46bdbe15b83a8f88343b8e2ac9434f9dfd839884c2715b0464018c3db1c7c4631c782e330d2c1cc0326c
7
+ data.tar.gz: 134caa87da0f72c8c018bf18e1d6371905440655ff4654e6efc102a05d7661af3b50dbfc482886e76788988054b9c0b0f7b63bee88bb4e771c6e21729a489489
@@ -57,6 +57,8 @@ module Pod
57
57
  # global options for the Downloader cache?
58
58
  #
59
59
  def self.for_target(target_path, options)
60
+ options = Hash[options.map{ |k, v| [k.to_sym, v] }]
61
+
60
62
  if target_path.nil?
61
63
  raise DownloaderError, 'No target path provided.'
62
64
  end
@@ -3,6 +3,6 @@ module Pod
3
3
  # @return [String] Downloader’s version, following
4
4
  # [semver](http://semver.org).
5
5
  #
6
- VERSION = '0.6.0'
6
+ VERSION = '0.6.1'
7
7
  end
8
8
  end
@@ -30,7 +30,11 @@ module Pod
30
30
  end
31
31
 
32
32
  def type
33
- options[:type] || type_with_url(url)
33
+ if options[:type]
34
+ options[:type].to_sym
35
+ else
36
+ type_with_url(url)
37
+ end
34
38
  end
35
39
 
36
40
  # @note The archive is flattened if it contains only one folder and its
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.6.0
4
+ version: 0.6.1
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-05-19 00:00:00.000000000 Z
12
+ date: 2014-05-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: