cocoapods-byte-panglem-beta 0.0.7 → 0.0.8
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: 06c8be5834db737add654116e99da3122c88dabffd447d099a06acc72dd4b17d
|
4
|
+
data.tar.gz: 5cca827e8ca7b528db58960779192c117f7883497f897c3c5c85513b57632c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98cab214b9d7e8b38ba609fb41329ec6c21e2cec31f4df3954eada8f025dee343d06896889c8d9524617c4ebd927dbfd661f90f0233ed14bc465b9d1f522eccb
|
7
|
+
data.tar.gz: af2ef6c20e293e234d51bbe4bff48d0b701f0ab5c72f5e9b367ce2ddea657d000c3ba23bc2ca37c57369f08ed41d5b940aa7cb5d7a7bd14761d472a3a3eb17ff
|
@@ -25,29 +25,32 @@ module PM
|
|
25
25
|
end
|
26
26
|
result = UpdateResut.from_hash(hash)
|
27
27
|
## 校验Pangle SDK是否符合预期
|
28
|
-
pm_spec = specs.find do |spec|
|
29
|
-
|
30
|
-
end
|
31
|
-
if pm_spec.nil?
|
32
|
-
|
33
|
-
end
|
34
|
-
if pm_spec.spec.version.version != result.sdk_original_version
|
35
|
-
|
36
|
-
|
37
|
-
end
|
28
|
+
# pm_spec = specs.find do |spec|
|
29
|
+
# result.sdk_name==Pod::Specification.root_name(spec.spec.name)
|
30
|
+
# end
|
31
|
+
# if pm_spec.nil?
|
32
|
+
# raise "[cocoapods-byte-panglem-beta][error] #{result.sdk_name} not found}"
|
33
|
+
# end
|
34
|
+
# if pm_spec.spec.version.version != result.sdk_original_version
|
35
|
+
# raise "[cocoapods-byte-panglem-beta][error] #{result.sdk_name} version has change(#{result.sdk_original_version}->#{pm_spec.spec.version.version}),After generating the Podfile.panglewe file, you may have made some changes in the podfile, causing the version of Pangle SDK to change. Please change 'use_pangm_sdk_update! :is_release => true
|
36
|
+
# ',delete':is_release => true' and re-execute 'pod install'"
|
37
|
+
# end
|
38
38
|
if result.is_sdk_update
|
39
39
|
title_options = { :verbose_prefix => '-> '.green }
|
40
40
|
Pod::UserInterface.titled_section("[cocoapods-byte-panglem-beta][info] will change pangle sdk version , the current version will change from #{result.sdk_original_version} to #{result.sdk_target_version}", title_options)
|
41
|
+
## 先删掉现有的所有beta依赖 和 原有的ads_global依赖
|
41
42
|
specs.delete_if{|spec|
|
42
|
-
Pod::Specification.root_name(spec.spec.name) == result.sdk_name
|
43
|
+
Pod::Specification.root_name(spec.spec.name) == result.sdk_name or Pod::Specification.root_name(spec.spec.name) == PM::BuildConfig.pangle_sdk_release
|
43
44
|
}
|
45
|
+
## 再添加.pangle文件中记录的
|
44
46
|
result.sdk_list.each{ |spec|
|
45
47
|
specs << Pod::Resolver::ResolverSpecification.new(spec, false, spec.spec_source)
|
46
48
|
}
|
47
49
|
|
48
50
|
if result.is_rely_update
|
51
|
+
|
49
52
|
specs.delete_if{|spec|
|
50
|
-
Pod::Specification.root_name(spec.spec.name) == result.rely_name
|
53
|
+
Pod::Specification.root_name(spec.spec.name) == result.rely_name
|
51
54
|
}
|
52
55
|
result.rely_list.each{ |spec|
|
53
56
|
specs << Pod::Resolver::ResolverSpecification.new(spec, false, spec.spec_source)
|
@@ -213,7 +213,7 @@ module PM
|
|
213
213
|
|
214
214
|
def self.from_hash(hash)
|
215
215
|
re = UpdateResut.new()
|
216
|
-
re.sdk_name =
|
216
|
+
re.sdk_name = PM::BuildConfig.pangle_sdk_beta
|
217
217
|
re.rely_name = "BURelyFoundation_Global"
|
218
218
|
re.sdk_original_version = hash["SDK_ORIGINAL_VERSION"]
|
219
219
|
re.sdk_target_version = hash["SDK_TARGET_VERSION"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-byte-panglem-beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhangtianhao.1230@bytedance.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|