PortalShip 0.1.0
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 +7 -0
- data/.gitignore +8 -0
- data/.idea/misc.xml +6 -0
- data/.idea/modules.xml +8 -0
- data/.idea/workspace.xml +625 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/PortalShip.gemspec +35 -0
- data/PortalShip.iml +82 -0
- data/README.md +39 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/portalship +104 -0
- data/bin/setup +8 -0
- data/lib/portal_ship.rb +23 -0
- data/lib/portalship/spaceship.rb +8 -0
- data/lib/portalship/version.rb +3 -0
- metadata +122 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9255f8c45466bbea79b650fadba3c659b31fd098
|
4
|
+
data.tar.gz: dbb3e81a57343353e726498cd3169fb75063031c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 994a7c53c96d70e46be26e32206a8cc0893926acfb1f18528660dc1887e5c9dd9d752131d85f3c964405d01b9dddff04f0af26865c9c95cb0bcc44a20c4ef3f3
|
7
|
+
data.tar.gz: 95755b2504373d60672e8d5894d29e9611cc4d88db1b36a0cfdb4b5edaf4e5907616312ed7b23963b29cee8ddb6742a6ca6ae0a0530db2fc1730fb1fa8e36e6b
|
data/.gitignore
ADDED
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,625 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="a24c73c2-ff56-45cc-b034-bec8c90e440f" name="Default" comment="">
|
5
|
+
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
6
|
+
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
7
|
+
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
|
8
|
+
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
9
|
+
<change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
|
10
|
+
<change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
|
11
|
+
<change afterPath="$PROJECT_DIR$/PortalShip.gemspec" afterDir="false" />
|
12
|
+
<change afterPath="$PROJECT_DIR$/PortalShip.iml" afterDir="false" />
|
13
|
+
<change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
14
|
+
<change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
|
15
|
+
<change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
|
16
|
+
<change afterPath="$PROJECT_DIR$/bin/portalship" afterDir="false" />
|
17
|
+
<change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
|
18
|
+
<change afterPath="$PROJECT_DIR$/lib/portal_ship.rb" afterDir="false" />
|
19
|
+
<change afterPath="$PROJECT_DIR$/lib/portalship/spaceship.rb" afterDir="false" />
|
20
|
+
<change afterPath="$PROJECT_DIR$/lib/portalship/version.rb" afterDir="false" />
|
21
|
+
</list>
|
22
|
+
<ignored path="$PROJECT_DIR$/out/" />
|
23
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
24
|
+
<option name="TRACKING_ENABLED" value="true" />
|
25
|
+
<option name="SHOW_DIALOG" value="false" />
|
26
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
27
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
28
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
29
|
+
</component>
|
30
|
+
<component name="CoverageDataManager">
|
31
|
+
<SUITE FILE_PATH="coverage/PortalShip@Run_Script.rcov" NAME="Run Script Coverage Results" MODIFIED="1525098292179" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" MODULE_NAME="PortalShip" />
|
32
|
+
</component>
|
33
|
+
<component name="FavoritesManager">
|
34
|
+
<favorites_list name="PortalShip" />
|
35
|
+
</component>
|
36
|
+
<component name="FileEditorManager">
|
37
|
+
<leaf>
|
38
|
+
<file leaf-file-name="portal_ship.rb" pinned="false" current-in-tab="false">
|
39
|
+
<entry file="file://$PROJECT_DIR$/lib/portal_ship.rb">
|
40
|
+
<provider selected="true" editor-type-id="text-editor">
|
41
|
+
<state relative-caret-position="165">
|
42
|
+
<caret line="11" column="22" selection-start-line="11" selection-start-column="22" selection-end-line="11" selection-end-column="22" />
|
43
|
+
</state>
|
44
|
+
</provider>
|
45
|
+
</entry>
|
46
|
+
</file>
|
47
|
+
<file leaf-file-name="portalship" pinned="false" current-in-tab="false">
|
48
|
+
<entry file="file://$PROJECT_DIR$/bin/portalship">
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
50
|
+
<state relative-caret-position="967">
|
51
|
+
<caret line="82" column="46" selection-start-line="82" selection-start-column="46" selection-end-line="82" selection-end-column="46" />
|
52
|
+
</state>
|
53
|
+
</provider>
|
54
|
+
</entry>
|
55
|
+
</file>
|
56
|
+
<file leaf-file-name="gem_helper.rb" pinned="false" current-in-tab="false">
|
57
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/bundler-1.16.1/lib/bundler/gem_helper.rb">
|
58
|
+
<provider selected="true" editor-type-id="text-editor">
|
59
|
+
<state relative-caret-position="117">
|
60
|
+
<caret line="176" selection-start-line="176" selection-end-line="176" />
|
61
|
+
</state>
|
62
|
+
</provider>
|
63
|
+
</entry>
|
64
|
+
</file>
|
65
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
66
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
67
|
+
<provider selected="true" editor-type-id="text-editor" />
|
68
|
+
</entry>
|
69
|
+
</file>
|
70
|
+
<file leaf-file-name="PortalShip.gemspec" pinned="false" current-in-tab="true">
|
71
|
+
<entry file="file://$PROJECT_DIR$/PortalShip.gemspec">
|
72
|
+
<provider selected="true" editor-type-id="text-editor">
|
73
|
+
<state relative-caret-position="195">
|
74
|
+
<caret line="13" column="31" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
|
75
|
+
</state>
|
76
|
+
</provider>
|
77
|
+
</entry>
|
78
|
+
</file>
|
79
|
+
</leaf>
|
80
|
+
</component>
|
81
|
+
<component name="FileTemplateManagerImpl">
|
82
|
+
<option name="RECENT_TEMPLATES">
|
83
|
+
<list>
|
84
|
+
<option value="Ruby Class Template" />
|
85
|
+
</list>
|
86
|
+
</option>
|
87
|
+
</component>
|
88
|
+
<component name="FindInProjectRecents">
|
89
|
+
<findStrings>
|
90
|
+
<find>gem.files.grep</find>
|
91
|
+
<find>supportUrl</find>
|
92
|
+
<find>support_url</find>
|
93
|
+
<find>screenshot</find>
|
94
|
+
<find>915</find>
|
95
|
+
<find>2208</find>
|
96
|
+
</findStrings>
|
97
|
+
</component>
|
98
|
+
<component name="Git.Settings">
|
99
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
100
|
+
</component>
|
101
|
+
<component name="IdeDocumentHistory">
|
102
|
+
<option name="CHANGED_PATHS">
|
103
|
+
<list>
|
104
|
+
<option value="$PROJECT_DIR$/lib/PortalShip/spaceship.rb" />
|
105
|
+
<option value="$PROJECT_DIR$/lib/PortalShip.rb" />
|
106
|
+
<option value="$PROJECT_DIR$/lib/portalship/spaceship.rb" />
|
107
|
+
<option value="$PROJECT_DIR$/lib/portal_ship.rb" />
|
108
|
+
<option value="$PROJECT_DIR$/bin/portalship" />
|
109
|
+
<option value="$PROJECT_DIR$/PortalShip.gemspec" />
|
110
|
+
</list>
|
111
|
+
</option>
|
112
|
+
</component>
|
113
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
114
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
115
|
+
<component name="JsGulpfileManager">
|
116
|
+
<detection-done>true</detection-done>
|
117
|
+
<sorting>DEFINITION_ORDER</sorting>
|
118
|
+
</component>
|
119
|
+
<component name="NodePackageJsonFileManager">
|
120
|
+
<packageJsonPaths />
|
121
|
+
</component>
|
122
|
+
<component name="ProjectFrameBounds" extendedState="6">
|
123
|
+
<option name="x" value="-1376" />
|
124
|
+
<option name="y" value="-53" />
|
125
|
+
<option name="width" value="1920" />
|
126
|
+
<option name="height" value="1057" />
|
127
|
+
</component>
|
128
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
129
|
+
<ConfirmationsSetting value="2" id="Add" />
|
130
|
+
</component>
|
131
|
+
<component name="ProjectView">
|
132
|
+
<navigator proportions="" version="1">
|
133
|
+
<foldersAlwaysOnTop value="true" />
|
134
|
+
</navigator>
|
135
|
+
<panes>
|
136
|
+
<pane id="ProjectPane">
|
137
|
+
<subPane>
|
138
|
+
<expand>
|
139
|
+
<path>
|
140
|
+
<item name="PortalShip" type="b2602c69:ProjectViewProjectNode" />
|
141
|
+
<item name="PortalShip" type="462c0819:PsiDirectoryNode" />
|
142
|
+
</path>
|
143
|
+
<path>
|
144
|
+
<item name="PortalShip" type="b2602c69:ProjectViewProjectNode" />
|
145
|
+
<item name="PortalShip" type="462c0819:PsiDirectoryNode" />
|
146
|
+
<item name="bin" type="462c0819:PsiDirectoryNode" />
|
147
|
+
</path>
|
148
|
+
<path>
|
149
|
+
<item name="PortalShip" type="b2602c69:ProjectViewProjectNode" />
|
150
|
+
<item name="PortalShip" type="462c0819:PsiDirectoryNode" />
|
151
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
152
|
+
</path>
|
153
|
+
<path>
|
154
|
+
<item name="PortalShip" type="b2602c69:ProjectViewProjectNode" />
|
155
|
+
<item name="PortalShip" type="462c0819:PsiDirectoryNode" />
|
156
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
157
|
+
<item name="portalship" type="462c0819:PsiDirectoryNode" />
|
158
|
+
</path>
|
159
|
+
<path>
|
160
|
+
<item name="PortalShip" type="b2602c69:ProjectViewProjectNode" />
|
161
|
+
<item name="PortalShip" type="462c0819:PsiDirectoryNode" />
|
162
|
+
<item name="pkg" type="462c0819:PsiDirectoryNode" />
|
163
|
+
</path>
|
164
|
+
</expand>
|
165
|
+
<select />
|
166
|
+
</subPane>
|
167
|
+
</pane>
|
168
|
+
<pane id="Scope" />
|
169
|
+
<pane id="PackagesPane" />
|
170
|
+
<pane id="AndroidView" />
|
171
|
+
</panes>
|
172
|
+
</component>
|
173
|
+
<component name="PropertiesComponent">
|
174
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
175
|
+
<property name="aspect.path.notification.shown" value="true" />
|
176
|
+
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
177
|
+
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
178
|
+
<property name="project.structure.last.edited" value="Modules" />
|
179
|
+
<property name="project.structure.proportion" value="0.15" />
|
180
|
+
<property name="project.structure.side.proportion" value="0.2" />
|
181
|
+
<property name="settings.editor.selected.configurable" value="preferences.fileTypes" />
|
182
|
+
</component>
|
183
|
+
<component name="RunDashboard">
|
184
|
+
<option name="ruleStates">
|
185
|
+
<list>
|
186
|
+
<RuleState>
|
187
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
188
|
+
</RuleState>
|
189
|
+
<RuleState>
|
190
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
191
|
+
</RuleState>
|
192
|
+
</list>
|
193
|
+
</option>
|
194
|
+
</component>
|
195
|
+
<component name="RunManager">
|
196
|
+
<configuration default="true" type="Application" factoryName="Application">
|
197
|
+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
198
|
+
</configuration>
|
199
|
+
<configuration default="true" type="JUnit" factoryName="JUnit">
|
200
|
+
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
201
|
+
<option name="ALTERNATIVE_JRE_PATH" />
|
202
|
+
<option name="PACKAGE_NAME" />
|
203
|
+
<option name="MAIN_CLASS_NAME" />
|
204
|
+
<option name="METHOD_NAME" />
|
205
|
+
<option name="TEST_OBJECT" value="class" />
|
206
|
+
<option name="VM_PARAMETERS" value="-ea" />
|
207
|
+
<option name="PARAMETERS" />
|
208
|
+
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
|
209
|
+
<option name="PASS_PARENT_ENVS" value="true" />
|
210
|
+
<option name="TEST_SEARCH_SCOPE">
|
211
|
+
<value defaultName="singleModule" />
|
212
|
+
</option>
|
213
|
+
<patterns />
|
214
|
+
</configuration>
|
215
|
+
<configuration name="Run Script" type="RubyRunConfigurationType" factoryName="Ruby">
|
216
|
+
<module name="PortalShip" />
|
217
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
218
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
219
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
220
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
221
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
222
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
223
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
224
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
225
|
+
<COVERAGE_PATTERN ENABLED="true">
|
226
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
227
|
+
</COVERAGE_PATTERN>
|
228
|
+
</EXTENSION>
|
229
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$PROJECT_DIR$/bin/portalship" />
|
230
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="-u eduardothejordi@gmail.com -p Eduardotheman1 -a testap.for.yo" />
|
231
|
+
</configuration>
|
232
|
+
<configuration default="true" type="TestNG" factoryName="TestNG">
|
233
|
+
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
234
|
+
<option name="ALTERNATIVE_JRE_PATH" />
|
235
|
+
<option name="SUITE_NAME" />
|
236
|
+
<option name="PACKAGE_NAME" />
|
237
|
+
<option name="MAIN_CLASS_NAME" />
|
238
|
+
<option name="METHOD_NAME" />
|
239
|
+
<option name="GROUP_NAME" />
|
240
|
+
<option name="TEST_OBJECT" value="CLASS" />
|
241
|
+
<option name="VM_PARAMETERS" value="-ea" />
|
242
|
+
<option name="PARAMETERS" />
|
243
|
+
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
|
244
|
+
<option name="OUTPUT_DIRECTORY" />
|
245
|
+
<option name="PASS_PARENT_ENVS" value="true" />
|
246
|
+
<option name="TEST_SEARCH_SCOPE">
|
247
|
+
<value defaultName="singleModule" />
|
248
|
+
</option>
|
249
|
+
<option name="USE_DEFAULT_REPORTERS" value="false" />
|
250
|
+
<option name="PROPERTIES_FILE" />
|
251
|
+
<properties />
|
252
|
+
<listeners />
|
253
|
+
</configuration>
|
254
|
+
</component>
|
255
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
256
|
+
<component name="SvnConfiguration">
|
257
|
+
<configuration />
|
258
|
+
</component>
|
259
|
+
<component name="TaskManager">
|
260
|
+
<task active="true" id="Default" summary="Default task">
|
261
|
+
<changelist id="a24c73c2-ff56-45cc-b034-bec8c90e440f" name="Default" comment="" />
|
262
|
+
<created>1525075933027</created>
|
263
|
+
<option name="number" value="Default" />
|
264
|
+
<option name="presentableId" value="Default" />
|
265
|
+
<updated>1525075933027</updated>
|
266
|
+
<workItem from="1525075987680" duration="11768000" />
|
267
|
+
</task>
|
268
|
+
<servers />
|
269
|
+
</component>
|
270
|
+
<component name="TimeTrackingManager">
|
271
|
+
<option name="totallyTimeSpent" value="11768000" />
|
272
|
+
</component>
|
273
|
+
<component name="ToolWindowManager">
|
274
|
+
<frame x="-1920" y="-157" width="1920" height="1057" extended-state="6" />
|
275
|
+
<editor active="true" />
|
276
|
+
<layout>
|
277
|
+
<window_info anchor="right" id="Palette" />
|
278
|
+
<window_info anchor="bottom" id="TODO" order="6" />
|
279
|
+
<window_info anchor="bottom" id="Messages" />
|
280
|
+
<window_info anchor="right" id="Palette	" />
|
281
|
+
<window_info id="Image Layers" />
|
282
|
+
<window_info anchor="right" id="Capture Analysis" />
|
283
|
+
<window_info anchor="bottom" id="Event Log" sideWeight="0.5021299" side_tool="true" visible="true" weight="0.32916668" />
|
284
|
+
<window_info anchor="right" id="Maven Projects" />
|
285
|
+
<window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
|
286
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.49893504" weight="0.32916668" />
|
287
|
+
<window_info anchor="bottom" id="Version Control" sideWeight="0.49946752" weight="0.32916668" />
|
288
|
+
<window_info active="true" anchor="bottom" id="Terminal" sideWeight="0.4978701" visible="true" weight="0.32916668" />
|
289
|
+
<window_info id="Capture Tool" />
|
290
|
+
<window_info id="Designer" />
|
291
|
+
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.4984472" visible="true" weight="0.24973376" />
|
292
|
+
<window_info anchor="right" id="Database" />
|
293
|
+
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49946752" weight="0.32916668" />
|
294
|
+
<window_info anchor="right" id="SciView" />
|
295
|
+
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
296
|
+
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
297
|
+
<window_info id="UI Designer" />
|
298
|
+
<window_info anchor="right" id="Theme Preview" />
|
299
|
+
<window_info anchor="bottom" id="Debug" order="3" sideWeight="0.4968051" weight="0.4" />
|
300
|
+
<window_info id="Favorites" sideWeight="0.5015528" side_tool="true" weight="0.24973376" />
|
301
|
+
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
302
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
303
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
304
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
305
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
306
|
+
</layout>
|
307
|
+
</component>
|
308
|
+
<component name="TypeScriptGeneratedFilesManager">
|
309
|
+
<option name="version" value="1" />
|
310
|
+
</component>
|
311
|
+
<component name="VcsContentAnnotationSettings">
|
312
|
+
<option name="myLimit" value="2678400000" />
|
313
|
+
</component>
|
314
|
+
<component name="VcsManagerConfiguration">
|
315
|
+
<ignored-roots>
|
316
|
+
<path value="$PROJECT_DIR$/PortalShip" />
|
317
|
+
</ignored-roots>
|
318
|
+
</component>
|
319
|
+
<component name="XDebuggerManager">
|
320
|
+
<breakpoint-manager>
|
321
|
+
<option name="time" value="15" />
|
322
|
+
</breakpoint-manager>
|
323
|
+
<watches-manager>
|
324
|
+
<configuration name="RubyRunConfigurationType">
|
325
|
+
<watch expression="lang" />
|
326
|
+
</configuration>
|
327
|
+
</watches-manager>
|
328
|
+
</component>
|
329
|
+
<component name="debuggerHistoryManager">
|
330
|
+
<expressions id="evaluateExpression">
|
331
|
+
<expression>
|
332
|
+
<expression-string>temp.path</expression-string>
|
333
|
+
<language-id>ruby</language-id>
|
334
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
335
|
+
</expression>
|
336
|
+
<expression>
|
337
|
+
<expression-string>File.extname(url)</expression-string>
|
338
|
+
<language-id>ruby</language-id>
|
339
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
340
|
+
</expression>
|
341
|
+
<expression>
|
342
|
+
<expression-string>file.path</expression-string>
|
343
|
+
<language-id>ruby</language-id>
|
344
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
345
|
+
</expression>
|
346
|
+
<expression>
|
347
|
+
<expression-string>url</expression-string>
|
348
|
+
<language-id>ruby</language-id>
|
349
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
350
|
+
</expression>
|
351
|
+
<expression>
|
352
|
+
<expression-string>url =~ /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$/ix</expression-string>
|
353
|
+
<language-id>ruby</language-id>
|
354
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
355
|
+
</expression>
|
356
|
+
<expression>
|
357
|
+
<expression-string>"http://test.com" =~ /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$/ix</expression-string>
|
358
|
+
<language-id>ruby</language-id>
|
359
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
360
|
+
</expression>
|
361
|
+
<expression>
|
362
|
+
<expression-string>screenshot.url</expression-string>
|
363
|
+
<language-id>ruby</language-id>
|
364
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
365
|
+
</expression>
|
366
|
+
<expression>
|
367
|
+
<expression-string>screenshot['url']</expression-string>
|
368
|
+
<language-id>ruby</language-id>
|
369
|
+
<evaluation-mode>EXPRESSION</evaluation-mode>
|
370
|
+
</expression>
|
371
|
+
</expressions>
|
372
|
+
</component>
|
373
|
+
<component name="editorHistoryManager">
|
374
|
+
<entry file="file://$PROJECT_DIR$/PortalShip.iml">
|
375
|
+
<provider selected="true" editor-type-id="text-editor">
|
376
|
+
<state relative-caret-position="120">
|
377
|
+
<caret line="8" column="22" lean-forward="true" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
378
|
+
</state>
|
379
|
+
</provider>
|
380
|
+
</entry>
|
381
|
+
<entry file="file://$PROJECT_DIR$/bin/setup">
|
382
|
+
<provider selected="true" editor-type-id="text-editor" />
|
383
|
+
</entry>
|
384
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
385
|
+
<provider selected="true" editor-type-id="text-editor">
|
386
|
+
<state>
|
387
|
+
<caret column="19" selection-end-column="19" />
|
388
|
+
</state>
|
389
|
+
</provider>
|
390
|
+
</entry>
|
391
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
392
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
393
|
+
<state split_layout="SPLIT">
|
394
|
+
<first_editor />
|
395
|
+
<second_editor />
|
396
|
+
</state>
|
397
|
+
</provider>
|
398
|
+
</entry>
|
399
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
400
|
+
<provider selected="true" editor-type-id="text-editor" />
|
401
|
+
</entry>
|
402
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
403
|
+
<provider selected="true" editor-type-id="text-editor">
|
404
|
+
<state relative-caret-position="300">
|
405
|
+
<caret line="20" column="30" lean-forward="true" selection-start-line="20" selection-start-column="30" selection-end-line="20" selection-end-column="30" />
|
406
|
+
</state>
|
407
|
+
</provider>
|
408
|
+
</entry>
|
409
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/README.md">
|
410
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
411
|
+
<state split_layout="SPLIT">
|
412
|
+
<first_editor relative-caret-position="90">
|
413
|
+
<caret line="6" column="5" lean-forward="true" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
|
414
|
+
</first_editor>
|
415
|
+
<second_editor />
|
416
|
+
</state>
|
417
|
+
</provider>
|
418
|
+
</entry>
|
419
|
+
<entry file="file:///System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb">
|
420
|
+
<provider selected="true" editor-type-id="text-editor">
|
421
|
+
<state relative-caret-position="176">
|
422
|
+
<caret line="54" selection-start-line="54" selection-end-line="54" />
|
423
|
+
</state>
|
424
|
+
</provider>
|
425
|
+
</entry>
|
426
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/tunes/spaceship.rb">
|
427
|
+
<provider selected="true" editor-type-id="text-editor">
|
428
|
+
<state relative-caret-position="206">
|
429
|
+
<caret line="22" column="10" selection-start-line="22" selection-start-column="10" selection-end-line="22" selection-end-column="10" />
|
430
|
+
</state>
|
431
|
+
</provider>
|
432
|
+
</entry>
|
433
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/tunes/application.rb">
|
434
|
+
<provider selected="true" editor-type-id="text-editor">
|
435
|
+
<state relative-caret-position="183">
|
436
|
+
<caret line="70" column="12" selection-start-line="70" selection-start-column="12" selection-end-line="70" selection-end-column="12" />
|
437
|
+
</state>
|
438
|
+
</provider>
|
439
|
+
</entry>
|
440
|
+
<entry file="file://$PROJECT_DIR$/lib/portalship/spaceship.rb">
|
441
|
+
<provider selected="true" editor-type-id="text-editor">
|
442
|
+
<state relative-caret-position="75">
|
443
|
+
<caret line="5" column="7" lean-forward="true" selection-start-line="5" selection-start-column="7" selection-end-line="5" selection-end-column="7" />
|
444
|
+
</state>
|
445
|
+
</provider>
|
446
|
+
</entry>
|
447
|
+
<entry file="file://$PROJECT_DIR$/lib/portalship/version.rb">
|
448
|
+
<provider selected="true" editor-type-id="text-editor">
|
449
|
+
<state>
|
450
|
+
<caret column="17" selection-start-column="7" selection-end-column="17" />
|
451
|
+
</state>
|
452
|
+
</provider>
|
453
|
+
</entry>
|
454
|
+
<entry file="file://$APPLICATION_PLUGINS_DIR$/ruby/rubystubs/rubystubs23/object.rb">
|
455
|
+
<provider selected="true" editor-type-id="text-editor">
|
456
|
+
<state relative-caret-position="183">
|
457
|
+
<caret line="258" column="8" selection-start-line="258" selection-start-column="8" selection-end-line="258" selection-end-column="8" />
|
458
|
+
</state>
|
459
|
+
</provider>
|
460
|
+
</entry>
|
461
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/tunes/tunes_client.rb">
|
462
|
+
<provider selected="true" editor-type-id="text-editor">
|
463
|
+
<state relative-caret-position="10202">
|
464
|
+
<caret line="712" column="43" selection-start-line="712" selection-start-column="43" selection-end-line="712" selection-end-column="43" />
|
465
|
+
</state>
|
466
|
+
</provider>
|
467
|
+
</entry>
|
468
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/tunes/app_trailer.rb">
|
469
|
+
<provider selected="true" editor-type-id="text-editor">
|
470
|
+
<state relative-caret-position="183">
|
471
|
+
<caret line="20" column="6" selection-start-line="20" selection-start-column="6" selection-end-line="20" selection-end-column="6" />
|
472
|
+
</state>
|
473
|
+
</provider>
|
474
|
+
</entry>
|
475
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/deliver/lib/deliver/upload_screenshots.rb">
|
476
|
+
<provider selected="true" editor-type-id="text-editor">
|
477
|
+
<state relative-caret-position="174">
|
478
|
+
<caret line="61" lean-forward="true" selection-start-line="61" selection-end-line="62" selection-end-column="57" />
|
479
|
+
</state>
|
480
|
+
</provider>
|
481
|
+
</entry>
|
482
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/core_ext/name_error.rb">
|
483
|
+
<provider selected="true" editor-type-id="text-editor">
|
484
|
+
<state relative-caret-position="135">
|
485
|
+
<caret line="9" selection-start-line="9" selection-end-line="9" />
|
486
|
+
</state>
|
487
|
+
</provider>
|
488
|
+
</entry>
|
489
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/tunes/app_details.rb">
|
490
|
+
<provider selected="true" editor-type-id="text-editor">
|
491
|
+
<state relative-caret-position="138">
|
492
|
+
<caret line="20" column="27" selection-start-line="20" selection-start-column="19" selection-end-line="20" selection-end-column="27" />
|
493
|
+
</state>
|
494
|
+
</provider>
|
495
|
+
</entry>
|
496
|
+
<entry file="file:///System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb">
|
497
|
+
<provider selected="true" editor-type-id="text-editor">
|
498
|
+
<state relative-caret-position="183">
|
499
|
+
<caret line="854" selection-start-line="854" selection-end-line="854" />
|
500
|
+
</state>
|
501
|
+
</provider>
|
502
|
+
</entry>
|
503
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/tunes/app_version.rb">
|
504
|
+
<provider selected="true" editor-type-id="text-editor">
|
505
|
+
<state relative-caret-position="4384">
|
506
|
+
<caret line="487" column="10" selection-start-line="487" selection-start-column="10" selection-end-line="487" selection-end-column="10" />
|
507
|
+
</state>
|
508
|
+
</provider>
|
509
|
+
</entry>
|
510
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/fastlane-2.93.1/spaceship/lib/spaceship/du/du_client.rb">
|
511
|
+
<provider selected="true" editor-type-id="text-editor">
|
512
|
+
<state relative-caret-position="295">
|
513
|
+
<caret line="145" lean-forward="true" selection-start-line="145" selection-end-line="145" />
|
514
|
+
</state>
|
515
|
+
</provider>
|
516
|
+
</entry>
|
517
|
+
<entry file="file:///Library/Ruby/Gems/2.3.0/gems/bundler-1.16.1/lib/bundler/gem_helper.rb">
|
518
|
+
<provider selected="true" editor-type-id="text-editor">
|
519
|
+
<state relative-caret-position="117">
|
520
|
+
<caret line="176" selection-start-line="176" selection-end-line="176" />
|
521
|
+
</state>
|
522
|
+
</provider>
|
523
|
+
</entry>
|
524
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
525
|
+
<provider selected="true" editor-type-id="text-editor" />
|
526
|
+
</entry>
|
527
|
+
<entry file="file://$PROJECT_DIR$/lib/portal_ship.rb">
|
528
|
+
<provider selected="true" editor-type-id="text-editor">
|
529
|
+
<state relative-caret-position="165">
|
530
|
+
<caret line="11" column="22" selection-start-line="11" selection-start-column="22" selection-end-line="11" selection-end-column="22" />
|
531
|
+
</state>
|
532
|
+
</provider>
|
533
|
+
</entry>
|
534
|
+
<entry file="file://$PROJECT_DIR$/bin/portalship">
|
535
|
+
<provider selected="true" editor-type-id="text-editor">
|
536
|
+
<state relative-caret-position="967">
|
537
|
+
<caret line="82" column="46" selection-start-line="82" selection-start-column="46" selection-end-line="82" selection-end-column="46" />
|
538
|
+
</state>
|
539
|
+
</provider>
|
540
|
+
</entry>
|
541
|
+
<entry file="file://$PROJECT_DIR$/PortalShip.gemspec">
|
542
|
+
<provider selected="true" editor-type-id="text-editor">
|
543
|
+
<state relative-caret-position="195">
|
544
|
+
<caret line="13" column="31" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
|
545
|
+
</state>
|
546
|
+
</provider>
|
547
|
+
</entry>
|
548
|
+
</component>
|
549
|
+
<component name="masterDetails">
|
550
|
+
<states>
|
551
|
+
<state key="ArtifactsStructureConfigurable.UI">
|
552
|
+
<settings>
|
553
|
+
<artifact-editor />
|
554
|
+
<splitter-proportions>
|
555
|
+
<option name="proportions">
|
556
|
+
<list>
|
557
|
+
<option value="0.2" />
|
558
|
+
</list>
|
559
|
+
</option>
|
560
|
+
</splitter-proportions>
|
561
|
+
</settings>
|
562
|
+
</state>
|
563
|
+
<state key="FacetStructureConfigurable.UI">
|
564
|
+
<settings>
|
565
|
+
<last-edited>Python</last-edited>
|
566
|
+
<splitter-proportions>
|
567
|
+
<option name="proportions">
|
568
|
+
<list>
|
569
|
+
<option value="0.2" />
|
570
|
+
</list>
|
571
|
+
</option>
|
572
|
+
</splitter-proportions>
|
573
|
+
</settings>
|
574
|
+
</state>
|
575
|
+
<state key="GlobalLibrariesConfigurable.UI">
|
576
|
+
<settings>
|
577
|
+
<last-edited>activesupport (v4.2.10, ruby-2.3.3-p222) [gem]</last-edited>
|
578
|
+
<splitter-proportions>
|
579
|
+
<option name="proportions">
|
580
|
+
<list>
|
581
|
+
<option value="0.2" />
|
582
|
+
</list>
|
583
|
+
</option>
|
584
|
+
</splitter-proportions>
|
585
|
+
</settings>
|
586
|
+
</state>
|
587
|
+
<state key="JdkListConfigurable.UI">
|
588
|
+
<settings>
|
589
|
+
<last-edited>Python 2.7 (Playo)</last-edited>
|
590
|
+
<splitter-proportions>
|
591
|
+
<option name="proportions">
|
592
|
+
<list>
|
593
|
+
<option value="0.2" />
|
594
|
+
</list>
|
595
|
+
</option>
|
596
|
+
</splitter-proportions>
|
597
|
+
</settings>
|
598
|
+
</state>
|
599
|
+
<state key="ModuleStructureConfigurable.UI">
|
600
|
+
<settings>
|
601
|
+
<last-edited>PortalShip</last-edited>
|
602
|
+
<splitter-proportions>
|
603
|
+
<option name="proportions">
|
604
|
+
<list>
|
605
|
+
<option value="0.2" />
|
606
|
+
<option value="0.5" />
|
607
|
+
</list>
|
608
|
+
</option>
|
609
|
+
</splitter-proportions>
|
610
|
+
</settings>
|
611
|
+
</state>
|
612
|
+
<state key="ProjectLibrariesConfigurable.UI">
|
613
|
+
<settings>
|
614
|
+
<splitter-proportions>
|
615
|
+
<option name="proportions">
|
616
|
+
<list>
|
617
|
+
<option value="0.2" />
|
618
|
+
</list>
|
619
|
+
</option>
|
620
|
+
</splitter-proportions>
|
621
|
+
</settings>
|
622
|
+
</state>
|
623
|
+
</states>
|
624
|
+
</component>
|
625
|
+
</project>
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at TODO: Write your email address. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/PortalShip.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'PortalShip/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'PortalShip'
|
8
|
+
spec.version = PortalShip::VERSION
|
9
|
+
spec.authors = ['PortalShip']
|
10
|
+
spec.email = ['info@portalship.io']
|
11
|
+
|
12
|
+
spec.summary = 'Tool for upload metadata to iTunes Portal'
|
13
|
+
spec.description = 'Tool for upload metadata to iTunes Portal'
|
14
|
+
spec.homepage = 'http://portalship.io'
|
15
|
+
|
16
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
+
# if spec.respond_to?(:metadata)
|
19
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
20
|
+
# else
|
21
|
+
# raise 'RubyGems 2.0 or newer is required to protect against ' \
|
22
|
+
# 'public gem pushes.'
|
23
|
+
# end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
26
|
+
f.match(%r{^(test|spec|features)/})
|
27
|
+
end
|
28
|
+
spec.executables = ['portalship']
|
29
|
+
spec.require_paths = ['lib']
|
30
|
+
|
31
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
32
|
+
spec.add_development_dependency 'colorize', '~> 0.8.1'
|
33
|
+
spec.add_development_dependency 'fastlane', '~> 2.93', '>= 2.93.1'
|
34
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
35
|
+
end
|
data/PortalShip.iml
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="Python" name="Python">
|
5
|
+
<configuration sdkName="Python 2.7 (Playo)" />
|
6
|
+
</facet>
|
7
|
+
</component>
|
8
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
9
|
+
<exclude-output />
|
10
|
+
<content url="file://$MODULE_DIR$">
|
11
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/cache" />
|
12
|
+
</content>
|
13
|
+
<orderEntry type="jdk" jdkName="ruby-2.3.3-p222" jdkType="RUBY_SDK" />
|
14
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
15
|
+
<orderEntry type="library" name="Python 2.7 (Playo) interpreter library" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="CFPropertyList (v3.0.0, ruby-2.3.3-p222) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="PortalShip (v0.1.0, ruby-2.3.3-p222) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.5.2, ruby-2.3.3-p222) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="atomos (v0.1.2, ruby-2.3.3-p222) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="babosa (v1.0.2, ruby-2.3.3-p222) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="claide (v1.0.2, ruby-2.3.3-p222) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="colored (v1.2, ruby-2.3.3-p222) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="colored2 (v3.1.2, ruby-2.3.3-p222) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, ruby-2.3.3-p222) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="commander-fastlane (v4.4.6, ruby-2.3.3-p222) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="declarative (v0.0.10, ruby-2.3.3-p222) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="declarative-option (v0.1.0, ruby-2.3.3-p222) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20180417, ruby-2.3.3-p222) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="dotenv (v2.4.0, ruby-2.3.3-p222) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="emoji_regex (v0.1.1, ruby-2.3.3-p222) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="excon (v0.62.0, ruby-2.3.3-p222) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.15.0, ruby-2.3.3-p222) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday-cookie_jar (v0.0.6, ruby-2.3.3-p222) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday_middleware (v0.12.2, ruby-2.3.3-p222) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="fastimage (v2.1.1, ruby-2.3.3-p222) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="fastlane (v2.93.1, ruby-2.3.3-p222) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="gh_inspector (v1.1.3, ruby-2.3.3-p222) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="google-api-client (v0.13.6, ruby-2.3.3-p222) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="googleauth (v0.6.2, ruby-2.3.3-p222) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="highline (v1.7.10, ruby-2.3.3-p222) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, ruby-2.3.3-p222) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="httpclient (v2.8.3, ruby-2.3.3-p222) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v2.1.0, ruby-2.3.3-p222) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="jwt (v2.1.0, ruby-2.3.3-p222) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="little-plugger (v1.1.4, ruby-2.3.3-p222) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="logging (v2.2.2, ruby-2.3.3-p222) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="memoist (v0.16.0, ruby-2.3.3-p222) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.1, ruby-2.3.3-p222) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2016.0521, ruby-2.3.3-p222) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_magick (v4.5.1, ruby-2.3.3-p222) [gem]" level="application" />
|
51
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.13.1, ruby-2.3.3-p222) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, ruby-2.3.3-p222) [gem]" level="application" />
|
53
|
+
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v2.0.0, ruby-2.3.3-p222) [gem]" level="application" />
|
54
|
+
<orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.2.5, ruby-2.3.3-p222) [gem]" level="application" />
|
55
|
+
<orderEntry type="library" scope="PROVIDED" name="naturally (v2.1.0, ruby-2.3.3-p222) [gem]" level="application" />
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="os (v0.9.6, ruby-2.3.3-p222) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="plist (v3.4.0, ruby-2.3.3-p222) [gem]" level="application" />
|
58
|
+
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v2.0.5, ruby-2.3.3-p222) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, ruby-2.3.3-p222) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="representable (v3.0.4, ruby-2.3.3-p222) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="retriable (v3.1.1, ruby-2.3.3-p222) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="rouge (v2.0.7, ruby-2.3.3-p222) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.2.1, ruby-2.3.3-p222) [gem]" level="application" />
|
64
|
+
<orderEntry type="library" scope="PROVIDED" name="security (v0.1.3, ruby-2.3.3-p222) [gem]" level="application" />
|
65
|
+
<orderEntry type="library" scope="PROVIDED" name="signet (v0.8.1, ruby-2.3.3-p222) [gem]" level="application" />
|
66
|
+
<orderEntry type="library" scope="PROVIDED" name="simctl (v1.6.4, ruby-2.3.3-p222) [gem]" level="application" />
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="slack-notifier (v2.3.2, ruby-2.3.3-p222) [gem]" level="application" />
|
68
|
+
<orderEntry type="library" scope="PROVIDED" name="terminal-notifier (v1.8.0, ruby-2.3.3-p222) [gem]" level="application" />
|
69
|
+
<orderEntry type="library" scope="PROVIDED" name="terminal-table (v1.8.0, ruby-2.3.3-p222) [gem]" level="application" />
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-cursor (v0.5.0, ruby-2.3.3-p222) [gem]" level="application" />
|
71
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-screen (v0.6.4, ruby-2.3.3-p222) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-spinner (v0.8.0, ruby-2.3.3-p222) [gem]" level="application" />
|
73
|
+
<orderEntry type="library" scope="PROVIDED" name="uber (v0.1.0, ruby-2.3.3-p222) [gem]" level="application" />
|
74
|
+
<orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, ruby-2.3.3-p222) [gem]" level="application" />
|
75
|
+
<orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.5, ruby-2.3.3-p222) [gem]" level="application" />
|
76
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.3.2, ruby-2.3.3-p222) [gem]" level="application" />
|
77
|
+
<orderEntry type="library" scope="PROVIDED" name="word_wrap (v1.0.0, ruby-2.3.3-p222) [gem]" level="application" />
|
78
|
+
<orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.5.7, ruby-2.3.3-p222) [gem]" level="application" />
|
79
|
+
<orderEntry type="library" scope="PROVIDED" name="xcpretty (v0.2.8, ruby-2.3.3-p222) [gem]" level="application" />
|
80
|
+
<orderEntry type="library" scope="PROVIDED" name="xcpretty-travis-formatter (v1.0.0, ruby-2.3.3-p222) [gem]" level="application" />
|
81
|
+
</component>
|
82
|
+
</module>
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# PortalShip
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/PortalShip`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'PortalShip'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install PortalShip
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/PortalShip. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## Code of Conduct
|
38
|
+
|
39
|
+
Everyone interacting in the PortalShip project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/PortalShip/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "PortalShip"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/portalship
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require_relative '../lib/portal_ship'
|
4
|
+
require 'net/http'
|
5
|
+
require 'json'
|
6
|
+
require 'colorize'
|
7
|
+
require 'optparse'
|
8
|
+
|
9
|
+
options = {}
|
10
|
+
OptionParser.new do |opts|
|
11
|
+
opts.banner = "Usage: example.rb [options]"
|
12
|
+
|
13
|
+
opts.on("-u", "--user [STRING]", "iTunes Password") do |u|
|
14
|
+
options[:user] = u
|
15
|
+
end
|
16
|
+
opts.on("-p", "--password [STRING]", "iTunes Password") do |p|
|
17
|
+
options[:password] = p
|
18
|
+
end
|
19
|
+
opts.on("-a", "--appId [STRING]", "iTunes Password") do |a|
|
20
|
+
options[:app] = a
|
21
|
+
end
|
22
|
+
end.parse!
|
23
|
+
|
24
|
+
portal = PortalShip::Portal.new()
|
25
|
+
begin
|
26
|
+
puts "Logging in..."
|
27
|
+
app = portal.login(options[:user], options[:password], options[:app])
|
28
|
+
rescue Exception => ex
|
29
|
+
puts "\n------------".colorize(:red)
|
30
|
+
puts ex.message.colorize(:red)
|
31
|
+
puts "------------\n\n".colorize(:red)
|
32
|
+
exit(-1)
|
33
|
+
end
|
34
|
+
|
35
|
+
url = "http://34.253.160.173/metadata/#{options[:app]}.json"
|
36
|
+
uri = URI(url)
|
37
|
+
response = Net::HTTP.get(uri)
|
38
|
+
data = JSON.parse(response)
|
39
|
+
|
40
|
+
data.each do |child|
|
41
|
+
lang = child[0]
|
42
|
+
|
43
|
+
puts "Adding language #{lang}"
|
44
|
+
|
45
|
+
d = app.details
|
46
|
+
d.name[lang] = child[1]['name']
|
47
|
+
d.subtitle[lang] = child[1]['subtitle']
|
48
|
+
d.privacy_url[lang] = child[1]['privacyUrl']
|
49
|
+
|
50
|
+
begin
|
51
|
+
d.save!
|
52
|
+
rescue Exception => ex
|
53
|
+
puts "\n------------".colorize(:red)
|
54
|
+
puts ex.message.colorize(:red)
|
55
|
+
puts "------------\n\n".colorize(:red)
|
56
|
+
end
|
57
|
+
|
58
|
+
puts "Editing version for language #{lang}"
|
59
|
+
|
60
|
+
v = app.edit_version
|
61
|
+
v.create_languages(lang)
|
62
|
+
v.description[lang] = child[1]['description']
|
63
|
+
v.keywords[lang] = child[1]['keywords']
|
64
|
+
v.marketing_url[lang] = child[1]['marketingUrl']
|
65
|
+
v.support_url[lang] = child[1]['supportUrl']
|
66
|
+
v.promotional_text[lang] = child[1]['promotionalText']
|
67
|
+
|
68
|
+
puts "Uploading screenshots for language #{lang}"
|
69
|
+
screenshots = child[1]['screenshots']
|
70
|
+
screenshots.each do |screenshot|
|
71
|
+
url = screenshot['url']
|
72
|
+
device = screenshot['device']
|
73
|
+
order = screenshot['order']
|
74
|
+
|
75
|
+
if url =~ /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$/ix
|
76
|
+
temp = portal.save_to_tempfile(url)
|
77
|
+
puts "Uploading '#{url}'...".colorize(:green)
|
78
|
+
begin
|
79
|
+
v.upload_screenshot!(temp.path, order, lang, device, false)
|
80
|
+
rescue Exception => ex
|
81
|
+
puts "\n------------".colorize(:red)
|
82
|
+
puts ex.message.colorize(:red)
|
83
|
+
puts "------------\n\n".colorize(:red)
|
84
|
+
ensure
|
85
|
+
File.delete(temp.path)
|
86
|
+
end
|
87
|
+
else
|
88
|
+
puts "\n------------".colorize(:blue)
|
89
|
+
puts "url - #{url} not valid, screenshot not uploaded".colorize(:blue)
|
90
|
+
puts "------------\n\n".colorize(:blue)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
begin
|
95
|
+
v.save!
|
96
|
+
rescue Exception => ex
|
97
|
+
puts "\n------------".colorize(:red)
|
98
|
+
puts ex.message.colorize(:red)
|
99
|
+
puts "------------\n\n".colorize(:red)
|
100
|
+
end
|
101
|
+
|
102
|
+
end
|
103
|
+
|
104
|
+
puts "Updated succesfully".colorize(:green)
|
data/bin/setup
ADDED
data/lib/portal_ship.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require_relative 'portalship/version'
|
2
|
+
require_relative 'portalship/spaceship'
|
3
|
+
require 'tempfile'
|
4
|
+
|
5
|
+
module PortalShip
|
6
|
+
class Portal
|
7
|
+
def login(user, password, app)
|
8
|
+
space = SpaceshipConnector.new
|
9
|
+
return space.login(user, password, app)
|
10
|
+
end
|
11
|
+
def save_to_tempfile(url)
|
12
|
+
uri = URI.parse(url)
|
13
|
+
Net::HTTP.start(uri.host, uri.port) do |http|
|
14
|
+
resp = http.get(uri.path)
|
15
|
+
file = Tempfile.new(['foo', File.extname(url)], Dir.tmpdir)
|
16
|
+
file.binmode
|
17
|
+
file.write(resp.body)
|
18
|
+
file.flush
|
19
|
+
file
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: PortalShip
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- PortalShip
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-04-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: colorize
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.8.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.8.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: fastlane
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.93'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 2.93.1
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.93'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.93.1
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rake
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '10.0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '10.0'
|
75
|
+
description: Tool for upload metadata to iTunes Portal
|
76
|
+
email:
|
77
|
+
- info@portalship.io
|
78
|
+
executables:
|
79
|
+
- portalship
|
80
|
+
extensions: []
|
81
|
+
extra_rdoc_files: []
|
82
|
+
files:
|
83
|
+
- ".gitignore"
|
84
|
+
- ".idea/misc.xml"
|
85
|
+
- ".idea/modules.xml"
|
86
|
+
- ".idea/workspace.xml"
|
87
|
+
- CODE_OF_CONDUCT.md
|
88
|
+
- Gemfile
|
89
|
+
- PortalShip.gemspec
|
90
|
+
- PortalShip.iml
|
91
|
+
- README.md
|
92
|
+
- Rakefile
|
93
|
+
- bin/console
|
94
|
+
- bin/portalship
|
95
|
+
- bin/setup
|
96
|
+
- lib/portal_ship.rb
|
97
|
+
- lib/portalship/spaceship.rb
|
98
|
+
- lib/portalship/version.rb
|
99
|
+
homepage: http://portalship.io
|
100
|
+
licenses: []
|
101
|
+
metadata: {}
|
102
|
+
post_install_message:
|
103
|
+
rdoc_options: []
|
104
|
+
require_paths:
|
105
|
+
- lib
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
requirements: []
|
117
|
+
rubyforge_project:
|
118
|
+
rubygems_version: 2.5.2
|
119
|
+
signing_key:
|
120
|
+
specification_version: 4
|
121
|
+
summary: Tool for upload metadata to iTunes Portal
|
122
|
+
test_files: []
|