cocoapods-byte-panglem-beta 0.0.4 → 0.0.5
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: 8aa1be8bb86023e285512b86b90b95139338f2361cec0fbd43ad4148e5cd8340
|
4
|
+
data.tar.gz: 0d6cf13cfb6530cee7dbe61d4b14db595cab8659c5ed3786adcf3c1db07334a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99571044b39a588e4d0714cdc3f9c4c43189399b00afb92712c3f4d55a884058e8d824674f07645fcf352c55e8dddee99b71a049a7ced2a65874f2a83cfc6db4
|
7
|
+
data.tar.gz: cc0dc9d7392e8ed8c568b5522d4527bc972909e325ad653ad58b4eb141485974034ae8c80dfc94f35ff544e33e1928795fd74ae8dd78234ecef84541e95e42d9
|
@@ -130,6 +130,7 @@ module PM
|
|
130
130
|
}
|
131
131
|
|
132
132
|
if result.is_rely_update
|
133
|
+
|
133
134
|
specs.delete_if{|spec|
|
134
135
|
Pod::Specification.root_name(spec.spec.name) == result.rely_name && spec.spec.version.version == result.rely_original_version
|
135
136
|
}
|
@@ -139,7 +140,7 @@ module PM
|
|
139
140
|
end
|
140
141
|
specs.sort_by!{|spec| spec.spec.name}
|
141
142
|
is_update_finish = true
|
142
|
-
request_track result.sdk_original_version, result.sdk_target_version, result.sdk_target_version, response_data["code"], response_data["message"]
|
143
|
+
# request_track result.sdk_original_version, result.sdk_target_version, result.sdk_target_version, response_data["code"], response_data["message"]
|
143
144
|
|
144
145
|
else
|
145
146
|
wish_info = {"no_auto_update"=>true,"timestamp" =>Time.now.to_i}
|
@@ -66,6 +66,40 @@ end
|
|
66
66
|
|
67
67
|
class Pod::Installer::Analyzer
|
68
68
|
|
69
|
+
alias_method :original_dependencies_for_specs, :dependencies_for_specs
|
70
|
+
def dependencies_for_specs(specs, platform, all_specs)
|
71
|
+
dependent_specs = {
|
72
|
+
:debug => Set.new,
|
73
|
+
:release => Set.new,
|
74
|
+
}
|
75
|
+
|
76
|
+
if !specs.empty? && !all_specs.empty?
|
77
|
+
specs.each do |s|
|
78
|
+
s.dependencies(platform).each do |dep|
|
79
|
+
temp_name = dep.name
|
80
|
+
if !temp_name.include?("Ads-Global/")
|
81
|
+
all_specs[dep.name].each do |spec|
|
82
|
+
if spec.non_library_specification?
|
83
|
+
if s.test_specification? && spec.name == s.consumer(platform).app_host_name && spec.app_specification?
|
84
|
+
# This needs to be handled separately, since we _don't_ want to treat this as a "normal" dependency
|
85
|
+
next
|
86
|
+
end
|
87
|
+
raise Informative, "`#{s}` depends upon `#{spec}`, which is a `#{spec.spec_type}` spec."
|
88
|
+
end
|
89
|
+
|
90
|
+
dependent_specs.each do |config, set|
|
91
|
+
next unless s.dependency_whitelisted_for_configuration?(dep, config)
|
92
|
+
set << spec
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
Hash[dependent_specs.map { |k, v| [k, (v - specs).group_by(&:root)] }].freeze
|
101
|
+
end
|
102
|
+
|
69
103
|
alias_method :original_resolve_dependencies, :resolve_dependencies
|
70
104
|
def resolve_dependencies(locked_dependencies)
|
71
105
|
resolver_specs_by_target = original_resolve_dependencies(locked_dependencies)
|
@@ -44,11 +44,19 @@ module Pod
|
|
44
44
|
def get_rely_version
|
45
45
|
hash = @attributes_hash
|
46
46
|
subs = @subspecs
|
47
|
-
|
47
|
+
name = hash["name"]
|
48
|
+
## 聚合拿的是adsglobal的subspec
|
49
|
+
if name.include?("Dep_Accurate") or name.include?("Dep_Compatible")
|
50
|
+
parent = @parent
|
51
|
+
version = parent.get_rely_version
|
52
|
+
return version
|
53
|
+
end
|
48
54
|
dep_accurate_sperc = @subspecs.select do |spec|
|
49
55
|
spec.name.include?("/Dep_Accurate")
|
50
56
|
end.first
|
51
|
-
dep_accurate_sperc.dependencies.first.get_requirment
|
57
|
+
version = dep_accurate_sperc.dependencies.first.get_requirment
|
58
|
+
version
|
59
|
+
|
52
60
|
end
|
53
61
|
end
|
54
62
|
|
@@ -446,6 +454,7 @@ module PM
|
|
446
454
|
result.sdk_target_version = target_sdk_root_spec.version.version
|
447
455
|
PM::Recorder.instance.sdk_original_version = result.sdk_original_version
|
448
456
|
PM::Recorder.instance.sdk_target_version = result.sdk_target_version
|
457
|
+
ss_temp = original_sdk_spec.spec
|
449
458
|
target_rely_version = target_sdk_root_spec.get_rely_version
|
450
459
|
original_rely_version = original_sdk_spec.spec.get_rely_version
|
451
460
|
# target_rely_version = "0.2.0.0"
|