cocoapods-jxedt 0.0.15 → 0.0.16
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: 97f69690fe092a3b3f3ac75812d982e144d4f5e8434e70d999ab81a6d0aeef89
|
4
|
+
data.tar.gz: 55319b9dd689f80433855208a24a81b4b85a6b1a898b88b9921b961ef6bae4a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecbb12c9bb4c7adac71673b5a47d02a80695112d0acfc157585448c761a91e8ee679d091500cbbcecabea583cfa92a76b1ac74738fc07bf3f8a70494f853c2be
|
7
|
+
data.tar.gz: 03cb1d511a955cbbe0b6925e1c03a1bc840f09095b91000c5ee581c692d4415adad79fd1b67213c6e712942afcd4d296285ecb9cc8667fdaa51f5a865dadf6d6
|
@@ -45,10 +45,11 @@ module Jxedt
|
|
45
45
|
# fetch cache and sync
|
46
46
|
if Jxedt.config.cache_repo_enabled? && Jxedt.config.auto_fetch?
|
47
47
|
log_section "🚗 Fetch git cache"
|
48
|
-
|
49
|
-
|
48
|
+
# 统计需要prebuild的targets
|
49
|
+
prebuild_pods = Jxedt::Prebuild.new(source_installer).targets_to_prebuild.map(&:pod_name)
|
50
|
+
binary_hash = prebuild_pods.reduce({}) do |hash, name|
|
50
51
|
checksum = prebuild_sandbox.source_lockfile.spec_checksums_hash_key(name)
|
51
|
-
hash.update(name => checksum)
|
52
|
+
hash.update(name => checksum)
|
52
53
|
end
|
53
54
|
|
54
55
|
require 'cocoapods-jxedt/git_helper/cache_fetcher'
|
@@ -19,6 +19,8 @@ module Jxedt
|
|
19
19
|
cache_dir = Pathname.new(Jxedt.config.git_cache_path) + "GeneratedFrameworks"
|
20
20
|
to_dir = Pathname.new(to_dir)
|
21
21
|
binary_hash.each do |name, checksum|
|
22
|
+
next if checksum.nil?
|
23
|
+
|
22
24
|
zip_file = cache_dir + name + "#{checksum}.zip"
|
23
25
|
next unless zip_file.exist?
|
24
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-jxedt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- guojiashuang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|