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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cabfe6c655cbf23d67e618a57d5a78a6e78f50bffb9e424b86190706dd0239d
4
- data.tar.gz: 531fd69060498b48d2cd818bc3d6992413fcae10b42e784dedb44f6842bf4851
3
+ metadata.gz: 272e3fe53ce6eebc2d714324969f792905d98c3f62793e86559061c14597b5a3
4
+ data.tar.gz: 8959ea46d84db4b2c7497e9885eeec8baa202bf7fcff17cc4c44f9b4c322d9d1
5
5
  SHA512:
6
- metadata.gz: 96d85b34ea5758310823ce73fd1212549327b420b8b845bfbbf012038cf1d2c4599f6a9788f7ad40ee36d29cf49e6f4150ce370ac22aab02bfdf2b05073248b2
7
- data.tar.gz: 6c9d34ecf30f2fae6384e7aba1ff0de0f231e6f623192008567812dfd123cf2156d5ec27f9bbc99fbd12abf54acd6ccfb2d99bb7bb3b5d7b5c9502cbde837029
6
+ metadata.gz: 18e013113cf180487988eda2c79e0db79c2fa36381c5da54e7ee53f62a9c508edb851b3c513fef523ddec161a9f16b3746e94d99b81caabcc2eed659adebcff2
7
+ data.tar.gz: 2299f259e7c1016d753c34739fe4eb1f499fa7f58a3364dcabdec4455a0e3fd45fa33f5e1916a488e6ad7981a098ff4aa8fcb954b9d65eb9928b76ea7db548c6
@@ -1,5 +1,5 @@
1
1
  module CocoapodsByteCsjm
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.19"
3
3
  class Version
4
4
  def self.version
5
5
  VERSION
@@ -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 && end_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.17
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-04-17 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods