cocoapods-packager-qcloud 1.5.17 → 1.5.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +17 -17
- data/lib/cocoapods-packager/spec_builder.rb +1 -1
- data/lib/cocoapods_packager.rb +1 -1
- data/lib/pod/command/package.rb +31 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbbfdebae7c90f8c8e7ba226dfbc4b1d86fdaa68
|
4
|
+
data.tar.gz: 07762454ad3826a7c2258850b8b5b3cbd72eb54c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63b173c1931f180e33d02d20d56caec869f9c95eb64491316e00a2d37d00a0e1441292af8604661d8ed571a2177b84e8dcc0b3fc2c4f6b397ec7642656417b28
|
7
|
+
data.tar.gz: 6d00738100a151519928d212ef7ba97edc5e3f6ae3ce1018dba32129372395162f1d847a519cddca24e76777f2864455b26364895e9187de8c918c51a43a0741
|
data/.idea/workspace.xml
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
16
16
|
<component name="FileEditorManager">
|
17
17
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
18
|
-
<file leaf-file-name="builder.rb" pinned="false" current-in-tab="
|
18
|
+
<file leaf-file-name="builder.rb" pinned="false" current-in-tab="false">
|
19
19
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/builder.rb">
|
20
20
|
<provider selected="true" editor-type-id="text-editor">
|
21
21
|
<state relative-caret-position="800">
|
@@ -25,7 +25,7 @@
|
|
25
25
|
</provider>
|
26
26
|
</entry>
|
27
27
|
</file>
|
28
|
-
<file leaf-file-name="cocoapods_plugin.rb" pinned="false" current-in-tab="
|
28
|
+
<file leaf-file-name="cocoapods_plugin.rb" pinned="false" current-in-tab="true">
|
29
29
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods_plugin.rb">
|
30
30
|
<provider selected="true" editor-type-id="text-editor">
|
31
31
|
<state relative-caret-position="120">
|
@@ -39,7 +39,7 @@
|
|
39
39
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods_packager.rb">
|
40
40
|
<provider selected="true" editor-type-id="text-editor">
|
41
41
|
<state relative-caret-position="210">
|
42
|
-
<caret line="14" column="0" lean-forward="
|
42
|
+
<caret line="14" column="0" lean-forward="false" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
|
43
43
|
<folding />
|
44
44
|
</state>
|
45
45
|
</provider>
|
@@ -419,12 +419,12 @@
|
|
419
419
|
<workItem from="1521599519280" duration="607000" />
|
420
420
|
<workItem from="1521706587050" duration="11000" />
|
421
421
|
<workItem from="1522674984545" duration="663000" />
|
422
|
-
<workItem from="1528453366769" duration="
|
422
|
+
<workItem from="1528453366769" duration="2250000" />
|
423
423
|
</task>
|
424
424
|
<servers />
|
425
425
|
</component>
|
426
426
|
<component name="TimeTrackingManager">
|
427
|
-
<option name="totallyTimeSpent" value="
|
427
|
+
<option name="totallyTimeSpent" value="72085000" />
|
428
428
|
</component>
|
429
429
|
<component name="ToolWindowManager">
|
430
430
|
<frame x="233" y="150" width="2043" height="1103" extended-state="0" />
|
@@ -800,34 +800,34 @@
|
|
800
800
|
</state>
|
801
801
|
</provider>
|
802
802
|
</entry>
|
803
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
803
|
+
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
804
804
|
<provider selected="true" editor-type-id="text-editor">
|
805
|
-
<state relative-caret-position="
|
806
|
-
<caret line="
|
805
|
+
<state relative-caret-position="950">
|
806
|
+
<caret line="193" column="43" lean-forward="false" selection-start-line="193" selection-start-column="43" selection-end-line="193" selection-end-column="43" />
|
807
807
|
<folding />
|
808
808
|
</state>
|
809
809
|
</provider>
|
810
810
|
</entry>
|
811
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
811
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods_packager.rb">
|
812
812
|
<provider selected="true" editor-type-id="text-editor">
|
813
|
-
<state relative-caret-position="
|
814
|
-
<caret line="
|
813
|
+
<state relative-caret-position="210">
|
814
|
+
<caret line="14" column="0" lean-forward="false" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
|
815
815
|
<folding />
|
816
816
|
</state>
|
817
817
|
</provider>
|
818
818
|
</entry>
|
819
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
819
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/builder.rb">
|
820
820
|
<provider selected="true" editor-type-id="text-editor">
|
821
|
-
<state relative-caret-position="
|
822
|
-
<caret line="
|
821
|
+
<state relative-caret-position="800">
|
822
|
+
<caret line="189" column="6" lean-forward="false" selection-start-line="189" selection-start-column="6" selection-end-line="189" selection-end-column="6" />
|
823
823
|
<folding />
|
824
824
|
</state>
|
825
825
|
</provider>
|
826
826
|
</entry>
|
827
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
827
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods_plugin.rb">
|
828
828
|
<provider selected="true" editor-type-id="text-editor">
|
829
|
-
<state relative-caret-position="
|
830
|
-
<caret line="
|
829
|
+
<state relative-caret-position="120">
|
830
|
+
<caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
|
831
831
|
<folding />
|
832
832
|
</state>
|
833
833
|
</provider>
|
@@ -86,7 +86,7 @@ RB
|
|
86
86
|
|
87
87
|
%w(name version summary license authors homepage description social_media_url
|
88
88
|
docset_url documentation_url screenshots frameworks weak_frameworks libraries requires_arc
|
89
|
-
deployment_target xcconfig vendored_libraries vendored_frameworks preserve_paths static_framework).each do |attribute|
|
89
|
+
deployment_target xcconfig vendored_libraries vendored_frameworks preserve_paths static_framework resource resources).each do |attribute|
|
90
90
|
value = @spec.attributes_hash[attribute]
|
91
91
|
next if value.nil?
|
92
92
|
value = value.dump if value.class == String
|
data/lib/cocoapods_packager.rb
CHANGED
data/lib/pod/command/package.rb
CHANGED
@@ -84,6 +84,7 @@ module Pod
|
|
84
84
|
`mv "#{work_dir}" "#{target_dir}"`
|
85
85
|
copyVandoredLibaries(@spec)
|
86
86
|
copyVendoredFrameworks(@spec)
|
87
|
+
copyResources(@spec)
|
87
88
|
copyScripts @spec
|
88
89
|
Dir.chdir(@source_dir)
|
89
90
|
|
@@ -164,6 +165,35 @@ module Pod
|
|
164
165
|
end
|
165
166
|
end
|
166
167
|
|
168
|
+
def copyResources(spec)
|
169
|
+
if not @originPath.nil?
|
170
|
+
parent = Pathname(@originPath).parent
|
171
|
+
vandoredLibaries = spec.attributes_hash["resources"]
|
172
|
+
puts "resources is #{vandoredLibaries}"
|
173
|
+
return if vandoredLibaries.nil?
|
174
|
+
wantedCopyFile = []
|
175
|
+
|
176
|
+
if vandoredLibaries.instance_of? Array
|
177
|
+
vandoredLibaries.each { |x|
|
178
|
+
wantedCopyFile << x
|
179
|
+
}
|
180
|
+
elsif vandoredLibaries.instance_of? String
|
181
|
+
wantedCopyFile << vandoredLibaries
|
182
|
+
end
|
183
|
+
return if wantedCopyFile.count == 0
|
184
|
+
target = Pathname(@targetDir)
|
185
|
+
puts "wanted copy resources is #{wantedCopyFile}"
|
186
|
+
wantedCopyFile.each { |originSpec|
|
187
|
+
origin = parent.join(originSpec)
|
188
|
+
des = target.join originSpec
|
189
|
+
puts "----->Coping.... Resources #{originSpec}\n"
|
190
|
+
FileUtils.mkdir_p File.dirname(des.to_path)
|
191
|
+
FileUtils.cp_r origin, des
|
192
|
+
puts "<------end"
|
193
|
+
}
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
167
197
|
def copyVendoredFrameworks(spec)
|
168
198
|
if not @originPath.nil?
|
169
199
|
parent = Pathname(@originPath).parent
|
@@ -255,6 +285,7 @@ module Pod
|
|
255
285
|
@spec.available_platforms.each do |platform|
|
256
286
|
build_in_sandbox(platform)
|
257
287
|
newspec += builder.spec_platform(platform)
|
288
|
+
|
258
289
|
end
|
259
290
|
|
260
291
|
newspec += builder.spec_close
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-packager-qcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Fuller
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-06-
|
12
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
176
|
rubyforge_project:
|
177
|
-
rubygems_version: 2.6.
|
177
|
+
rubygems_version: 2.6.12
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: CocoaPods plugin which allows you to generate a framework or static library
|