cocoapods-downloader 1.0.0 → 1.0.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: 85bb859868b8708df86cc671b7f37918fbb952ec
4
- data.tar.gz: 1c83ce43130f0bf971fb960a19c31b2051f1773f
3
+ metadata.gz: d8df150bd67da7e8424cae5644448b45f49d43a8
4
+ data.tar.gz: 6e7017b3e107271f64eadbda72f8cab72f056906
5
5
  SHA512:
6
- metadata.gz: 518ab2a02e6d4423faab164f04838a6b26f1b9a7e847151c6a80346c1c677d31344f99c6cb3fe1ed1f30756d8bb7e7a10c6ed348d23bb7b51f5266c028ade715
7
- data.tar.gz: d7eb2c196fc69aa60e870c728b17f68a538d06ac740bca3c04db81f901874128166f92abe09b495278cf5371fc376dfcf11a7468c20232b4cd6a082be96129c4
6
+ metadata.gz: 2c359fccdfc8a646e95950af5c933a47605934b37b5899f23a17e6e4993b79ecf5c0f4cf30e3e0ccc1415cb5a4a0a3e482b32498b5c4e8d1959428bbc6c78538
7
+ data.tar.gz: f0e31cfad49785e06b6bbdeb00e30bd9609587b368242187533282eda683f7783b9c6d31b0bac9e59af4e2169ef89dfef356d6bb0cda116dfca8164d2204f073
@@ -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.0.0'.freeze
6
+ VERSION = '1.0.1'.freeze
7
7
  end
8
8
  end
@@ -62,6 +62,12 @@ module Pod
62
62
  ui_sub_action('Git download') do
63
63
  begin
64
64
  git! clone_arguments(force_head, shallow_clone)
65
+
66
+ if options[:submodules]
67
+ Dir.chdir(target_path) do
68
+ git! %w(submodule update --init --recursive)
69
+ end
70
+ end
65
71
  rescue DownloaderError => e
66
72
  if e.message =~ /^fatal:.*does not support --depth$/im
67
73
  clone(force_head, false)
@@ -97,8 +103,6 @@ module Pod
97
103
  end
98
104
  end
99
105
 
100
- command << '--recursive' if options[:submodules]
101
-
102
106
  command
103
107
  end
104
108
 
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.0.0
4
+ version: 1.0.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: 2016-05-10 00:00:00.000000000 Z
12
+ date: 2016-06-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email:
@@ -41,17 +41,17 @@ require_paths:
41
41
  - lib
42
42
  required_ruby_version: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.0.0
47
47
  required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - '>='
49
+ - - ">="
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project:
54
- rubygems_version: 2.6.3
54
+ rubygems_version: 2.6.6
55
55
  signing_key:
56
56
  specification_version: 3
57
57
  summary: A small library for downloading files from remotes in a folder.