cocoapods-downloader 1.2.0 → 1.2.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
  SHA256:
3
- metadata.gz: f02617513ce98885a2e44e42744ea310ca79783239ecfde7d8bd8c692ff2db96
4
- data.tar.gz: 787a49a14bd36a61a0d360289bc4a5631d6b36dbd47418c41450502d002fdd65
3
+ metadata.gz: c3cdae542174cc361bd6bb136814dc4bd9c4f1d264eba8ae5d1c8abbb30b3a7e
4
+ data.tar.gz: 5aa84b9a46c0180766190a51e329c12f090180a4cfe49302ca2a184534a03f13
5
5
  SHA512:
6
- metadata.gz: d2ce0b3149460f0398a8dc7c799eac8d7a0ac72bdb6f6728f990baeec133204a7ee63c282c232ee4c526f4f16704f7a7532a2d568035bb019abee097c3805e63
7
- data.tar.gz: 4cdfd86c52e403cc13816e627a695086e49d179f8710173a76e55be623300e03c704c6090e083b2385d197b408cfec3a827b45b810b72a886f7cf226a9708b49
6
+ metadata.gz: 7d06b9e95f57c2a91c8e8a1610cd2df2ffbd8613fd8ec0b119b36c88095e00bc1e9d7e4b23c1cde351f2f40827afe00543300961d0234d77c3e7624f48c54b1a
7
+ data.tar.gz: e94add19965a574eabb1ccfd2c1dd03fa97b8b2d131ec4d44be0fa9859b33a39db13f4a33373eef55ff0c0bd0b6f1d042cae6c1caca363c02c4e940b2ee617f2
@@ -3,6 +3,6 @@ module Pod
3
3
  # @return [String] Downloader’s version, following
4
4
  # [semver](http://semver.org).
5
5
  #
6
- VERSION = '1.2.0'.freeze
6
+ VERSION = '1.2.1'.freeze
7
7
  end
8
8
  end
@@ -8,7 +8,7 @@ module Pod
8
8
  executable :curl
9
9
 
10
10
  def download_file(full_filename)
11
- curl! '-f', '-L', '-o', full_filename, url, '--create-dirs', '--netrc-optional'
11
+ curl! '-f', '-L', '-o', full_filename, url, '--create-dirs', '--netrc-optional', '--retry', '2'
12
12
  end
13
13
  end
14
14
  end
@@ -123,6 +123,8 @@ module Pod
123
123
  FileUtils.move(entry.children, target_path)
124
124
  end
125
125
  end
126
+
127
+ FileUtils.rm(unpack_from) if File.exist?(unpack_from)
126
128
  end
127
129
 
128
130
  def extract_dmg(unpack_from, unpack_to)
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: 1.2.0
4
+ version: 1.2.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: 2018-04-04 00:00:00.000000000 Z
12
+ date: 2018-05-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: