cocoapods-soul-component-plugin 0.0.23 → 0.0.24
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16202b06a32ecde0021d9d5f79f09c22db0919e014a657311f015de3b4375603
|
4
|
+
data.tar.gz: d6fce98e9929402afd92586625de4b76121c0310f90fca98081547b1c5b489ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8032bcd3f05babec3cdce060b5a6b2cea46b4493b5d0180217c9dc8733c780b59bdd1a38cc94069fab974361caff7aa23b23b584fbb5dbeb2aac948dbef4586a
|
7
|
+
data.tar.gz: c2e741e1f8deb86642a472e672cd7051aac71042cd8277414b08b78adda2095537c572dec1f0b807540d2ae8681b7f5374512c5f36463e8d0d05a1de3a9dc99b
|
@@ -215,7 +215,18 @@ module CocoapodsSoulComponentPlugin
|
|
215
215
|
each.path = target_path
|
216
216
|
|
217
217
|
if File.exist?(target_path) == false
|
218
|
-
|
218
|
+
# 使用优先顺序 commit>branch>tag
|
219
|
+
c = each.commit
|
220
|
+
b = each.branch
|
221
|
+
v = each.version
|
222
|
+
if (c != nil)
|
223
|
+
v = nil
|
224
|
+
b = nil
|
225
|
+
end
|
226
|
+
if (b != nil)
|
227
|
+
v = nil
|
228
|
+
end
|
229
|
+
options = { git: each.git, commit: c, tag: v, branch: b }
|
219
230
|
# 这行代码会自动清空branch并且设置commit
|
220
231
|
# options = Pod::Downloader.preprocess_options(options)
|
221
232
|
downloader = Pod::Downloader.for_target(target_path, options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-soul-component-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|