cocoapods-bb-bin 0.2.6 → 0.2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76f2ce8fcc1062dc2abe81a8284f8eedce188b1aa9e0bf2990d9b7d8a76fc0dc
4
- data.tar.gz: 36824c60a9c04f42d860cd4207f0f05edc8a226971dab512fa4a476721db0468
3
+ metadata.gz: d1cdc1d9981ad04ed6d174e1234cf97946cf9053590c9626f2c39a552e89625c
4
+ data.tar.gz: 5b201e5cc0bd349ce52fda0d423020f211172c05857a60341c764a7c89832f20
5
5
  SHA512:
6
- metadata.gz: 5e57f12db8d797fa85238c9b3b4671a75d4d627e4bdb851d709f7fae67458ccbd757c06f2fd7cbbaee64d0041f80eb915644da0b16b2621b6a950fb513de136c
7
- data.tar.gz: 0d744031084e801efe7c4c2f5d252abf35504ab36e065543223f350b51b4b3eadc7946f28d8afebe7e2400c8c3d72ee6fbcb36280ecfd1f0176bb8a219637a69
6
+ metadata.gz: 6fe18b6d92c6a1a4ab1bcfc46ace767a09a750e704f8008857dedae9c89f8fc8e903a4f3047f5cdb255680a374c194e14413f5af15990a4397ae630c244fc7f0
7
+ data.tar.gz: b38737fc90cb2003468b66579a0f6c26d1f86c2f9602bd1109f55eba16fbcf02f471c28ebd9d4867f5ea38e1f9e77161a641279267106b34b1eee94f144aa55a
@@ -12,9 +12,10 @@ module CBin
12
12
  def template_hash
13
13
  {
14
14
  'configuration_env' => { description: '编译环境', default: 'dev', selection: %w[dev debug_iphoneos release_iphoneos] },
15
- 'code_repo_url' => { description: '源码私有源 Git 地址', default: 'https://github.com/CocoaPods/Specs.git' },
15
+ 'code_repo_url' => { description: '源码私有源(源/静态库) Git 地址', default: 'https://github.com/CocoaPods/Specs.git' },
16
16
  'binary_repo_url' => { description: '二进制静态库私有源 Git 地址', default: 'https://github.com/CocoaPods/Specs.git' },
17
17
  'dylib_repo_url' => { description: '动态链接库私有源 Git 地址', default: 'https://github.com/CocoaPods/Specs.git' },
18
+ 'sourceV2_repo_url' => { description: '源码私有源V2(源/静态库/动态库) Git 地址', default: 'https://github.com/CocoaPods/Specs.git' },
18
19
  'binary_download_url' => { description: '二进制下载地址,内部会依次传入组件名称与版本,替换字符串中的 %s ', default: 'http://localhost:8080/frameworks/%s/%s/zip' },
19
20
  # 'binary_type' => { description: '二进制打包类型', default: 'framework', selection: %w[framework library] },
20
21
  'download_file_type' => { description: '下载二进制文件类型', default: 'zip', selection: %w[zip tgz tar tbz txz dmg] }
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = '0.2.6'
3
+ VERSION = '0.2.6.1'
4
4
  end
5
5
 
6
6
  module Pod
@@ -13,7 +13,11 @@ module Pod
13
13
 
14
14
  # 源码 source
15
15
  def code_source
16
- source_with_name_or_url(CBin.config.code_repo_url)
16
+ if @dylib # 动态库
17
+ source_with_name_or_url(CBin.config.sourceV2_repo_url)
18
+ else # 静态库
19
+ source_with_name_or_url(CBin.config.code_repo_url)
20
+ end
17
21
  end
18
22
 
19
23
  # 二进制 source (区分动态库还是静态库)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-12 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -70,7 +70,7 @@ dependencies:
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 0.2.6
73
+ version: 0.2.6.1
74
74
  - - "<"
75
75
  - !ruby/object:Gem::Version
76
76
  version: '1.0'
@@ -80,7 +80,7 @@ dependencies:
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 0.2.6
83
+ version: 0.2.6.1
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
86
  version: '1.0'