cocoapods-binary-matchup 0.0.3 → 0.0.4
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 +4 -4
- data/lib/cocoapods-binary-matchup/Integration.rb +4 -5
- data/lib/cocoapods-binary-matchup/Integration_cache.rb +0 -4
- data/lib/cocoapods-binary-matchup/Prebuild.rb +3 -2
- data/lib/cocoapods-binary-matchup/gem_version.rb +1 -1
- metadata +1 -2
- data/cocoapods-binary-matchup-0.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 184a6220427b79707cf3cfb94beb5a2c16ea3cb9058f078a8909b32bdb574470
|
4
|
+
data.tar.gz: 58dadf0f4be9a9dd33de364620e3e99f5b43d6d163ce9b2c006c6f4f2c73255d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8393aa23fdef81031b7ee623c38b8d64f3445e5c995e7c8276344d99e07e187ade2b97617b54072180b6de60a298402c3f335f9f54b446c0fd09cc8ba0160e1
|
7
|
+
data.tar.gz: 3ca73881c378c5935cc767a346547924f0c80a5db761188d0c2ad0cf0e6d360b2f20b9ce9b364550ca2101f8dc525519cf8ae5ab729d7d285bea2402d077a4ad
|
@@ -230,16 +230,15 @@ module Pod
|
|
230
230
|
# copy from original
|
231
231
|
pod_installer = create_pod_installer(pod_name)
|
232
232
|
# \copy from original
|
233
|
-
UI.puts "🔍 Installing pod: #{pod_name}"
|
234
|
-
UI.puts "🔍 prebuild_pod_names: #{self.prebuild_pod_names}"
|
235
|
-
UI.puts "🔍 is_prebuild_pod: #{self.prebuild_pod_names.include?(pod_name)}"
|
236
233
|
|
237
234
|
if self.prebuild_pod_names.include? pod_name
|
238
|
-
UI.puts "📦 Installing prebuild pod: #{pod_name}"
|
235
|
+
UI.puts "📦 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Installing prebuild pod: #{pod_name}"
|
239
236
|
pod_installer.install_for_prebuild!(self.sandbox)
|
237
|
+
UI.puts "📦 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Installing prebuild pod: #{pod_name}"
|
240
238
|
else
|
241
|
-
UI.puts "📥 Installing source pod: #{pod_name}"
|
239
|
+
UI.puts "📥 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Installing source pod: #{pod_name}"
|
242
240
|
pod_installer.install!
|
241
|
+
UI.puts "📥 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Installing source pod: #{pod_name}"
|
243
242
|
end
|
244
243
|
|
245
244
|
# copy from original
|
@@ -53,7 +53,6 @@ module Pod
|
|
53
53
|
# Hash 格式:{"PodName (1.0.0)" => [...]}
|
54
54
|
pod_entry.each do |key, _|
|
55
55
|
key_str = key.to_s
|
56
|
-
Pod::UI.puts " 📦 Checking hash key: #{key_str}"
|
57
56
|
|
58
57
|
# 使用更灵活的匹配逻辑,支持subspec
|
59
58
|
match = key_str.match(/^#{Regexp.escape(pod_name)}\s*\(([^)]+)\)/)
|
@@ -74,7 +73,6 @@ module Pod
|
|
74
73
|
end
|
75
74
|
elsif pod_entry.is_a?(String)
|
76
75
|
# String 格式:"PodName (1.0.0)"
|
77
|
-
Pod::UI.puts " 📦 Checking string: #{pod_entry}"
|
78
76
|
|
79
77
|
match = pod_entry.match(/^#{Regexp.escape(pod_name)}\s*\(([^)]+)\)/)
|
80
78
|
if match
|
@@ -126,7 +124,6 @@ module Pod
|
|
126
124
|
if pod_entry.is_a?(Hash)
|
127
125
|
pod_entry.each do |key, _|
|
128
126
|
key_str = key.to_s
|
129
|
-
Pod::UI.puts " 📦 Checking hash key: #{key_str}"
|
130
127
|
|
131
128
|
# 使用更灵活的匹配逻辑,支持subspec
|
132
129
|
match = key_str.match(/^#{Regexp.escape(pod_name)}\s*\(([^)]+)\)/)
|
@@ -146,7 +143,6 @@ module Pod
|
|
146
143
|
end
|
147
144
|
elsif pod_entry.is_a?(String)
|
148
145
|
# String 格式:"PodName (1.0.0)"
|
149
|
-
Pod::UI.puts " 📦 Checking string: #{pod_entry}"
|
150
146
|
|
151
147
|
match = pod_entry.match(/^#{Regexp.escape(pod_name)}\s*\(([^)]+)\)/)
|
152
148
|
if match
|
@@ -132,11 +132,12 @@ module Pod
|
|
132
132
|
end
|
133
133
|
|
134
134
|
standard_sandbox_path = sandbox.standard_sanbox_path
|
135
|
-
|
135
|
+
Pod::UI.puts "📦 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Prebuild Start pod: #{target.pod_name}"
|
136
136
|
if Pod::PrebuildCache::Cache.restore_from_pod_cache(target.pod_name, sandbox)
|
137
|
-
Pod::UI.puts "📦 Using exact cache from ~/.PodCache"
|
137
|
+
Pod::UI.puts "📦 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Using exact cache from ~/.PodCache"
|
138
138
|
next
|
139
139
|
end
|
140
|
+
Pod::UI.puts "📦 [#{Time.now.strftime('%Y-%m-%d %H:%M:%S')}] Prebuild End pod: #{target.pod_name}"
|
140
141
|
|
141
142
|
output_path = sandbox.framework_folder_path_for_pod_name(target.name)
|
142
143
|
output_path.mkpath unless output_path.exist?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary-matchup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- leavez
|
@@ -99,7 +99,6 @@ files:
|
|
99
99
|
- LICENSE.txt
|
100
100
|
- README.md
|
101
101
|
- Rakefile
|
102
|
-
- cocoapods-binary-matchup-0.0.1.gem
|
103
102
|
- cocoapods-binary-matchup.gemspec
|
104
103
|
- lib/cocoapods-binary-matchup/Integration.rb
|
105
104
|
- lib/cocoapods-binary-matchup/Integration_cache.rb
|
Binary file
|