cocoapods-bin 0.0.5 → 0.0.6
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8408fffb94c3f172b6062eaf706871b7659ef43
|
4
|
+
data.tar.gz: 178ec5208be05c3b14b71e136a304085a62af687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9fcdb7cfbb2dc7d756119debca1626cff2c0261ce4a036cd2f1ed668462f0fed98f7b45ea9b94244867c46166a17640a7b91c633fa406eb8355d6b4d9d1c14b
|
7
|
+
data.tar.gz: 0f26ea1b64c1ab8d324783ad5834620057bc93da0710677e259e5cbc424ab4a32da3533aa941807c72529069ddb3b47afd2092d4714b50d13c5bde82a9a0570a
|
data/Gemfile.lock
CHANGED
@@ -9,9 +9,11 @@ module Pod
|
|
9
9
|
#
|
10
10
|
alias_method :old_update_repositories, :update_repositories
|
11
11
|
def update_repositories
|
12
|
-
if installation_options.
|
12
|
+
if installation_options.update_source_with_multi_processes
|
13
13
|
# 并发更新私有源
|
14
|
-
|
14
|
+
# 这里多线程会导致 pod update 额外输出 --verbose 的内容
|
15
|
+
# 不知道为什么?
|
16
|
+
Parallel.each(sources, in_processes: 4) do |source|
|
15
17
|
if source.git?
|
16
18
|
config.sources_manager.update(source.name, true)
|
17
19
|
else
|
@@ -14,11 +14,11 @@ module Pod
|
|
14
14
|
# 是否警告不安全 source (如 http )
|
15
15
|
env_option :warn_for_unsecure_source, false
|
16
16
|
|
17
|
-
#
|
17
|
+
# 是否多线程执行 install_pod_sources
|
18
18
|
env_option :install_with_multi_threads, true
|
19
19
|
|
20
20
|
# 是否多进程执行 update_repositories
|
21
|
-
env_option :
|
21
|
+
env_option :update_source_with_multi_processes, true
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
data/lib/cocoapods-bin/native.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'cocoapods'
|
2
2
|
|
3
3
|
if Pod.match_version?('~> 1.4')
|
4
|
+
require 'cocoapods-bin/native/podfile'
|
5
|
+
require 'cocoapods-bin/native/installation_options'
|
4
6
|
require 'cocoapods-bin/native/specification'
|
5
7
|
require 'cocoapods-bin/native/path_source'
|
6
8
|
require 'cocoapods-bin/native/analyzer'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tripleCC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|