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: f1cb6338b68aa2761f9caf57f4acd33cb9c7eb41
4
- data.tar.gz: e142ad3877f18be5337a13e234aba93d6a15ef36
3
+ metadata.gz: f8408fffb94c3f172b6062eaf706871b7659ef43
4
+ data.tar.gz: 178ec5208be05c3b14b71e136a304085a62af687
5
5
  SHA512:
6
- metadata.gz: 369ead0b474adce9f6cbb5126427b23436017ade6acbc3b9ec1c9b3ac07984a42838c2ece49371d466d5ee89c6e7414fe31759d8146a147df88b0f03c7eb8ee6
7
- data.tar.gz: 010c1a8268188a6159a9e0c1de511a910ec11f67f2d457ed30a006f8144c24e889a24d28d68da8ae8957b7ff493dc5cf35c660d4ce25afdcb4cb60bdc34d4ff3
6
+ metadata.gz: d9fcdb7cfbb2dc7d756119debca1626cff2c0261ce4a036cd2f1ed668462f0fed98f7b45ea9b94244867c46166a17640a7b91c633fa406eb8355d6b4d9d1c14b
7
+ data.tar.gz: 0f26ea1b64c1ab8d324783ad5834620057bc93da0710677e259e5cbc424ab4a32da3533aa941807c72529069ddb3b47afd2092d4714b50d13c5bde82a9a0570a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-bin (0.0.5)
4
+ cocoapods-bin (0.0.6)
5
5
  cocoapods (~> 1.4)
6
6
  parallel
7
7
 
@@ -1,5 +1,5 @@
1
1
  module CBin
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
4
4
 
5
5
  module Pod
@@ -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.update_source_with_multi_threads
12
+ if installation_options.update_source_with_multi_processes
13
13
  # 并发更新私有源
14
- Parallel.each(sources, in_threads: 4) do |source|
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
- # 是否多进程执行 install_pod_sources
17
+ # 是否多线程执行 install_pod_sources
18
18
  env_option :install_with_multi_threads, true
19
19
 
20
20
  # 是否多进程执行 update_repositories
21
- env_option :update_source_with_multi_threads, true
21
+ env_option :update_source_with_multi_processes, true
22
22
  end
23
23
  end
24
24
  end
@@ -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.5
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 00:00:00.000000000 Z
11
+ date: 2019-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel