cocoapods-byte-csjm 0.0.17 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-byte-csjm/gem_version.rb +1 -1
- data/lib/cocoapods-byte-csjm/gm.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 272e3fe53ce6eebc2d714324969f792905d98c3f62793e86559061c14597b5a3
|
4
|
+
data.tar.gz: 8959ea46d84db4b2c7497e9885eeec8baa202bf7fcff17cc4c44f9b4c322d9d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e013113cf180487988eda2c79e0db79c2fa36381c5da54e7ee53f62a9c508edb851b3c513fef523ddec161a9f16b3746e94d99b81caabcc2eed659adebcff2
|
7
|
+
data.tar.gz: 2299f259e7c1016d753c34739fe4eb1f499fa7f58a3364dcabdec4455a0e3fd45fa33f5e1916a488e6ad7981a098ff4aa8fcb954b9d65eb9928b76ea7db548c6
|
@@ -482,7 +482,6 @@ module GM
|
|
482
482
|
title_options = { :verbose_prefix => '-> '.green }
|
483
483
|
Pod::UserInterface.titled_section("#{adn_name} has set version update or check, the current adapter(#{item.name}) version(#{item.version.version}) is as expected", title_options)
|
484
484
|
else
|
485
|
-
|
486
485
|
if original_sp && original_sp.spec.version.version != item.version.version ## 更新到最新版本 或 最新稳定版本
|
487
486
|
if target.gm_build_config.is_adn_update?(adn_name)
|
488
487
|
# puts '开始更新版本'
|
@@ -558,11 +557,10 @@ module GM
|
|
558
557
|
Pod::UserInterface.titled_section("remove #{name}", title_options)
|
559
558
|
true
|
560
559
|
else
|
561
|
-
# 匹配头部,固定CSJM|GM
|
562
560
|
start_right = beta_type != GM::Beta::GM_RELEASE ? name.start_with?('CSJM') : name.start_with?('GM')
|
563
561
|
# 匹配尾部,beta版本以Adapter结尾,正式版本以Beta结尾
|
564
562
|
end_right = (beta_type != GM::Beta::CSJ_BETA && name.end_with?('Adapter-Beta')) || (beta_type == GM::Beta::CSJ_BETA && name.end_with?('Adapter'))
|
565
|
-
result = start_right
|
563
|
+
result = start_right || end_right
|
566
564
|
if result
|
567
565
|
title_options = { :verbose_prefix => '-> '.red }
|
568
566
|
Pod::UserInterface.titled_section("remove #{name}", title_options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-byte-csjm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
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-
|
11
|
+
date: 2024-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|