cocoapods-ppbuild 1.0.6 → 1.0.9
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: 3ac0e31d2d6cbd8691015c999a3da3c6ca97dbbabb0d39f4d7c6c241d16b429d
|
4
|
+
data.tar.gz: 1d858576f678be812ebe2d2f46f8853e949a5b7a89ec2c0160baa3f3533a1dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e28e687b5a3d94e940ee96e23f372c3f53c76814e44ec8be9f03e85ed9c61dec531821c4e04a2825e0d949545df73bbb4a7a8d4e19305376fd6778742b441b3f
|
7
|
+
data.tar.gz: 1c5bc9a497db026b4bea8502512b4973606e59ed46a9fb23b8b09332b5c526252a21e13451fa0f551d9828b4fde80576ece00868378f631c6daa39ec7cb3c742
|
@@ -290,14 +290,30 @@ module Pod
|
|
290
290
|
|
291
291
|
if spec.attributes_hash["resource_bundles"]
|
292
292
|
bundle_names = spec.attributes_hash["resource_bundles"].keys
|
293
|
-
spec.attributes_hash["resource_bundles"] = nil
|
294
|
-
spec.attributes_hash["resources"]
|
295
|
-
|
293
|
+
spec.attributes_hash["resource_bundles"] = nil
|
294
|
+
resources_list = spec.attributes_hash["resources"]
|
295
|
+
if resources_list.class == Array
|
296
|
+
spec.attributes_hash["resources"] ||= []
|
297
|
+
spec.attributes_hash["resources"] += bundle_names.map{|n| n+".bundle"}
|
298
|
+
elsif resources_list.class == String
|
299
|
+
spec.attributes_hash["resources"] = Array(resources_list)
|
300
|
+
spec.attributes_hash["resources"] += bundle_names.map{|n| n+".bundle"}
|
301
|
+
else
|
302
|
+
spec.attributes_hash["resources"] = bundle_names.map{|n| n+".bundle"}
|
303
|
+
end
|
296
304
|
elsif spec.attributes_hash['ios'] && spec.attributes_hash['ios']["resource_bundles"]
|
297
305
|
bundle_names = spec.attributes_hash['ios']["resource_bundles"].keys
|
298
306
|
spec.attributes_hash['ios']["resource_bundles"] = nil
|
299
|
-
spec.attributes_hash['ios']["resources"]
|
300
|
-
|
307
|
+
resources_list = spec.attributes_hash['ios']["resources"]
|
308
|
+
if resources_list.class == Array
|
309
|
+
spec.attributes_hash['ios']["resources"] ||= []
|
310
|
+
spec.attributes_hash['ios']["resources"] += bundle_names.map{|n| n+".bundle"}
|
311
|
+
elsif resources_list.class == String
|
312
|
+
spec.attributes_hash['ios']["resources"] = Array(resources_list)
|
313
|
+
spec.attributes_hash['ios']["resources"] += bundle_names.map{|n| n+".bundle"}
|
314
|
+
else
|
315
|
+
spec.attributes_hash['ios']["resources"] = bundle_names.map{|n| n+".bundle"}
|
316
|
+
end
|
301
317
|
end
|
302
318
|
|
303
319
|
# to avoid the warning of missing license
|
@@ -226,8 +226,8 @@ module Pod
|
|
226
226
|
|
227
227
|
# hook run_plugins_post_install_hooks 方法
|
228
228
|
install_hooks_method = instance_method(:run_plugins_post_install_hooks)
|
229
|
-
define_method(:run_plugins_post_install_hooks) do
|
230
|
-
install_hooks_method.bind(self).()
|
229
|
+
define_method(:run_plugins_post_install_hooks) do |*args|
|
230
|
+
install_hooks_method.bind(self).(*args)
|
231
231
|
if Pod::is_prebuild_stage
|
232
232
|
self.prebuild_frameworks!
|
233
233
|
end
|
@@ -119,7 +119,7 @@ module Pod
|
|
119
119
|
class Sandbox
|
120
120
|
# hook 清除pod方法,得到删除的pod,通知主pod更新
|
121
121
|
clean_method = instance_method(:clean_pod)
|
122
|
-
define_method(:clean_pod) do |pod_name|
|
122
|
+
define_method(:clean_pod) do |pod_name, *args|
|
123
123
|
if Pod::is_prebuild_stage
|
124
124
|
if Pod::Prebuild::Passer.prebuild_pod_targets_changes.nil?
|
125
125
|
Pod::Prebuild::Passer.prebuild_pod_targets_changes = [pod_name]
|
@@ -127,9 +127,26 @@ module Pod
|
|
127
127
|
Pod::Prebuild::Passer.prebuild_pod_targets_changes = (Pod::Prebuild::Passer.prebuild_pod_targets_changes + [pod_name]).uniq
|
128
128
|
end
|
129
129
|
end
|
130
|
-
clean_method.bind(self).(pod_name)
|
130
|
+
clean_method.bind(self).(pod_name, *args)
|
131
131
|
end
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
135
|
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-ppbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 彭懂
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,7 @@ homepage: https://github.com/pdcodeunder/cocoapods-ppbuild.git
|
|
66
66
|
licenses:
|
67
67
|
- MIT
|
68
68
|
metadata: {}
|
69
|
-
post_install_message:
|
69
|
+
post_install_message:
|
70
70
|
rdoc_options: []
|
71
71
|
require_paths:
|
72
72
|
- lib
|
@@ -81,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.0.
|
85
|
-
signing_key:
|
84
|
+
rubygems_version: 3.0.3.1
|
85
|
+
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: 工程静态库编译,提高编译速度.
|
88
88
|
test_files: []
|