cocoapods-packager-ext 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: 6aae27a3f5c25819129ae62c04ca6a2310d0af5a0ae4f325779917c6d4e9a6c2
|
4
|
+
data.tar.gz: a2b461879db333181773b33b80398702f4651f66fc395a930664a4b50ad66198
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb92fea150a95bbd008db873e24a3a37483c84844b54b9a13970c46728ffd62770f0c5ec8f8a022c2891fec8a73474b38720ea10b69273927d49801f5a0876de
|
7
|
+
data.tar.gz: b7773aee566078b96d2f7515e5452ffe58da0980a55465bcc2b6d139a80b8c8003172752af1d94840ee73f2f151a2b8751a478522dc8ac4fb176c65f17d35620
|
@@ -74,12 +74,21 @@ module Pod
|
|
74
74
|
|
75
75
|
def spec_library(platform)
|
76
76
|
spec = <<RB
|
77
|
-
s.#{platform.name}.deployment_target = '#{platform.deployment_target}'
|
78
|
-
s.#{platform.name}.vendored_libraries = ['#{platform}/*.a']
|
79
|
-
s.#{platform.name}.public_header_files = ['#{platform}/Headers/*.{h}']
|
80
|
-
s.#{platform.name}.source_files = ['#{platform}/Headers/*.{h}']
|
81
|
-
s.#{platform.name}.resource = ['#{platform}/Resources/*.bundle']
|
82
|
-
s.#{platform.name}.module_map = "#{platform}/Modules/module.modulemap"
|
77
|
+
s.#{platform.name.to_s}.deployment_target = '#{platform.deployment_target}'
|
78
|
+
s.#{platform.name.to_s}.vendored_libraries = ['#{platform.name.to_s}/*.a']
|
79
|
+
s.#{platform.name.to_s}.public_header_files = ['#{platform.name.to_s}/Headers/*.{h}']
|
80
|
+
s.#{platform.name.to_s}.source_files = ['#{platform.name.to_s}/Headers/*.{h}']
|
81
|
+
s.#{platform.name.to_s}.resource = ['#{platform.name.to_s}/Resources/*.bundle']
|
82
|
+
s.#{platform.name.to_s}.module_map = "#{platform.name.to_s}/Modules/module.modulemap"
|
83
|
+
RB
|
84
|
+
end
|
85
|
+
|
86
|
+
def spec_framework(platform)
|
87
|
+
spec = <<RB
|
88
|
+
s.#{platform.name.to_s}.public_header_files = ['#{platform.name.to_s}/Headers/*.{h}']
|
89
|
+
s.#{platform.name.to_s}.source_files = ['#{platform.name.to_s}/**/Headers/*.{h}']
|
90
|
+
s.#{platform.name.to_s}.resource = ['#{platform.name.to_s}/**/Resources/*.bundle']
|
91
|
+
s.#{platform.name.to_s}.module_map = "#{platform.name.to_s}/**/Modules/module.modulemap"
|
83
92
|
RB
|
84
93
|
end
|
85
94
|
|
@@ -99,6 +108,7 @@ RB
|
|
99
108
|
newspec += spec_library(platform)
|
100
109
|
else
|
101
110
|
newspec += builder.spec_platform(platform)
|
111
|
+
newspec += spec_framework(platform)
|
102
112
|
end
|
103
113
|
|
104
114
|
|
@@ -113,7 +113,7 @@ module Pod
|
|
113
113
|
copy_headers_to_target @fwk.headers_path
|
114
114
|
end
|
115
115
|
|
116
|
-
def copy_headers_to_target(headers_target_path,module_map_target_path)
|
116
|
+
def copy_headers_to_target(headers_target_path = nil ,module_map_target_path = nil )
|
117
117
|
headers_target_path = @fwk.headers_path if headers_target_path.nil?
|
118
118
|
module_map_target_path = @fwk.module_map_path if module_map_target_path.nil?
|
119
119
|
|
@@ -169,7 +169,7 @@ MAP
|
|
169
169
|
def copy_resources
|
170
170
|
copy_resources_to_target @fwk.resources_path
|
171
171
|
end
|
172
|
-
def copy_resources_to_target(resources_target_path)
|
172
|
+
def copy_resources_to_target(resources_target_path = nil )
|
173
173
|
resources_target_path = @fwk.resources_path if resources_target_path.nil?
|
174
174
|
if @exclude_deps
|
175
175
|
bundles = @static_installer.pod_targets.flat_map(&:file_accessors).flat_map{|item|item.resources}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-packager-ext
|
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
|
- kyle.zhou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|