cocoapods-downloader 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +9 -6
- 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: f2a8c6ba1b53755689a018930d9931d2baa89dd4
|
4
|
+
data.tar.gz: 906aec19853b5ae60c68dcf3393094760c2066a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cfe41fbd3273b680ac42ab2bc056e760c97db7f83884d6618e62a454ce02483becee34f07ca2e54dc1ff5944b53a291513297e832d49108f6608053d7c92c9c
|
7
|
+
data.tar.gz: 0911ea461c6adbaf69c03775a26e9ac7f3bc9021fb13f7967928450dd27e5b87b46b22f3e4acc194a67fcc42ec94d6cc93fdc48fc77f50f04fa144099f4f905e
|
@@ -79,12 +79,7 @@ module Pod
|
|
79
79
|
ui_sub_action('Git download') do
|
80
80
|
begin
|
81
81
|
git! clone_arguments(force_head, shallow_clone)
|
82
|
-
|
83
|
-
if options[:submodules]
|
84
|
-
Dir.chdir(target_path) do
|
85
|
-
git! %w(submodule update --init --recursive)
|
86
|
-
end
|
87
|
-
end
|
82
|
+
update_submodules
|
88
83
|
rescue DownloaderError => e
|
89
84
|
if e.message =~ /^fatal:.*does not support --depth$/im
|
90
85
|
clone(force_head, false)
|
@@ -95,6 +90,13 @@ module Pod
|
|
95
90
|
end
|
96
91
|
end
|
97
92
|
|
93
|
+
def update_submodules
|
94
|
+
return unless options[:submodules]
|
95
|
+
Dir.chdir(target_path) do
|
96
|
+
git! %w(submodule update --init --recursive)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
98
100
|
# The arguments to pass to `git` to clone the repo.
|
99
101
|
#
|
100
102
|
# @param [Bool] force_head
|
@@ -128,6 +130,7 @@ module Pod
|
|
128
130
|
def checkout_commit
|
129
131
|
Dir.chdir(target_path) do
|
130
132
|
git! 'checkout', '--quiet', options[:commit]
|
133
|
+
update_submodules
|
131
134
|
end
|
132
135
|
end
|
133
136
|
end
|
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.1.
|
4
|
+
version: 1.1.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-08-30 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.
|
54
|
+
rubygems_version: 2.4.5.1
|
55
55
|
signing_key:
|
56
56
|
specification_version: 3
|
57
57
|
summary: A small library for downloading files from remotes in a folder.
|