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 +4 -4
- data/lib/cocoapods-downloader/gem_version.rb +1 -1
- data/lib/cocoapods-downloader/git.rb +6 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8df150bd67da7e8424cae5644448b45f49d43a8
|
4
|
+
data.tar.gz: 6e7017b3e107271f64eadbda72f8cab72f056906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c359fccdfc8a646e95950af5c933a47605934b37b5899f23a17e6e4993b79ecf5c0f4cf30e3e0ccc1415cb5a4a0a3e482b32498b5c4e8d1959428bbc6c78538
|
7
|
+
data.tar.gz: f0e31cfad49785e06b6bbdeb00e30bd9609587b368242187533282eda683f7783b9c6d31b0bac9e59af4e2169ef89dfef356d6bb0cda116dfca8164d2204f073
|
@@ -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.
|
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-
|
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.
|
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.
|