cocoapods-bb-bin 0.2.12.1 → 0.2.12.3

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
  SHA256:
3
- metadata.gz: 4d5c9dc9c33f4245e030d715d55e309678e375521e83a8259f45f036a3a3f088
4
- data.tar.gz: e95605db07c04677b8fa12a7b8d370d6c43111de70a6756166b2a32f650e410e
3
+ metadata.gz: e673acf6ce91a9694e19e9f43e98dddf292d6cd4f84fa2544daaeca93cc68a9a
4
+ data.tar.gz: c9b960952c09226239fde24f0ff5ad07c1e9b2eefece6ab06b13deb982d1c30f
5
5
  SHA512:
6
- metadata.gz: '0389e757366131fd5f070d95f1e840e98aa15a9c024452837f094674e0d4b8c37198da28ed833be87f9bf41c9f96151c6f9ee65b44b46014ba12eb903c017d12'
7
- data.tar.gz: 6e68f0bf5a61cc3527faf825be323c26c03f248a1afda1d84a06a43bd8331e5cfb3069a7edbe31d88819ab05c720b1d61125ebc7abaf76880f6b34f6a15b6cbb
6
+ metadata.gz: 518442f334be28d5ed005c3e3fd6e2faaba68d22c0edcb15808d182c66edcfb363ab8b6dce76231ea55f8807f246c98b74a9b557942c014e6b8204d40e8c0ded
7
+ data.tar.gz: 2b499a84bc64f84f40ecf43cb0127cf1d494b4e470788c220be2e0e3a36c8ab93e72ed335d5be0b07012e89b39f092c4369b6e94e27f13561a8b9d4f7d820b76
@@ -193,6 +193,9 @@ module Pod
193
193
  end
194
194
 
195
195
  if CBin::Build::Utils.uses_frameworks? # 组件库重新生成pod工程引入静态库需要使用该选项,否则报cocoapods中verify_no_static_framework_transitive_dependencies验证无法通过 by hm 21/10/18
196
+ # argvs += ['--use-libraries'] # 选项会导致生成.a
197
+ UI.puts "generate framework project"
198
+ else
196
199
  argvs += ['--use-libraries']
197
200
  end
198
201
 
@@ -1,7 +1,7 @@
1
1
  require 'cocoapods'
2
2
 
3
3
  module CBin
4
- VERSION = '0.2.12.1'
4
+ VERSION = '0.2.12.3'
5
5
  end
6
6
 
7
7
  module Pod
@@ -15,6 +15,23 @@ module Pod
15
15
 
16
16
  alias old_install_pod_sources install_pod_sources
17
17
  def install_pod_sources
18
+ UI.puts "[cocoapods-bb-bin] CocoaPods version: #{Pod::VERSION}"
19
+ # UI.puts "[cocoapods-bb-bin] Pod.match_version?('~> 1.4.0'): #{Pod.match_version?('~> 1.4.0')}"
20
+ # UI.puts "[cocoapods-bb-bin] Pod.match_version?('~> 1.5'): #{Pod.match_version?('~> 1.5')}"
21
+
22
+ http_source_spec = root_specs.find do |spec|
23
+ source = spec.source
24
+ source.is_a?(Hash) && source.values.any? do |value|
25
+ value.is_a?(String) && value.start_with?('http://')
26
+ end
27
+ end
28
+
29
+ if http_source_spec
30
+ UI.puts "[cocoapods-bb-bin] Installing #{http_source_spec.name} (#{http_source_spec.version}) HTTP source detected, fallback to old_install_pod_sources for interactive authentication.".yellow
31
+ old_install_pod_sources
32
+ return
33
+ end
34
+
18
35
  if installation_options.install_with_multi_threads
19
36
  if Pod.match_version?('~> 1.4.0')
20
37
  install_pod_sources_for_version_in_1_4_0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12.1
4
+ version: 0.2.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
@@ -83,7 +83,7 @@ dependencies:
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 0.2.7.3
86
+ version: 0.2.7.4
87
87
  - - "<"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.0'
@@ -93,7 +93,7 @@ dependencies:
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.2.7.3
96
+ version: 0.2.7.4
97
97
  - - "<"
98
98
  - !ruby/object:Gem::Version
99
99
  version: '1.0'
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 4.0.13
221
+ rubygems_version: 4.0.19
222
222
  specification_version: 4
223
223
  summary: cocoapods-bb-bin is a plugin which helps develpers switching pods between
224
224
  source code and binary.