itunes_transporter_generator 0.4.3 → 0.4.4

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.
data/README.md CHANGED
@@ -29,6 +29,8 @@ You can now upload your .itmsp package to iTunes Connect using the Transporter t
29
29
  ## Sample Config file
30
30
  Below is a sample configuration file describing an achievement, leaderboard, and in-app purchase. The specific metadata required for each item type is fully described in the [App Metadata Specification guide](http://bit.ly/TtHMF6)
31
31
 
32
+ IMPORTANT: please note the syntax for multiline descriptions. This is the literal syntax for YAML used for multiline strings (http://symfony.com/doc/current/components/yaml/yaml_format.html). Also note the indentation.
33
+
32
34
  ```yaml
33
35
  provider: SampleCompany # optional if team_id is supplied
34
36
  team_id: ABCDE12345 # optional if provider is supplied
@@ -39,7 +41,10 @@ versions:
39
41
  locales:
40
42
  - name: en-US
41
43
  title: sampleApp
42
- description: Description of sampleApp.
44
+ description: |
45
+ Description of sampleApp. This description
46
+ spans multiple lines using the pipe
47
+ characters. All newlines are preserved.
43
48
  keywords:
44
49
  - Sample
45
50
  - App
@@ -156,7 +161,12 @@ This configuration will generate the following metadata.xml:
156
161
  <locales>
157
162
  <locale name="en-US">
158
163
  <title>sampleApp</title>
159
- <description>Description of sampleApp.</description>
164
+ <description>
165
+ <![CDATA[Description of sampleApp. This description
166
+ spans multiple lines using the pipe
167
+ characters. All newlines are preserved.
168
+ ]]>
169
+ </description>
160
170
  <keywords>
161
171
  <keyword>Sample</keyword>
162
172
  <keyword>App</keyword>
@@ -171,6 +181,21 @@ This configuration will generate the following metadata.xml:
171
181
  <size>20092</size>
172
182
  <checksum type="md5">ff5bd97a5f40bb75a84884589ecbfc42</checksum>
173
183
  </software_screenshot>
184
+ <software_screenshot display_target="iOS-3.5-in" position="2">
185
+ <file_name>test.jpg</file_name>
186
+ <size>20092</size>
187
+ <checksum type="md5">ff5bd97a5f40bb75a84884589ecbfc42</checksum>
188
+ </software_screenshot>
189
+ <software_screenshot display_target="iOS-iPad" position="1">
190
+ <file_name>test.jpg</file_name>
191
+ <size>20092</size>
192
+ <checksum type="md5">ff5bd97a5f40bb75a84884589ecbfc42</checksum>
193
+ </software_screenshot>
194
+ <software_screenshot display_target="iOS-iPad" position="2">
195
+ <file_name>test.jpg</file_name>
196
+ <size>20092</size>
197
+ <checksum type="md5">ff5bd97a5f40bb75a84884589ecbfc42</checksum>
198
+ </software_screenshot>
174
199
  </software_screenshots>
175
200
  </locale>
176
201
  </locales>
@@ -295,6 +320,11 @@ This configuration will generate the following metadata.xml:
295
320
  <end_date>2013-02-28</end_date>
296
321
  <wholesale_price_tier>3</wholesale_price_tier>
297
322
  </interval>
323
+ <interval>
324
+ <start_date>2013-03-01</start_date>
325
+ <end_date>2013-05-15</end_date>
326
+ <wholesale_price_tier>3</wholesale_price_tier>
327
+ </interval>
298
328
  </intervals>
299
329
  </product>
300
330
  </products>
@@ -319,7 +349,7 @@ This configuration will generate the following metadata.xml:
319
349
  <cleared_for_sale>true</cleared_for_sale>
320
350
  <intervals>
321
351
  <interval>
322
- <end_date>2013-02-28</end_date>
352
+ <end_date>2013-08-13</end_date>
323
353
  <wholesale_price_tier>3</wholesale_price_tier>
324
354
  </interval>
325
355
  <interval>
@@ -346,6 +376,7 @@ This configuration will generate the following metadata.xml:
346
376
  </software>
347
377
  </package>
348
378
 
379
+
349
380
  ```
350
381
 
351
382
  ## Todo
data/example/config.yaml CHANGED
@@ -7,7 +7,10 @@ versions:
7
7
  locales:
8
8
  - name: en-US
9
9
  title: sampleApp
10
- description: Description of sampleApp.
10
+ description: |
11
+ Description of sampleApp. This description
12
+ spans multiple lines using the pipe
13
+ characters. All newlines are preserved.
11
14
  keywords:
12
15
  - Sample
13
16
  - App
data/example/metadata.xml CHANGED
@@ -10,7 +10,12 @@
10
10
  <locales>
11
11
  <locale name="en-US">
12
12
  <title>sampleApp</title>
13
- <description>Description of sampleApp.</description>
13
+ <description>
14
+ <![CDATA[Description of sampleApp. This description
15
+ spans multiple lines using the pipe
16
+ characters. All newlines are preserved.
17
+ ]]>
18
+ </description>
14
19
  <keywords>
15
20
  <keyword>Sample</keyword>
16
21
  <keyword>App</keyword>
@@ -10,7 +10,12 @@
10
10
  <locales>
11
11
  <locale name="en-US">
12
12
  <title>sampleApp</title>
13
- <description>Description of sampleApp.</description>
13
+ <description>
14
+ <![CDATA[Description of sampleApp. This description
15
+ spans multiple lines using the pipe
16
+ characters. All newlines are preserved.
17
+ ]]>
18
+ </description>
14
19
  <keywords>
15
20
  <keyword>Sample</keyword>
16
21
  <keyword>App</keyword>
@@ -0,0 +1,8 @@
1
+ {
2
+ "folders":
3
+ [
4
+ {
5
+ "path": "/Users/Colin/Sandbox/itunes_transporter_generator"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,407 @@
1
+ {
2
+ "auto_complete":
3
+ {
4
+ "selected_items":
5
+ [
6
+ [
7
+ "curr",
8
+ "current_display_target"
9
+ ],
10
+ [
11
+ "scre",
12
+ "screenshot"
13
+ ],
14
+ [
15
+ "scr",
16
+ "scrshot"
17
+ ],
18
+ [
19
+ "screen",
20
+ "screenshots"
21
+ ],
22
+ [
23
+ "end",
24
+ "end_date"
25
+ ]
26
+ ]
27
+ },
28
+ "buffers":
29
+ [
30
+ {
31
+ "settings":
32
+ {
33
+ "buffer_size": 0,
34
+ "line_ending": "Unix"
35
+ }
36
+ }
37
+ ],
38
+ "build_system": "",
39
+ "command_palette":
40
+ {
41
+ "height": 287.0,
42
+ "selected_items":
43
+ [
44
+ [
45
+ "mark",
46
+ "Markdown Preview: Preview in Browser"
47
+ ],
48
+ [
49
+ "markdo",
50
+ "Markdown Preview: Preview in Browser"
51
+ ],
52
+ [
53
+ "markdown",
54
+ "Markdown Preview: Preview in Browser"
55
+ ],
56
+ [
57
+ "install",
58
+ "Package Control: Install Package"
59
+ ],
60
+ [
61
+ "pack",
62
+ "Package Control: Install Package"
63
+ ],
64
+ [
65
+ "json",
66
+ "Set Syntax: JSON"
67
+ ]
68
+ ],
69
+ "width": 575.0
70
+ },
71
+ "console":
72
+ {
73
+ "height": 0.0
74
+ },
75
+ "distraction_free":
76
+ {
77
+ "menu_visible": true,
78
+ "show_minimap": false,
79
+ "show_open_files": false,
80
+ "show_tabs": false,
81
+ "side_bar_visible": false,
82
+ "status_bar_visible": false
83
+ },
84
+ "file_history":
85
+ [
86
+ "/Users/Colin/Downloads/testflight_devices (2).txt",
87
+ "/Users/Colin/Desktop/Intel Segments/iOS-TF-Emails.csv",
88
+ "/Users/Colin/Desktop/WSHH_JSON.txt",
89
+ "/Users/Colin/Sandbox/JSTileMap/.git/config",
90
+ "/Users/Colin/Sandbox/JSTileMap/.git/index",
91
+ "/Users/Colin/Sandbox/NDN-Video-Uploader/.git/TAG_EDITMSG",
92
+ "/Users/Colin/Sandbox/NDN-Video-Uploader/.git/MERGE_MSG",
93
+ "/Users/Colin/Sandbox/HowStuffWorks-iOS/.git/COMMIT_EDITMSG",
94
+ "/Users/Colin/Sandbox/HowStuffWorks-iOS/.git/MERGE_MSG",
95
+ "/Users/Colin/Desktop/ANNOYING/floatsign.sh",
96
+ "/Users/Colin/Sandbox/HUMAStarPathfinder/HUMAStarPathfinder.podspec",
97
+ "/Users/Colin/Sandbox/HUMAStarPathfinder/README.md",
98
+ "/Users/Colin/Sandbox/HUMAStarPathfinder/.git/MERGE_MSG",
99
+ "/Users/Colin/Sandbox/TestFlight/web/templates/application/install-lite.html",
100
+ "/Users/Colin/Sandbox/itunes_transporter_generator/lib/itunes/transporter.rb",
101
+ "/Users/Colin/Sandbox/itunes_transporter_generator/lib/itunes/transporter/locale.rb",
102
+ "/Users/Colin/Sandbox/itunes_transporter_generator/lib/itunes.rb",
103
+ "/Users/Colin/Sandbox/NDN-Video-Uploader/Podfile",
104
+ "/Users/Colin/Desktop/BADLAND 1.2/Payload/BADLAND.app/items.xml",
105
+ "/Users/Colin/Sandbox/NDN-Video-Uploader/.gitmodules",
106
+ "/Users/Colin/Sandbox/NDN-Video-Uploader/.git/config",
107
+ "/Users/Colin/Sandbox/itunes_transporter_generator/lib/itunes/transporter/in_app_purchase.rb",
108
+ "/Users/Colin/Desktop/channels.json",
109
+ "/Users/Colin/Desktop/files.sh",
110
+ "/Users/Colin/Sandbox/HowStuffWorks-iOS/.gitmodules",
111
+ "/etc/paths",
112
+ "/Users/Colin/Sandbox/Tribes/p4config.txt",
113
+ "/tmp/crontab.EOxoTQRBI9",
114
+ "/Users/Colin/.bash_profile",
115
+ "/Users/Colin/Library/Application Support/Sublime Text 2/.gitignore"
116
+ ],
117
+ "find":
118
+ {
119
+ "height": 35.0
120
+ },
121
+ "find_in_files":
122
+ {
123
+ "height": 0.0,
124
+ "where_history":
125
+ [
126
+ ""
127
+ ]
128
+ },
129
+ "find_state":
130
+ {
131
+ "case_sensitive": false,
132
+ "find_history":
133
+ [
134
+ "Description2",
135
+ "Description1",
136
+ "ImageUrl",
137
+ "Videofile",
138
+ "VideoUrl",
139
+ "NumberOfViews",
140
+ "\"Title\"",
141
+ "interval",
142
+ "create_purchase_family_xml",
143
+ "create_purchase_family_xml\n",
144
+ "create_purchase_family_xml",
145
+ "\\/"
146
+ ],
147
+ "highlight": true,
148
+ "in_selection": false,
149
+ "preserve_case": false,
150
+ "regex": false,
151
+ "replace_history":
152
+ [
153
+ "postedDate",
154
+ "description",
155
+ "imageUrl",
156
+ "videoFile",
157
+ "videoUrl",
158
+ "numberOfViews",
159
+ "\"title\"",
160
+ "/"
161
+ ],
162
+ "reverse": false,
163
+ "show_context": true,
164
+ "use_buffer2": true,
165
+ "whole_word": false,
166
+ "wrap": true
167
+ },
168
+ "groups":
169
+ [
170
+ {
171
+ "selected": 0,
172
+ "sheets":
173
+ [
174
+ {
175
+ "buffer": 0,
176
+ "settings":
177
+ {
178
+ "buffer_size": 0,
179
+ "regions":
180
+ {
181
+ },
182
+ "selection":
183
+ [
184
+ [
185
+ 0,
186
+ 0
187
+ ]
188
+ ],
189
+ "settings":
190
+ {
191
+ "BracketHighlighterBusy": false,
192
+ "bh_regions":
193
+ [
194
+ "bh_regex",
195
+ "bh_regex_center",
196
+ "bh_regex_open",
197
+ "bh_regex_close",
198
+ "bh_double_quote",
199
+ "bh_double_quote_center",
200
+ "bh_double_quote_open",
201
+ "bh_double_quote_close",
202
+ "bh_square",
203
+ "bh_square_center",
204
+ "bh_square_open",
205
+ "bh_square_close",
206
+ "bh_angle",
207
+ "bh_angle_center",
208
+ "bh_angle_open",
209
+ "bh_angle_close",
210
+ "bh_curly",
211
+ "bh_curly_center",
212
+ "bh_curly_open",
213
+ "bh_curly_close",
214
+ "bh_default",
215
+ "bh_default_center",
216
+ "bh_default_open",
217
+ "bh_default_close",
218
+ "bh_unmatched",
219
+ "bh_unmatched_center",
220
+ "bh_unmatched_open",
221
+ "bh_unmatched_close",
222
+ "bh_round",
223
+ "bh_round_center",
224
+ "bh_round_open",
225
+ "bh_round_close",
226
+ "bh_tag",
227
+ "bh_tag_center",
228
+ "bh_tag_open",
229
+ "bh_tag_close",
230
+ "bh_single_quote",
231
+ "bh_single_quote_center",
232
+ "bh_single_quote_open",
233
+ "bh_single_quote_close"
234
+ ],
235
+ "codeintel": true,
236
+ "codeintel_config":
237
+ {
238
+ "JavaScript":
239
+ {
240
+ "codeintel_max_recursive_dir_depth": 2.0,
241
+ "codeintel_scan_files_in_project": false,
242
+ "javascriptExtraPaths":
243
+ [
244
+ ]
245
+ },
246
+ "PHP":
247
+ {
248
+ "codeintel_max_recursive_dir_depth": 5.0,
249
+ "codeintel_scan_files_in_project": false,
250
+ "phpExtraPaths":
251
+ [
252
+ ]
253
+ },
254
+ "Python":
255
+ {
256
+ "env":
257
+ {
258
+ }
259
+ }
260
+ },
261
+ "codeintel_enabled_languages":
262
+ [
263
+ "JavaScript",
264
+ "Mason",
265
+ "XBL",
266
+ "XUL",
267
+ "RHTML",
268
+ "SCSS",
269
+ "Python",
270
+ "HTML",
271
+ "Ruby",
272
+ "Python3",
273
+ "XML",
274
+ "Sass",
275
+ "XSLT",
276
+ "Django",
277
+ "HTML5",
278
+ "Perl",
279
+ "CSS",
280
+ "Twig",
281
+ "Less",
282
+ "Smarty",
283
+ "Node.js",
284
+ "Tcl",
285
+ "TemplateToolkit",
286
+ "PHP"
287
+ ],
288
+ "codeintel_live": true,
289
+ "codeintel_live_enabled_languages":
290
+ [
291
+ "JavaScript",
292
+ "Mason",
293
+ "XBL",
294
+ "XUL",
295
+ "RHTML",
296
+ "SCSS",
297
+ "Python",
298
+ "HTML",
299
+ "Ruby",
300
+ "Python3",
301
+ "XML",
302
+ "Sass",
303
+ "XSLT",
304
+ "Django",
305
+ "HTML5",
306
+ "Perl",
307
+ "CSS",
308
+ "Twig",
309
+ "Less",
310
+ "Smarty",
311
+ "Node.js",
312
+ "Tcl",
313
+ "TemplateToolkit",
314
+ "PHP"
315
+ ],
316
+ "codeintel_max_recursive_dir_depth": 10.0,
317
+ "codeintel_scan_exclude_dir":
318
+ {
319
+ "JavaScript":
320
+ [
321
+ "/build/",
322
+ "/min/"
323
+ ]
324
+ },
325
+ "codeintel_scan_files_in_project": true,
326
+ "codeintel_selected_catalogs":
327
+ [
328
+ "PyWin32",
329
+ "jQuery",
330
+ "Rails"
331
+ ],
332
+ "codeintel_snippets": true,
333
+ "codeintel_syntax_map":
334
+ {
335
+ "Python Django": "Python"
336
+ },
337
+ "sublime_auto_complete": true,
338
+ "syntax": "Packages/Text/Plain text.tmLanguage"
339
+ },
340
+ "translation.x": 0.0,
341
+ "translation.y": 0.0,
342
+ "zoom_level": 1.0
343
+ },
344
+ "type": "text"
345
+ }
346
+ ]
347
+ }
348
+ ],
349
+ "incremental_find":
350
+ {
351
+ "height": 0.0
352
+ },
353
+ "input":
354
+ {
355
+ "height": 0.0
356
+ },
357
+ "layout":
358
+ {
359
+ "cells":
360
+ [
361
+ [
362
+ 0,
363
+ 0,
364
+ 1,
365
+ 1
366
+ ]
367
+ ],
368
+ "cols":
369
+ [
370
+ 0.0,
371
+ 1.0
372
+ ],
373
+ "rows":
374
+ [
375
+ 0.0,
376
+ 1.0
377
+ ]
378
+ },
379
+ "menu_visible": true,
380
+ "replace":
381
+ {
382
+ "height": 64.0
383
+ },
384
+ "save_all_on_build": true,
385
+ "select_file":
386
+ {
387
+ "height": 0.0,
388
+ "selected_items":
389
+ [
390
+ ],
391
+ "width": 0.0
392
+ },
393
+ "select_project":
394
+ {
395
+ "height": 0.0,
396
+ "selected_items":
397
+ [
398
+ ],
399
+ "width": 0.0
400
+ },
401
+ "show_minimap": true,
402
+ "show_open_files": false,
403
+ "show_tabs": true,
404
+ "side_bar_visible": true,
405
+ "side_bar_width": 288.0,
406
+ "status_bar_visible": true
407
+ }
@@ -45,8 +45,10 @@ module Itunes
45
45
  version.locales.each do |locale|
46
46
  doc.locale('name' => locale.name) do
47
47
  doc.title(locale.title)
48
- doc.description(locale.description)
49
-
48
+ doc.description() do
49
+ doc.cdata!(locale.description)
50
+ end
51
+
50
52
  doc.keywords() do
51
53
  locale.keywords.each do |keyword|
52
54
  doc.keyword(keyword)
data/lib/itunes.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Itunes
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes_transporter_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-31 00:00:00.000000000 Z
12
+ date: 2013-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -115,6 +115,8 @@ files:
115
115
  - ./example/test.jpg
116
116
  - ./Gemfile
117
117
  - ./itmsp.gemspec
118
+ - ./itunes_transporter_generator.sublime-project
119
+ - ./itunes_transporter_generator.sublime-workspace
118
120
  - ./lib/itunes/transporter/commands/package.rb
119
121
  - ./lib/itunes/transporter/commands.rb
120
122
  - ./lib/itunes/transporter/generator.rb