cocoapods-packager-qcloud 1.5.4 → 1.5.5
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 +171 -105
- data/lib/cocoapods-packager/pod_utils.rb +1 -0
- data/lib/cocoapods-packager/spec_builder.rb +2 -2
- data/lib/cocoapods_packager.rb +1 -1
- data/lib/pod/command/package.rb +65 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28a4dfcecb50aa74811f445d490d04a2d6427d5d
|
4
|
+
data.tar.gz: 221fb8c447c38d7a66c72f27660cfd2ff21024b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8b62c3902c2c2b0f286a43b0006af618e2b60e4fe859877d33c881c4adf7c2874e670f07389bd2867287a5f0912db349b0fc1aabf17645628e076b7e3d149b6
|
7
|
+
data.tar.gz: 36a0c32f7c18026b6de1a1878fdf0db0dbb0eea9e6c2424b23d8c8de6abe3ef584d5be0215a91368945d396e3c82230be1c7433a521b93419652b200a8647100
|
data/.idea/workspace.xml
CHANGED
@@ -1,16 +1,7 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
|
-
<list default="true" id="f9bd0043-1199-46c6-8cec-fbea3d254416" name="Default" comment=""
|
5
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
|
6
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/.rakeTasks" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" />
|
7
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/cocoapods-packager.iml" afterPath="$PROJECT_DIR$/.idea/cocoapods-packager.iml" />
|
8
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
9
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
10
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" afterPath="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" />
|
11
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/cocoapods_packager.rb" afterPath="$PROJECT_DIR$/lib/cocoapods_packager.rb" />
|
12
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/pod/command/package.rb" afterPath="$PROJECT_DIR$/lib/pod/command/package.rb" />
|
13
|
-
</list>
|
4
|
+
<list default="true" id="f9bd0043-1199-46c6-8cec-fbea3d254416" name="Default" comment="" />
|
14
5
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
15
6
|
<option name="TRACKING_ENABLED" value="true" />
|
16
7
|
<option name="SHOW_DIALOG" value="false" />
|
@@ -24,7 +15,7 @@
|
|
24
15
|
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
25
16
|
<component name="FileEditorManager">
|
26
17
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
27
|
-
<file leaf-file-name="cocoapods_packager.rb" pinned="false" current-in-tab="
|
18
|
+
<file leaf-file-name="cocoapods_packager.rb" pinned="false" current-in-tab="false">
|
28
19
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods_packager.rb">
|
29
20
|
<provider selected="true" editor-type-id="text-editor">
|
30
21
|
<state relative-caret-position="180">
|
@@ -34,11 +25,11 @@
|
|
34
25
|
</provider>
|
35
26
|
</entry>
|
36
27
|
</file>
|
37
|
-
<file leaf-file-name="cocoapods-packager.gemspec" pinned="false" current-in-tab="
|
28
|
+
<file leaf-file-name="cocoapods-packager.gemspec" pinned="false" current-in-tab="true">
|
38
29
|
<entry file="file://$PROJECT_DIR$/cocoapods-packager.gemspec">
|
39
30
|
<provider selected="true" editor-type-id="text-editor">
|
40
31
|
<state relative-caret-position="345">
|
41
|
-
<caret line="23" column="0" lean-forward="
|
32
|
+
<caret line="23" column="0" lean-forward="true" selection-start-line="23" selection-start-column="0" selection-end-line="23" selection-end-column="0" />
|
42
33
|
<folding />
|
43
34
|
</state>
|
44
35
|
</provider>
|
@@ -47,8 +38,18 @@
|
|
47
38
|
<file leaf-file-name="builder.rb" pinned="false" current-in-tab="false">
|
48
39
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/builder.rb">
|
49
40
|
<provider selected="true" editor-type-id="text-editor">
|
50
|
-
<state relative-caret-position="
|
51
|
-
<caret line="
|
41
|
+
<state relative-caret-position="750">
|
42
|
+
<caret line="50" column="18" lean-forward="false" selection-start-line="50" selection-start-column="16" selection-end-line="50" selection-end-column="18" />
|
43
|
+
<folding />
|
44
|
+
</state>
|
45
|
+
</provider>
|
46
|
+
</entry>
|
47
|
+
</file>
|
48
|
+
<file leaf-file-name="framework.rb" pinned="false" current-in-tab="false">
|
49
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/framework.rb">
|
50
|
+
<provider selected="true" editor-type-id="text-editor">
|
51
|
+
<state relative-caret-position="602">
|
52
|
+
<caret line="48" column="6" lean-forward="false" selection-start-line="48" selection-start-column="6" selection-end-line="48" selection-end-column="6" />
|
52
53
|
<folding />
|
53
54
|
</state>
|
54
55
|
</provider>
|
@@ -57,8 +58,8 @@
|
|
57
58
|
<file leaf-file-name="build_failed_report.rb" pinned="false" current-in-tab="false">
|
58
59
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/user_interface/build_failed_report.rb">
|
59
60
|
<provider selected="true" editor-type-id="text-editor">
|
60
|
-
<state relative-caret-position="
|
61
|
-
<caret line="
|
61
|
+
<state relative-caret-position="120">
|
62
|
+
<caret line="8" column="32" lean-forward="false" selection-start-line="8" selection-start-column="32" selection-end-line="8" selection-end-column="32" />
|
62
63
|
<folding />
|
63
64
|
</state>
|
64
65
|
</provider>
|
@@ -67,13 +68,11 @@
|
|
67
68
|
<file leaf-file-name="spec_builder.rb" pinned="false" current-in-tab="false">
|
68
69
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb">
|
69
70
|
<provider selected="true" editor-type-id="text-editor">
|
70
|
-
<state relative-caret-position="
|
71
|
-
<caret line="
|
71
|
+
<state relative-caret-position="388">
|
72
|
+
<caret line="48" column="34" lean-forward="false" selection-start-line="48" selection-start-column="34" selection-end-line="48" selection-end-column="34" />
|
72
73
|
<folding>
|
73
|
-
<marker date="
|
74
|
-
<marker date="
|
75
|
-
<marker date="1513314651000" expanded="true" signature="1326:2186" ph="{ ... }" />
|
76
|
-
<marker date="1513314651000" expanded="true" signature="1437:1622" ph="if ... end" />
|
74
|
+
<marker date="1513583582000" expanded="true" signature="30:2236" ph=" ... end" />
|
75
|
+
<marker date="1513583582000" expanded="true" signature="1207:2232" ph=" ... end" />
|
77
76
|
</folding>
|
78
77
|
</state>
|
79
78
|
</provider>
|
@@ -92,38 +91,28 @@
|
|
92
91
|
<file leaf-file-name="pod_utils.rb" pinned="false" current-in-tab="false">
|
93
92
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb">
|
94
93
|
<provider selected="true" editor-type-id="text-editor">
|
95
|
-
<state relative-caret-position="
|
96
|
-
<caret line="
|
94
|
+
<state relative-caret-position="251">
|
95
|
+
<caret line="112" column="19" lean-forward="false" selection-start-line="112" selection-start-column="8" selection-end-line="112" selection-end-column="19" />
|
97
96
|
<folding />
|
98
97
|
</state>
|
99
98
|
</provider>
|
100
99
|
</entry>
|
101
100
|
</file>
|
102
|
-
<file leaf-file-name="
|
103
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
101
|
+
<file leaf-file-name="mangle.rb" pinned="false" current-in-tab="false">
|
102
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/mangle.rb">
|
104
103
|
<provider selected="true" editor-type-id="text-editor">
|
105
|
-
<state relative-caret-position="
|
106
|
-
<caret line="
|
107
|
-
<folding />
|
108
|
-
</state>
|
109
|
-
</provider>
|
110
|
-
</entry>
|
111
|
-
</file>
|
112
|
-
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
113
|
-
<entry file="file://$PROJECT_DIR$/Rakefile">
|
114
|
-
<provider selected="true" editor-type-id="text-editor">
|
115
|
-
<state relative-caret-position="180">
|
116
|
-
<caret line="12" column="20" lean-forward="false" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
|
104
|
+
<state relative-caret-position="0">
|
105
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
117
106
|
<folding />
|
118
107
|
</state>
|
119
108
|
</provider>
|
120
109
|
</entry>
|
121
110
|
</file>
|
122
|
-
<file leaf-file-name="
|
123
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
111
|
+
<file leaf-file-name="package.rb" pinned="false" current-in-tab="false">
|
112
|
+
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
124
113
|
<provider selected="true" editor-type-id="text-editor">
|
125
|
-
<state relative-caret-position="
|
126
|
-
<caret line="
|
114
|
+
<state relative-caret-position="1185">
|
115
|
+
<caret line="79" column="42" lean-forward="false" selection-start-line="79" selection-start-column="42" selection-end-line="79" selection-end-column="42" />
|
127
116
|
<folding />
|
128
117
|
</state>
|
129
118
|
</provider>
|
@@ -139,8 +128,6 @@
|
|
139
128
|
<find>spec_platform</find>
|
140
129
|
<find>SpecBuilder</find>
|
141
130
|
<find>@static_sandbox_root</find>
|
142
|
-
<find>rc</find>
|
143
|
-
<find>rclt</find>
|
144
131
|
<find>@source_dir</find>
|
145
132
|
<find>target</find>
|
146
133
|
<find>target_dir</find>
|
@@ -151,6 +138,13 @@
|
|
151
138
|
<find>create_working_directory</find>
|
152
139
|
<find>@source</find>
|
153
140
|
<find>version</find>
|
141
|
+
<find>rclt</find>
|
142
|
+
<find>@rcltfile</find>
|
143
|
+
<find>rcltfile</find>
|
144
|
+
<find>podfile_from_spec</find>
|
145
|
+
<find>rc</find>
|
146
|
+
<find>allLocalDependencies</find>
|
147
|
+
<find>@originPath</find>
|
154
148
|
</findStrings>
|
155
149
|
</component>
|
156
150
|
<component name="Git.Settings">
|
@@ -160,10 +154,10 @@
|
|
160
154
|
<option name="CHANGED_PATHS">
|
161
155
|
<list>
|
162
156
|
<option value="$PROJECT_DIR$/lib/cocoapods-packager/builder.rb" />
|
163
|
-
<option value="$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb" />
|
164
157
|
<option value="$PROJECT_DIR$/Rakefile" />
|
165
|
-
<option value="$PROJECT_DIR$/lib/
|
158
|
+
<option value="$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb" />
|
166
159
|
<option value="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" />
|
160
|
+
<option value="$PROJECT_DIR$/lib/pod/command/package.rb" />
|
167
161
|
<option value="$PROJECT_DIR$/lib/cocoapods_packager.rb" />
|
168
162
|
</list>
|
169
163
|
</option>
|
@@ -175,8 +169,8 @@
|
|
175
169
|
<sorting>DEFINITION_ORDER</sorting>
|
176
170
|
</component>
|
177
171
|
<component name="ProjectFrameBounds">
|
178
|
-
<option name="x" value="
|
179
|
-
<option name="y" value="
|
172
|
+
<option name="x" value="279" />
|
173
|
+
<option name="y" value="104" />
|
180
174
|
<option name="width" value="1786" />
|
181
175
|
<option name="height" value="1276" />
|
182
176
|
</component>
|
@@ -195,6 +189,7 @@
|
|
195
189
|
<foldersAlwaysOnTop value="true" />
|
196
190
|
</navigator>
|
197
191
|
<panes>
|
192
|
+
<pane id="Scratches" />
|
198
193
|
<pane id="Scope" />
|
199
194
|
<pane id="ProjectPane">
|
200
195
|
<subPane>
|
@@ -294,9 +289,30 @@
|
|
294
289
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
295
290
|
</PATH_ELEMENT>
|
296
291
|
</PATH>
|
292
|
+
<PATH>
|
293
|
+
<PATH_ELEMENT>
|
294
|
+
<option name="myItemId" value="cocoapods-packager" />
|
295
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
296
|
+
</PATH_ELEMENT>
|
297
|
+
<PATH_ELEMENT>
|
298
|
+
<option name="myItemId" value="cocoapods-packager" />
|
299
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
300
|
+
</PATH_ELEMENT>
|
301
|
+
<PATH_ELEMENT>
|
302
|
+
<option name="myItemId" value="lib" />
|
303
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
304
|
+
</PATH_ELEMENT>
|
305
|
+
<PATH_ELEMENT>
|
306
|
+
<option name="myItemId" value="cocoapods-packager" />
|
307
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
308
|
+
</PATH_ELEMENT>
|
309
|
+
<PATH_ELEMENT>
|
310
|
+
<option name="myItemId" value="user_interface" />
|
311
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
312
|
+
</PATH_ELEMENT>
|
313
|
+
</PATH>
|
297
314
|
</subPane>
|
298
315
|
</pane>
|
299
|
-
<pane id="Scratches" />
|
300
316
|
</panes>
|
301
317
|
</component>
|
302
318
|
<component name="PropertiesComponent">
|
@@ -477,21 +493,24 @@
|
|
477
493
|
<workItem from="1502882903673" duration="5528000" />
|
478
494
|
<workItem from="1502963540701" duration="8771000" />
|
479
495
|
<workItem from="1504598467779" duration="3772000" />
|
480
|
-
<workItem from="1513251271905" duration="
|
496
|
+
<workItem from="1513251271905" duration="9186000" />
|
497
|
+
<workItem from="1513567675114" duration="7696000" />
|
481
498
|
</task>
|
482
499
|
<servers />
|
483
500
|
</component>
|
484
501
|
<component name="TimeTrackingManager">
|
485
|
-
<option name="totallyTimeSpent" value="
|
502
|
+
<option name="totallyTimeSpent" value="34953000" />
|
486
503
|
</component>
|
487
504
|
<component name="ToolWindowManager">
|
488
|
-
<frame x="
|
505
|
+
<frame x="279" y="104" width="1786" height="1276" extended-state="0" />
|
489
506
|
<editor active="true" />
|
490
507
|
<layout>
|
491
508
|
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.15901455" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
492
509
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
510
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3297342" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
493
511
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
494
512
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
513
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
495
514
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
496
515
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
497
516
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
@@ -499,12 +518,10 @@
|
|
499
518
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
500
519
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
501
520
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
502
|
-
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3297587" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
503
521
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
504
522
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
505
523
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
506
524
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
507
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
508
525
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
509
526
|
</layout>
|
510
527
|
</component>
|
@@ -527,6 +544,57 @@
|
|
527
544
|
<watches-manager />
|
528
545
|
</component>
|
529
546
|
<component name="editorHistoryManager">
|
547
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb">
|
548
|
+
<provider selected="true" editor-type-id="text-editor">
|
549
|
+
<state relative-caret-position="495">
|
550
|
+
<caret line="33" column="10" lean-forward="false" selection-start-line="33" selection-start-column="10" selection-end-line="33" selection-end-column="10" />
|
551
|
+
<folding>
|
552
|
+
<marker date="1513583582000" expanded="true" signature="30:2236" ph=" ... end" />
|
553
|
+
<marker date="1513583582000" expanded="true" signature="1207:2232" ph=" ... end" />
|
554
|
+
</folding>
|
555
|
+
</state>
|
556
|
+
</provider>
|
557
|
+
</entry>
|
558
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/symbols.rb">
|
559
|
+
<provider selected="true" editor-type-id="text-editor">
|
560
|
+
<state relative-caret-position="0">
|
561
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
562
|
+
<folding />
|
563
|
+
</state>
|
564
|
+
</provider>
|
565
|
+
</entry>
|
566
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb">
|
567
|
+
<provider selected="true" editor-type-id="text-editor">
|
568
|
+
<state relative-caret-position="2040">
|
569
|
+
<caret line="136" column="0" lean-forward="false" selection-start-line="136" selection-start-column="0" selection-end-line="136" selection-end-column="0" />
|
570
|
+
<folding />
|
571
|
+
</state>
|
572
|
+
</provider>
|
573
|
+
</entry>
|
574
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
575
|
+
<provider selected="true" editor-type-id="text-editor">
|
576
|
+
<state relative-caret-position="180">
|
577
|
+
<caret line="12" column="20" lean-forward="false" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
|
578
|
+
<folding />
|
579
|
+
</state>
|
580
|
+
</provider>
|
581
|
+
</entry>
|
582
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods_plugin.rb">
|
583
|
+
<provider selected="true" editor-type-id="text-editor">
|
584
|
+
<state relative-caret-position="0">
|
585
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
586
|
+
<folding />
|
587
|
+
</state>
|
588
|
+
</provider>
|
589
|
+
</entry>
|
590
|
+
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
591
|
+
<provider selected="true" editor-type-id="text-editor">
|
592
|
+
<state relative-caret-position="1380">
|
593
|
+
<caret line="92" column="65" lean-forward="false" selection-start-line="92" selection-start-column="65" selection-end-line="92" selection-end-column="65" />
|
594
|
+
<folding />
|
595
|
+
</state>
|
596
|
+
</provider>
|
597
|
+
</entry>
|
530
598
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods_packager.rb">
|
531
599
|
<provider selected="true" editor-type-id="text-editor">
|
532
600
|
<state relative-caret-position="180">
|
@@ -539,7 +607,6 @@
|
|
539
607
|
<provider selected="true" editor-type-id="text-editor">
|
540
608
|
<state relative-caret-position="60">
|
541
609
|
<caret line="4" column="11" lean-forward="false" selection-start-line="4" selection-start-column="11" selection-end-line="4" selection-end-column="11" />
|
542
|
-
<folding />
|
543
610
|
</state>
|
544
611
|
</provider>
|
545
612
|
</entry>
|
@@ -579,7 +646,6 @@
|
|
579
646
|
<provider selected="true" editor-type-id="text-editor">
|
580
647
|
<state relative-caret-position="255">
|
581
648
|
<caret line="17" column="14" lean-forward="false" selection-start-line="17" selection-start-column="14" selection-end-line="17" selection-end-column="14" />
|
582
|
-
<folding />
|
583
649
|
</state>
|
584
650
|
</provider>
|
585
651
|
</entry>
|
@@ -587,7 +653,6 @@
|
|
587
653
|
<provider selected="true" editor-type-id="text-editor">
|
588
654
|
<state relative-caret-position="0">
|
589
655
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
590
|
-
<folding />
|
591
656
|
</state>
|
592
657
|
</provider>
|
593
658
|
</entry>
|
@@ -603,7 +668,10 @@
|
|
603
668
|
<provider selected="true" editor-type-id="text-editor">
|
604
669
|
<state relative-caret-position="870">
|
605
670
|
<caret line="58" column="0" lean-forward="true" selection-start-line="58" selection-start-column="0" selection-end-line="58" selection-end-column="0" />
|
606
|
-
<folding
|
671
|
+
<folding>
|
672
|
+
<marker date="1513583582000" expanded="true" signature="30:2236" ph=" ... end" />
|
673
|
+
<marker date="1513583582000" expanded="true" signature="1207:2232" ph=" ... end" />
|
674
|
+
</folding>
|
607
675
|
</state>
|
608
676
|
</provider>
|
609
677
|
</entry>
|
@@ -619,7 +687,6 @@
|
|
619
687
|
<provider selected="true" editor-type-id="text-editor">
|
620
688
|
<state relative-caret-position="60">
|
621
689
|
<caret line="4" column="11" lean-forward="false" selection-start-line="4" selection-start-column="11" selection-end-line="4" selection-end-column="11" />
|
622
|
-
<folding />
|
623
690
|
</state>
|
624
691
|
</provider>
|
625
692
|
</entry>
|
@@ -643,7 +710,10 @@
|
|
643
710
|
<provider selected="true" editor-type-id="text-editor">
|
644
711
|
<state relative-caret-position="195">
|
645
712
|
<caret line="13" column="31" lean-forward="false" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
|
646
|
-
<folding
|
713
|
+
<folding>
|
714
|
+
<marker date="1513583582000" expanded="true" signature="30:2236" ph=" ... end" />
|
715
|
+
<marker date="1513583582000" expanded="true" signature="1207:2232" ph=" ... end" />
|
716
|
+
</folding>
|
647
717
|
</state>
|
648
718
|
</provider>
|
649
719
|
</entry>
|
@@ -667,7 +737,6 @@
|
|
667
737
|
<provider selected="true" editor-type-id="text-editor">
|
668
738
|
<state relative-caret-position="255">
|
669
739
|
<caret line="17" column="14" lean-forward="false" selection-start-line="17" selection-start-column="14" selection-end-line="17" selection-end-column="14" />
|
670
|
-
<folding />
|
671
740
|
</state>
|
672
741
|
</provider>
|
673
742
|
</entry>
|
@@ -675,7 +744,6 @@
|
|
675
744
|
<provider selected="true" editor-type-id="text-editor">
|
676
745
|
<state relative-caret-position="0">
|
677
746
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
678
|
-
<folding />
|
679
747
|
</state>
|
680
748
|
</provider>
|
681
749
|
</entry>
|
@@ -729,7 +797,10 @@
|
|
729
797
|
<provider selected="true" editor-type-id="text-editor">
|
730
798
|
<state relative-caret-position="195">
|
731
799
|
<caret line="13" column="31" lean-forward="false" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
|
732
|
-
<folding
|
800
|
+
<folding>
|
801
|
+
<marker date="1513583582000" expanded="true" signature="30:2236" ph=" ... end" />
|
802
|
+
<marker date="1513583582000" expanded="true" signature="1207:2232" ph=" ... end" />
|
803
|
+
</folding>
|
733
804
|
</state>
|
734
805
|
</provider>
|
735
806
|
</entry>
|
@@ -767,7 +838,6 @@
|
|
767
838
|
<provider selected="true" editor-type-id="text-editor">
|
768
839
|
<state relative-caret-position="60">
|
769
840
|
<caret line="4" column="11" lean-forward="false" selection-start-line="4" selection-start-column="11" selection-end-line="4" selection-end-column="11" />
|
770
|
-
<folding />
|
771
841
|
</state>
|
772
842
|
</provider>
|
773
843
|
</entry>
|
@@ -775,7 +845,6 @@
|
|
775
845
|
<provider selected="true" editor-type-id="text-editor">
|
776
846
|
<state relative-caret-position="0">
|
777
847
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
778
|
-
<folding />
|
779
848
|
</state>
|
780
849
|
</provider>
|
781
850
|
</entry>
|
@@ -783,19 +852,10 @@
|
|
783
852
|
<provider selected="true" editor-type-id="text-editor">
|
784
853
|
<state relative-caret-position="255">
|
785
854
|
<caret line="17" column="14" lean-forward="false" selection-start-line="17" selection-start-column="14" selection-end-line="17" selection-end-column="14" />
|
786
|
-
<folding />
|
787
|
-
</state>
|
788
|
-
</provider>
|
789
|
-
</entry>
|
790
|
-
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/framework.rb">
|
791
|
-
<provider selected="true" editor-type-id="text-editor">
|
792
|
-
<state relative-caret-position="720">
|
793
|
-
<caret line="48" column="6" lean-forward="false" selection-start-line="48" selection-start-column="6" selection-end-line="48" selection-end-column="6" />
|
794
|
-
<folding />
|
795
855
|
</state>
|
796
856
|
</provider>
|
797
857
|
</entry>
|
798
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
858
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods_plugin.rb">
|
799
859
|
<provider selected="true" editor-type-id="text-editor">
|
800
860
|
<state relative-caret-position="0">
|
801
861
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
@@ -803,79 +863,77 @@
|
|
803
863
|
</state>
|
804
864
|
</provider>
|
805
865
|
</entry>
|
806
|
-
<entry file="file://$PROJECT_DIR$/
|
866
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
807
867
|
<provider selected="true" editor-type-id="text-editor">
|
808
|
-
<state relative-caret-position="
|
809
|
-
<caret line="
|
868
|
+
<state relative-caret-position="180">
|
869
|
+
<caret line="12" column="20" lean-forward="false" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
|
810
870
|
<folding />
|
811
871
|
</state>
|
812
872
|
</provider>
|
813
873
|
</entry>
|
814
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
874
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/builder.rb">
|
815
875
|
<provider selected="true" editor-type-id="text-editor">
|
816
|
-
<state relative-caret-position="
|
817
|
-
<caret line="
|
876
|
+
<state relative-caret-position="750">
|
877
|
+
<caret line="50" column="18" lean-forward="false" selection-start-line="50" selection-start-column="16" selection-end-line="50" selection-end-column="18" />
|
818
878
|
<folding />
|
819
879
|
</state>
|
820
880
|
</provider>
|
821
881
|
</entry>
|
822
|
-
<entry file="file://$PROJECT_DIR$/cocoapods-packager.
|
882
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb">
|
823
883
|
<provider selected="true" editor-type-id="text-editor">
|
824
|
-
<state relative-caret-position="
|
825
|
-
<caret line="
|
884
|
+
<state relative-caret-position="251">
|
885
|
+
<caret line="112" column="19" lean-forward="false" selection-start-line="112" selection-start-column="8" selection-end-line="112" selection-end-column="19" />
|
826
886
|
<folding />
|
827
887
|
</state>
|
828
888
|
</provider>
|
829
889
|
</entry>
|
830
|
-
<entry file="file://$PROJECT_DIR$/
|
890
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/symbols.rb">
|
831
891
|
<provider selected="true" editor-type-id="text-editor">
|
832
|
-
<state relative-caret-position="
|
833
|
-
<caret line="
|
892
|
+
<state relative-caret-position="0">
|
893
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
834
894
|
<folding />
|
835
895
|
</state>
|
836
896
|
</provider>
|
837
897
|
</entry>
|
838
|
-
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/
|
898
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/mangle.rb">
|
839
899
|
<provider selected="true" editor-type-id="text-editor">
|
840
|
-
<state relative-caret-position="
|
841
|
-
<caret line="
|
900
|
+
<state relative-caret-position="0">
|
901
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
842
902
|
<folding />
|
843
903
|
</state>
|
844
904
|
</provider>
|
845
905
|
</entry>
|
846
|
-
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/
|
906
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/user_interface/build_failed_report.rb">
|
847
907
|
<provider selected="true" editor-type-id="text-editor">
|
848
|
-
<state relative-caret-position="
|
849
|
-
<caret line="
|
908
|
+
<state relative-caret-position="120">
|
909
|
+
<caret line="8" column="32" lean-forward="false" selection-start-line="8" selection-start-column="32" selection-end-line="8" selection-end-column="32" />
|
850
910
|
<folding />
|
851
911
|
</state>
|
852
912
|
</provider>
|
853
913
|
</entry>
|
854
|
-
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/
|
914
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/framework.rb">
|
855
915
|
<provider selected="true" editor-type-id="text-editor">
|
856
|
-
<state relative-caret-position="
|
857
|
-
<caret line="
|
916
|
+
<state relative-caret-position="602">
|
917
|
+
<caret line="48" column="6" lean-forward="false" selection-start-line="48" selection-start-column="6" selection-end-line="48" selection-end-column="6" />
|
858
918
|
<folding />
|
859
919
|
</state>
|
860
920
|
</provider>
|
861
921
|
</entry>
|
862
922
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb">
|
863
923
|
<provider selected="true" editor-type-id="text-editor">
|
864
|
-
<state relative-caret-position="
|
865
|
-
<caret line="
|
924
|
+
<state relative-caret-position="388">
|
925
|
+
<caret line="48" column="34" lean-forward="false" selection-start-line="48" selection-start-column="34" selection-end-line="48" selection-end-column="34" />
|
866
926
|
<folding>
|
867
|
-
<marker date="
|
868
|
-
<marker date="
|
869
|
-
<marker date="1513314651000" expanded="true" signature="1326:2186" ph="{ ... }" />
|
870
|
-
<marker date="1513314651000" expanded="true" signature="1437:1622" ph="if ... end" />
|
927
|
+
<marker date="1513583582000" expanded="true" signature="30:2236" ph=" ... end" />
|
928
|
+
<marker date="1513583582000" expanded="true" signature="1207:2232" ph=" ... end" />
|
871
929
|
</folding>
|
872
930
|
</state>
|
873
931
|
</provider>
|
874
932
|
</entry>
|
875
933
|
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
876
934
|
<provider selected="true" editor-type-id="text-editor">
|
877
|
-
<state relative-caret-position="
|
878
|
-
<caret line="
|
935
|
+
<state relative-caret-position="1185">
|
936
|
+
<caret line="79" column="42" lean-forward="false" selection-start-line="79" selection-start-column="42" selection-end-line="79" selection-end-column="42" />
|
879
937
|
<folding />
|
880
938
|
</state>
|
881
939
|
</provider>
|
@@ -888,5 +946,13 @@
|
|
888
946
|
</state>
|
889
947
|
</provider>
|
890
948
|
</entry>
|
949
|
+
<entry file="file://$PROJECT_DIR$/cocoapods-packager.gemspec">
|
950
|
+
<provider selected="true" editor-type-id="text-editor">
|
951
|
+
<state relative-caret-position="345">
|
952
|
+
<caret line="23" column="0" lean-forward="true" selection-start-line="23" selection-start-column="0" selection-end-line="23" selection-end-column="0" />
|
953
|
+
<folding />
|
954
|
+
</state>
|
955
|
+
</provider>
|
956
|
+
</entry>
|
891
957
|
</component>
|
892
958
|
</project>
|
@@ -22,7 +22,7 @@ module Pod
|
|
22
22
|
s.#{platform.name}.vendored_framework = '#{fwk_base}'
|
23
23
|
RB
|
24
24
|
|
25
|
-
%w(frameworks weak_frameworks libraries requires_arc xcconfig).each do |attribute|
|
25
|
+
%w(frameworks weak_frameworks libraries requires_arc xcconfig ).each do |attribute|
|
26
26
|
attributes_hash = @spec.attributes_hash[platform.name.to_s]
|
27
27
|
next if attributes_hash.nil?
|
28
28
|
value = attributes_hash[attribute]
|
@@ -68,7 +68,7 @@ RB
|
|
68
68
|
|
69
69
|
%w(name version summary license authors homepage description social_media_url
|
70
70
|
docset_url documentation_url screenshots frameworks weak_frameworks libraries requires_arc
|
71
|
-
deployment_target xcconfig).each do |attribute|
|
71
|
+
deployment_target xcconfig vendored_libraries vendored_frameworks).each do |attribute|
|
72
72
|
value = @spec.attributes_hash[attribute]
|
73
73
|
next if value.nil?
|
74
74
|
value = value.dump if value.class == String
|
data/lib/cocoapods_packager.rb
CHANGED
data/lib/pod/command/package.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'tmpdir'
|
2
2
|
require 'qricker'
|
3
|
+
require "FileUtils"
|
4
|
+
require 'pathname'
|
3
5
|
|
4
6
|
module Pod
|
5
7
|
class Command
|
@@ -72,12 +74,14 @@ module Pod
|
|
72
74
|
end
|
73
75
|
|
74
76
|
target_dir, work_dir = create_working_directory
|
77
|
+
@targetDir = target_dir
|
75
78
|
return if target_dir.nil?
|
76
79
|
build_package
|
77
|
-
|
78
|
-
|
80
|
+
`mv "#{work_dir}" "#{target_dir}"`
|
81
|
+
copyVandoredLibaries(@spec)
|
82
|
+
copyVendoredFrameworks(@spec)
|
79
83
|
Dir.chdir(@source_dir)
|
80
|
-
|
84
|
+
|
81
85
|
end
|
82
86
|
|
83
87
|
def targetDir
|
@@ -125,13 +129,70 @@ module Pod
|
|
125
129
|
end
|
126
130
|
end
|
127
131
|
|
132
|
+
def copyVandoredLibaries(spec)
|
133
|
+
if not @originPath.nil?
|
134
|
+
parent = Pathname(@originPath).parent
|
135
|
+
vandoredLibaries = spec.attributes_hash["vendored_libraries"]
|
136
|
+
return if vandoredLibaries.nil?
|
137
|
+
wantedCopyFile = []
|
138
|
+
|
139
|
+
if vandoredLibaries.instance_of? Array
|
140
|
+
vandoredLibaries.each { |x|
|
141
|
+
wantedCopyFile << x
|
142
|
+
}
|
143
|
+
elsif vandoredLibaries.instance_of? String
|
144
|
+
wantedCopyFile << vandoredLibaries
|
145
|
+
end
|
146
|
+
return if wantedCopyFile.count == 0
|
147
|
+
target = Pathname(@targetDir)
|
148
|
+
puts "target #{target}"
|
149
|
+
wantedCopyFile.each { |originSpec|
|
150
|
+
origin = parent.join(originSpec)
|
151
|
+
des = target.join originSpec
|
152
|
+
puts "----->Coping.... Library #{originSpec}\n"
|
153
|
+
FileUtils.mkdir_p File.dirname(des.to_path)
|
154
|
+
FileUtils.cp origin, des
|
155
|
+
puts "<------end"
|
156
|
+
}
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
def copyVendoredFrameworks(spec)
|
161
|
+
if not @originPath.nil?
|
162
|
+
parent = Pathname(@originPath).parent
|
163
|
+
vandoredLibaries = spec.attributes_hash["vendored_frameworks"]
|
164
|
+
return if vandoredLibaries.nil?
|
165
|
+
wantedCopyFile = []
|
166
|
+
|
167
|
+
if vandoredLibaries.instance_of? Array
|
168
|
+
vandoredLibaries.each { |x|
|
169
|
+
wantedCopyFile << x
|
170
|
+
}
|
171
|
+
elsif vandoredLibaries.instance_of? String
|
172
|
+
wantedCopyFile << vandoredLibaries
|
173
|
+
end
|
174
|
+
return if wantedCopyFile.count == 0
|
175
|
+
target = Pathname(@targetDir)
|
176
|
+
puts "target #{target}"
|
177
|
+
wantedCopyFile.each { |originSpec|
|
178
|
+
origin = parent.join(originSpec)
|
179
|
+
des = target.join originSpec
|
180
|
+
puts "----->Coping.... Frameworks #{originSpec}\n"
|
181
|
+
FileUtils.mkdir_p File.dirname(des.to_path)
|
182
|
+
FileUtils.cp_r origin, des
|
183
|
+
puts "<------end"
|
184
|
+
}
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
|
189
|
+
|
128
190
|
def build_package
|
129
191
|
builder = SpecBuilder.new(@spec, @source, @embedded, @dynamic)
|
130
192
|
newspec = builder.spec_metadata
|
131
193
|
|
132
194
|
@spec.available_platforms.each do |platform|
|
133
195
|
build_in_sandbox(platform)
|
134
|
-
|
135
196
|
newspec += builder.spec_platform(platform)
|
136
197
|
end
|
137
198
|
|
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.5
|
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: 2017-12-
|
12
|
+
date: 2017-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods
|