cocoapods-bb-PodAssistant 0.3.4 → 0.3.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a24cd7b06954cf52bdbfadd146a553e51bf3df454eda4faf5e7d39dc9ed4242
|
4
|
+
data.tar.gz: b8120a6ff714fdbb252408499e1705542cd594d331287cbe1d1edc7bb60770b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bddd78b434de8697f695a1b775bc3bc293ffc58ffc53ff41f6da33a5c08a0776b7b894aadaf3b8695dbb6c325573d697158e384aeaece2a26222c76c8de424b5
|
7
|
+
data.tar.gz: d337abb149cd78c5b7ce42bf32f12565367cbf71f1df0783d9e86e08af675ca06580334acaacf34eed3d43023e1e3051c406f5bfbda03c11a3d5db41622267d3
|
@@ -640,26 +640,51 @@ module BB
|
|
640
640
|
internal_data = lockfile.internal_data
|
641
641
|
pods = internal_data['PODS']
|
642
642
|
dependencies = lockfile.dependencies
|
643
|
+
all_dependency_pods = podfile_lock_pods
|
643
644
|
buss_pod_names.each do | buss_pod_name |
|
644
645
|
local_specs = {}
|
645
|
-
dependency_pods_list =
|
646
|
+
dependency_pods_list = []
|
646
647
|
dependency_pods_list.insert(0, "#{buss_pod_name}") # 需要添加自己控制组件
|
648
|
+
pod_list = all_dependency_pods[buss_pod_name]
|
649
|
+
if pod_list
|
650
|
+
dependency_pods_list.concat(pod_list) # 需要添加自己控制组件
|
651
|
+
pod_list.each do | dependency_pod_name |
|
652
|
+
if has_pod_subspec(dependency_pod_name, buss_pod_name)
|
653
|
+
# 依赖core subspec
|
654
|
+
sub_pod_list = all_dependency_pods[dependency_pod_name]
|
655
|
+
if sub_pod_list
|
656
|
+
dependency_pods_list.concat(sub_pod_list) # 需要添加自己控制组件
|
657
|
+
end
|
658
|
+
end
|
659
|
+
end
|
660
|
+
end
|
661
|
+
# 可能需要依赖组件库,包含subspec
|
662
|
+
dependencies.each do | dependency |
|
663
|
+
dependency_pod_name = dependency.name
|
664
|
+
if has_pod_subspec(dependency_pod_name, buss_pod_name)
|
665
|
+
dependency_pods_list.insert(dependency_pods_list.length, "#{dependency_pod_name}") # 需要添加自己控制组件
|
666
|
+
pod_list = all_dependency_pods[dependency_pod_name]
|
667
|
+
if pod_list
|
668
|
+
dependency_pods_list.concat(pod_list) # 需要添加自己控制组件
|
669
|
+
end
|
670
|
+
end
|
671
|
+
end
|
647
672
|
dependency_pods_list.each do | pod_name |
|
648
673
|
# 指向标签版本
|
649
674
|
version = lockfile.version(pod_name).to_s
|
650
675
|
if !version.empty?
|
651
676
|
local_specs[pod_name] = version
|
677
|
+
# puts "pod_name:#{pod_name} version:#{version}".red
|
652
678
|
end
|
653
679
|
# dependencies依赖数据
|
654
680
|
dependencies.each do | dependency |
|
655
|
-
|
656
|
-
|
657
|
-
if
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
end
|
681
|
+
dependency_pod_name = dependency.name
|
682
|
+
if dependency_pod_name == pod_name
|
683
|
+
if dependency.external_source.is_a? Hash
|
684
|
+
# 指向分支
|
685
|
+
external_source = dependency.external_source
|
686
|
+
local_specs[pod_name] = external_source
|
687
|
+
# puts "pod_name:#{pod_name} external_source:#{external_source}"
|
663
688
|
end
|
664
689
|
end
|
665
690
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-bb-PodAssistant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.4
|
4
|
+
version: 0.3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- humin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods-core
|