itunes-connect 0.12.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -210,7 +210,7 @@ module ItunesConnect
210
210
  page = client.get(LOGIN_URL)
211
211
 
212
212
  while true do
213
- debug_msg("logging in")
213
+ debug_msg("logging in as #{@username}")
214
214
  page = page.form_with(:name => 'appleConnectForm') do |form|
215
215
  raise "login form not found" unless form
216
216
 
@@ -234,11 +234,28 @@ module ItunesConnect
234
234
  break # done logging in
235
235
  end
236
236
 
237
+ # skip past legal issue questions
238
+ legal_issue = page.body.match(/may have a legal issue/)
239
+ if legal_issue
240
+ debug_msg("skipping past legal issue question")
241
+ input_submit = page.body.match(/<input .*?name="(.*?)".*?type="image"/)
242
+ raise "could not find submit button" unless input_submit
243
+
244
+ page = page.form_with(:name => 'mainForm') do |form|
245
+ raise "legal issues form not found" unless form
246
+
247
+ form['hasLegalIssues'] = 'false'
248
+ form[input_submit[1] + '.x'] = '58'
249
+ form[input_submit[1] + '.y'] = '8'
250
+ end.submit
251
+ dump(client, page)
252
+ end
253
+
237
254
  # skip past new license available notifications
238
255
  new_license = page.body.match(/Agreement Update/)
239
256
  if new_license
240
257
  debug_msg("agreement update detected, skipping")
241
- next_url = page.body.match(/a href="(.*?)">\s*<img[^>]+src="\/itc\/images\/btn-continue.png"/)
258
+ next_url = page.body.match(/a href="(.*?)">\s*<img[^>]+src=".*?\/itc\/images\/btn-continue.png"/)
242
259
  raise "could not determine continue url" unless next_url
243
260
  continue_link = page.link_with(:href => next_url[1])
244
261
  raise "could not find continue link" unless continue_link
@@ -0,0 +1,769 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <html><head>
3
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4
+ <meta http-equiv="X-UA-Compatible" content="IE=7">
5
+ <title>iTunes Connect</title>
6
+
7
+ <link href="itunes_icloud_legal_files/global.css" type="text/css" rel="STYLESHEET">
8
+
9
+
10
+ <script src="itunes_icloud_legal_files/global_002.js" type="text/javascript"></script>
11
+
12
+ <script src="itunes_icloud_legal_files/global.js" type="text/javascript"></script>
13
+ <script src="itunes_icloud_legal_files/itunes-connect-ibookstore.js" type="text/javascript"></script>
14
+
15
+ </head>
16
+ <body leftmargin="0" topmargin="0" rightmargin="0" bgcolor="#FFFFFF" marginheight="0" marginwidth="0">
17
+
18
+ <p>
19
+
20
+
21
+
22
+ </p><table align="center" border="0" cellpadding="4" cellspacing="0" width="99%">
23
+ <tbody><tr>
24
+ <td>
25
+
26
+ <table align="center" border="0" cellpadding="0" cellspacing="0" width="980">
27
+ <tbody><tr>
28
+ <td colspan="3">
29
+ <table style="margin-bottom: 10px;" width="100%">
30
+ <tbody><tr>
31
+ <td style="width: 179px;" align="left"><a href="https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/2.0.0.9.1"><img src="itunes_icloud_legal_files/itc-masthead.png" alt="iTunes Connect" border="0" height="23" width="173"></a></td>
32
+
33
+
34
+ <td style="text-align: right;"><form name="signOutForm" method="post" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.5.1.0">
35
+
36
+ <font color="gray">
37
+
38
+ login information
39
+ </font>
40
+ <input value="Sign Out" type="submit">
41
+ </form>
42
+ </td>
43
+
44
+ </tr>
45
+ </tbody></table>
46
+ </td>
47
+ </tr>
48
+
49
+
50
+ <tr>
51
+ <td colspan="4">
52
+
53
+ <span id="headerMessagesUpdateContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.1" errorid="ajaxContainerError">
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+ </span>
62
+
63
+ </td>
64
+ </tr>
65
+ <tr>
66
+ <td colspan="4">
67
+
68
+
69
+
70
+ <form name="mainForm" enctype="multipart/form-data" method="post" id="mainForm" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1">
71
+ <table border="0" cellpadding="0" cellspacing="0" width="980">
72
+ <tbody><tr>
73
+ <td width="8"><img src="itunes_icloud_legal_files/wrapper_topl.png" alt="" height="51" width="8"></td>
74
+ <td class="header_text" align="center" background="itunes_icloud_legal_files/wrapper_top.png" height="51" width="*">
75
+ <span id="lcBoxWrapperHeaderUpdateContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.5" errorid="ajaxContainerError">
76
+ <span class="wrapper-topright-button">
77
+ </span>
78
+ <span class="upload-app-button">
79
+ </span>
80
+ <p>"iCloud" Legal Information</p>
81
+ </span>
82
+ </td>
83
+ <td width="8"><img src="itunes_icloud_legal_files/wrapper_topr.png" alt="" height="51" width="8"></td>
84
+
85
+ </tr>
86
+ <tr>
87
+ <td background="itunes_icloud_legal_files/wrapper_10.png" width="8"></td>
88
+ <td bgcolor="#C9C9C9">
89
+
90
+
91
+ <table class="lcbox" cellpadding="0" cellspacing="0">
92
+ <tbody><tr valign="top">
93
+ <td background="itunes_icloud_legal_files/wrapper_17.png" height="12" valign="top" width="4"><img src="itunes_icloud_legal_files/wrapper_11.png" alt="" height="12" width="4"></td>
94
+ <td rowspan="2" style="background: url(&quot;https://itc.mzstatic.com/itc/images/wrapper_12.png&quot;) repeat-x scroll left top white;" valign="top">
95
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
96
+
97
+ <tbody><tr>
98
+ <td>
99
+
100
+
101
+ <div class="legal-quest">
102
+ <div class="legal-quest-text">
103
+ Do you have any apps that may have a legal issue?
104
+ </div>
105
+ <div class="legal-quest-choice">
106
+ <span id="questionContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.1" errorid="ajaxContainerError"><table class="export-comp-radios" border="0" cellpadding="0" cellspacing="0">
107
+ <tbody><tr>
108
+ <td><span style="font-size:14px;font-weight: bold;">Yes</span></td>
109
+ <td><input onclick="updateQuestion();" id="stateradio" value="true" name="hasLegalIssues" type="radio"></td>
110
+ <td width="20">&nbsp;</td>
111
+ <td><span style="font-size:14px;font-weight: bold;">No</span></td>
112
+ <td><input onclick="updateQuestion();" value="false" name="hasLegalIssues" type="radio"></td>
113
+ </tr>
114
+ </tbody></table>
115
+ </span>
116
+ </div>
117
+ </div>
118
+ <div id="legal-quest-list" style="display: none;">
119
+ <span id="appLegalContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3" errorid="ajaxContainerError">
120
+
121
+ <div class="app-info-container itc-2-app" style="margin-top: 0">
122
+ <div class="formfield-wrapper">
123
+ <div class="top"></div>
124
+ <div class="middle">
125
+
126
+ <p class="heading">Select each app that may have a legal issue.
127
+ You will be presented with a list of versions to choose from for each
128
+ app that you select. Any app versions you choose will become unavailable
129
+ to be restored and/or downloaded as a previous purchase by App Store
130
+ customers. Once you have made your selections, click Submit.</p>
131
+ <div>
132
+ <script language="Javascript">
133
+ var createList_appList = function() {
134
+
135
+ var reorderEnabled = false;
136
+
137
+
138
+
139
+
140
+
141
+ var preventLastRowDeletion = false;
142
+
143
+
144
+
145
+
146
+ var searchEnabled = false;
147
+
148
+
149
+ var arguments = {
150
+ 'ajaxListId' : 'appList',
151
+ 'reorderingEnabled' : reorderEnabled,
152
+ 'maxNumberRows' : 2147483647,
153
+ 'pageSize' : 50,
154
+ 'preventLastRowDeletion' : preventLastRowDeletion,
155
+ 'searchEnabled' : searchEnabled,
156
+ 'updateUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.21',
157
+ 'deleteUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.23',
158
+ 'viewRowUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.25',
159
+ 'itemActionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.27',
160
+ 'pageNumberActionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.29',
161
+ 'radioSelectionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.31',
162
+ 'checkboxSelectionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.33',
163
+ 'customActionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.35',
164
+ 'sortColumnActionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.37',
165
+ 'searchActionUrl' : '/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.39',
166
+ 'searchFieldBackgroundText' : 'Keyword Filter',
167
+ 'useServerSideOnly' : true,
168
+ 'searchQueueTimeout' : 250,
169
+ 'showSpinnerOnLightboxLoad' : true
170
+ };
171
+
172
+ var list = new LCAjaxList(arguments);
173
+ list.initialize();
174
+
175
+ }
176
+
177
+ document.observe("dom:loaded", createList_appList);
178
+
179
+ </script>
180
+
181
+
182
+
183
+ <script language="javascript">
184
+ // move this to be at the bottom of the body after any other forms so that the lightbox panel is not wrapped by anything else.
185
+ document.observe("dom:loaded", function() {
186
+ var lightboxElement = $('appListLightboxLightboxWrapper').remove();
187
+ $(document.body).appendChild(lightboxElement);
188
+ });
189
+ </script>
190
+
191
+
192
+
193
+
194
+ <div id="appListContainer" class="ajaxListBox">
195
+
196
+ <div class="ajaxListConfirmDelete" style="display:none;">
197
+ <div class="tool-tip-beak tool-tip-beak-right">&nbsp;</div>
198
+ <div class="tool-tip-top">&nbsp;</div>
199
+ <div class="tool-tip-main">
200
+ <p style="margin:0 0px 10px 25px;">Delete this row?</p>
201
+ <p style="margin:0 25px;">
202
+ <span style="margin:5px 0 0 0px"><img src="itunes_icloud_legal_files/btn-cancel-small-white-gc.png" class="ajaxListCancelDeleteButton"></span>
203
+ <span style="margin:5px 0 0 75px"><img src="itunes_icloud_legal_files/btn-delete-small-red-gc.png" class="ajaxListConfirmDeleteButton"></span>
204
+ </p>
205
+ </div>
206
+ <div class="tool-tip-bottom">&nbsp;</div>
207
+ </div>
208
+
209
+ <div id="appList_errorbox" style="display:none;" class="lcAjaxErrorMessageBox">
210
+ <div class="lcAjaxErrorMessage"><div id="appList_errorbox-message"></div><div style="width=100%;display:inline-block;float:right;padding:3px;"><a href="javascript:Effect.BlindUp('appList_errorbox',%20{%20duration:%200.5%20});">Okay</a></div></div></div>
211
+
212
+
213
+
214
+
215
+
216
+ <ul class="ajaxListHeaderUL">
217
+ <li class="ajaxListHeaderLI"><div class="ajaxListHeaderDiv">
218
+
219
+
220
+
221
+ <div style="float:left;" class="ajaxListColumnHeader ajaxListColumnHeaderInternal ajaxListColumn_1">
222
+
223
+
224
+
225
+
226
+
227
+ &nbsp;
228
+ </div>
229
+
230
+
231
+
232
+ <div style="float:left;" class="ajaxListColumnHeader ajaxListColumnHeaderInternal ajaxListColumn_2 ajaxListColumnSortable ajaxListColumnSorted">
233
+
234
+
235
+
236
+ App Name &nbsp;&nbsp;&nbsp;<div class="ajaxListSort ajaxListSortUp"></div>
237
+
238
+ &nbsp;
239
+ </div>
240
+
241
+
242
+
243
+
244
+ <div style="display:inline;" class="ajaxListColumnHeader ajaxListColumnHeaderLast ajaxListColumn_3 ajaxListColumnSortable">
245
+
246
+
247
+ Apple ID &nbsp;&nbsp;&nbsp;<div class="ajaxListSort "></div>
248
+
249
+ &nbsp;
250
+ </div>
251
+
252
+ </div></li>
253
+ </ul>
254
+
255
+ <span id="appListListRefreshContainerId" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.71" errorid="ajaxContainerError">
256
+ <ul id="appList" class="ajaxListUL">
257
+ <li class="ajaxListEmptyRow">
258
+ <div style="display: none;" class="ajaxListEmptyRowDiv emptyListMessage">
259
+ You do not currently have any versions of this app available for rights management.
260
+ </div>
261
+ </li>
262
+ <li class="ajaxListEmptyRow">
263
+ <div style="display: none;" class="ajaxListEmptyRowDiv noResultsMessage">
264
+ Your search had no results.
265
+ </div>
266
+ </li>
267
+
268
+ <li class="ajaxListLI" id="appListRow_436580447">
269
+ <div class="ajaxListRowDiv " itemid="436580447">
270
+
271
+
272
+
273
+ <div style="float:left;" class="ajaxListColumn ajaxListColumnInternal ajaxListColumn_1 ajaxListRowDivActionable ajaxListRowDivColumnActionLightbox">
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ <img src="itunes_icloud_legal_files/mzi.jpg" class="ajaxListItemRowImage ajaxListItemRowImageDisplay">
302
+
303
+
304
+ &nbsp;
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+ </div>
328
+
329
+
330
+
331
+
332
+ <div style="float:left;" class="ajaxListColumn ajaxListColumnInternal ajaxListColumn_2 ajaxListSearchable ajaxListRowDivActionable ajaxListRowDivColumnActionLightbox">
333
+
334
+
335
+
336
+
337
+
338
+
339
+ app name
340
+
341
+
342
+
343
+ &nbsp;
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+ </div>
388
+
389
+
390
+
391
+
392
+
393
+ <div style="display:block;" class="ajaxListColumn ajaxListColumnLast ajaxListColumn_3 ajaxListRowDivActionable ajaxListRowDivColumnActionLightbox">
394
+
395
+
396
+
397
+
398
+
399
+ 417324976
400
+
401
+
402
+
403
+ &nbsp;
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+ &nbsp;
449
+
450
+ </div>
451
+
452
+
453
+
454
+ </div>
455
+ <div class="ajaxListRowSpinner" itemid="436580447" style="display:none;"><img src="itunes_icloud_legal_files/spinner16-transparent.gif"> Processing ... </div>
456
+ </li>
457
+
458
+ <li class="ajaxListLI" id="appListRow_428225942">
459
+ <div class="ajaxListRowDiv " itemid="428225942">
460
+
461
+
462
+
463
+ <div style="float:left;" class="ajaxListColumn ajaxListColumnInternal ajaxListColumn_1 ajaxListRowDivActionable ajaxListRowDivColumnActionLightbox">
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+ <img src="itunes_icloud_legal_files/mzl.jpg" class="ajaxListItemRowImage ajaxListItemRowImageDisplay">
492
+
493
+
494
+ &nbsp;
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+ </div>
518
+
519
+
520
+
521
+
522
+ <div style="float:left;" class="ajaxListColumn ajaxListColumnInternal ajaxListColumn_2 ajaxListSearchable ajaxListRowDivActionable ajaxListRowDivColumnActionLightbox">
523
+
524
+
525
+
526
+
527
+
528
+
529
+ app name 2
530
+
531
+
532
+
533
+ &nbsp;
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+ </div>
578
+
579
+
580
+
581
+
582
+
583
+ <div style="display:block;" class="ajaxListColumn ajaxListColumnLast ajaxListColumn_3 ajaxListRowDivActionable ajaxListRowDivColumnActionLightbox">
584
+
585
+
586
+
587
+
588
+
589
+ 408356359
590
+
591
+
592
+
593
+ &nbsp;
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+ &nbsp;
639
+
640
+ </div>
641
+
642
+
643
+
644
+ </div>
645
+ <div class="ajaxListRowSpinner" itemid="428225942" style="display:none;"><img src="itunes_icloud_legal_files/spinner16-transparent.gif"> Processing ... </div>
646
+ </li>
647
+
648
+ </ul>
649
+ </span>
650
+
651
+ </div>
652
+
653
+
654
+ </div>
655
+
656
+ </div>
657
+ <div class="bottom"></div>
658
+ </div>
659
+ </div>
660
+
661
+ </span>
662
+ </div>
663
+
664
+
665
+ </td>
666
+ </tr>
667
+ </tbody></table>
668
+ </td>
669
+ <td background="itunes_icloud_legal_files/wrapper_19.png" height="12" valign="top" width="4"><img src="itunes_icloud_legal_files/wrapper_14.png" alt="" height="12" width="4"></td>
670
+ </tr>
671
+ <tr>
672
+ <td background="itunes_icloud_legal_files/wrapper_17.png" width="4"></td>
673
+ <td background="itunes_icloud_legal_files/wrapper_19.png" width="4"></td>
674
+ </tr>
675
+ <tr>
676
+ <td><img src="itunes_icloud_legal_files/wrapper_22.png" alt="" height="5" width="4"></td>
677
+ <td background="itunes_icloud_legal_files/wrapper_23.png" height="5"></td>
678
+ <td><img src="itunes_icloud_legal_files/wrapper_25.png" alt="" height="5" width="4"></td>
679
+ </tr>
680
+ </tbody></table>
681
+
682
+
683
+
684
+
685
+ </td>
686
+ <td background="itunes_icloud_legal_files/wrapper_15.png" width="8"></td>
687
+ </tr>
688
+ <tr>
689
+ <td width="8"><img src="itunes_icloud_legal_files/wrapper_bottoml.png" alt="" height="41" width="8"></td>
690
+ <td background="itunes_icloud_legal_files/wrapper_bottom.png" height="41" width="*">
691
+ <span id="lcBoxWrapperFooterUpdateContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.19" errorid="ajaxContainerError">
692
+ <span class="wrapper-right-button">
693
+
694
+
695
+
696
+ <input onclick="disableLCPageButton('submitActionButton');" class="submitActionButton" name="0.0.9.7.3.1.1.1.19.1.0.1.1.1" src="itunes_icloud_legal_files/btn-blue-submit.png" border="0" type="image">
697
+
698
+ <img class="submitActionButton-disabled" style="display: none;" src="itunes_icloud_legal_files/btn-blue-submit.png" border="0">
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+ </span>
709
+ <span class="wrapper-left-button">
710
+ </span>
711
+ </span>
712
+ </td>
713
+ <td width="8"><img src="itunes_icloud_legal_files/wrapper_bottomr.png" alt="" height="41" width="8"></td>
714
+ </tr>
715
+
716
+ </tbody></table>
717
+ </form>
718
+
719
+
720
+
721
+
722
+
723
+
724
+ </td>
725
+ </tr>
726
+
727
+
728
+ </tbody></table>
729
+
730
+ <div class="footerLinks" align="center"><a href="https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/2.0.0.11.0.1">Home</a>
731
+
732
+ | <a href="https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wa/jumpTo?page=faqs">FAQs</a>
733
+ | <a href="https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/2.0.0.11.0.3.0.0.3.1">Contact Us</a>
734
+
735
+
736
+
737
+ | <a href="https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/2.0.0.11.0.5">Sign Out</a></div>
738
+ <div class="footerCopyright" align="center">Copyright © 2011 Apple Inc. All rights reserved. <a href="https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/2.0.0.11.0.9">Terms of Service</a> | <a href="http://www.apple.com/legal/privacy/">Privacy Policy</a></div><br>
739
+
740
+
741
+
742
+ </td>
743
+ </tr>
744
+ </tbody></table>
745
+
746
+
747
+
748
+ <script type="text/javascript">
749
+ //<![CDATA[
750
+
751
+ function updateApps(){
752
+ LCAjaxContainer.update('appContainer');
753
+ }
754
+
755
+
756
+ function updateQuestion(){
757
+ LCAjaxContainer.submitWithFollowup('questionContainer',updateApps);
758
+ if ($('stateradio').checked) {
759
+ $('legal-quest-list').style.display = "block";
760
+ } else {
761
+ $('legal-quest-list').style.display = "none";
762
+ }
763
+ }
764
+
765
+ //]]>
766
+ </script><div id="appListLightboxLightboxWrapper">
767
+ <div id="appListLightbox" class="lcAjaxLightbox" style="display:none" action="/WebObjects/iTunesConnect.woa/wo/2.0.0.9.7.3.1.1.1.11.1.1.11.1.3.1.1.1.1.53.5"></div>
768
+ <div id="appListLightbox-white-overlay" class="lightbox-white-overlay" style="display:none"></div>
769
+ </div></body></html>
@@ -0,0 +1,196 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <HTML>
3
+ <HEAD>
4
+ <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=7" />
6
+ <TITLE>iTunes Connect</TITLE>
7
+
8
+ <LINK HREF="/c/5f6a83d2b5cb46a7d405dbb0ac642aaa/itc/css/global.css" TYPE="text/css" REL="STYLESHEET">
9
+
10
+
11
+ <script src="/c/50a103a63c420da82058e4344cdb939b/itc/js/global.js" type="text/javascript"></script>
12
+
13
+ <script src="/c/d8363767865b7f4729303df535297e7d/itc/templates/global.js" type="text/javascript"></script>
14
+ <script src="/c/63380df37bfb8ba5c99b39b648e1f096/itc/js/itunes-connect-ibookstore.js" type="text/javascript"></script>
15
+
16
+ </HEAD>
17
+ <BODY BGCOLOR="#FFFFFF" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" RIGHTMARGIN="0">
18
+
19
+ <p>
20
+
21
+
22
+
23
+ <TABLE BORDER=0 CELLPADDING=4 CELLSPACING=0 WIDTH="99%" align="center">
24
+ <TR>
25
+ <TD>
26
+
27
+ <table width="980" cellpadding="0" cellspacing="0" border="0" align="center">
28
+ <tr>
29
+ <td colspan="3">
30
+ <table width="100%" style="margin-bottom: 10px;">
31
+ <tr>
32
+ <td style="width: 179px" align="left"><a href="/WebObjects/iTunesConnect.woa/wo/4.0.0.9.1"><img src="https://itc.mzstatic.com/itc/images/itc-masthead.png" width="173" height="23" alt="iTunes Connect" border="0" /></a></td>
33
+
34
+
35
+ <td style="text-align: right"><form name="signOutForm" method="post" action="/WebObjects/iTunesConnect.woa/wo/4.0.0.9.5.1.0">
36
+
37
+ <font color="gray">
38
+
39
+ Account Name
40
+ </font>
41
+ <input type="submit" value="Sign Out"/>
42
+ </form>
43
+ </td>
44
+
45
+ </tr>
46
+ </table>
47
+ </td>
48
+ </tr>
49
+
50
+
51
+ <tr>
52
+ <td colspan="4">
53
+
54
+ <span id="headerMessagesUpdateContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/4.0.0.9.7.1" errorId="ajaxContainerError">
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+ </span>
63
+
64
+ </td>
65
+ </tr>
66
+ <tr>
67
+ <td colspan="4">
68
+
69
+
70
+
71
+
72
+
73
+ <table width="980" border="0" cellpadding="0" cellspacing="0">
74
+ <tr>
75
+ <td width="8"><img src="https://itc.mzstatic.com/itc/images/wrapper_topl.png" width="8" height="51" alt=""></td>
76
+ <td width="*" background="https://itc.mzstatic.com/itc/images/wrapper_top.png" height="51" align="center" class="header_text">
77
+ <span id="lcBoxWrapperHeaderUpdateContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/4.0.0.9.7.3.3.1.5" errorId="ajaxContainerError">
78
+ <span class="wrapper-topright-button">
79
+ </span>
80
+ <span class="upload-app-button">
81
+ </span>
82
+ <p>Agreement Update</p>
83
+ </span>
84
+ </td>
85
+ <td width="8"><img src="https://itc.mzstatic.com/itc/images/wrapper_topr.png" width="8" height="51" alt=""></td>
86
+
87
+ </tr>
88
+ <tr>
89
+ <td background="https://itc.mzstatic.com/itc/images/wrapper_10.png" width="8"></td>
90
+ <td bgcolor="#C9C9C9">
91
+
92
+
93
+ <table class="lcbox" cellpadding="0" cellspacing="0">
94
+ <tr valign="top">
95
+ <td height="12" width="4" valign="top" background="https://itc.mzstatic.com/itc/images/wrapper_17.png"><img src="https://itc.mzstatic.com/itc/images/wrapper_11.png" width="4" height="12" alt=""></td>
96
+ <td rowspan="2" style="background: white url('https://itc.mzstatic.com/itc/images/wrapper_12.png') repeat-x top left" valign="top">
97
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
98
+
99
+ <tr>
100
+ <td>
101
+
102
+
103
+ <div class="simple-notification">
104
+ <table cellpadding="5" cellspacing="5" border="0" align="center">
105
+
106
+ <tr valign = "top">
107
+ <td width="20" align="center"><img src="https://itc.mzstatic.com/itc/images/icon-tiny-warning.png" border="0"></td>
108
+ <td>
109
+ An updated version of the iOS Developer Program Agreement is available and requires your acceptance. To restore your ability to create new applications and upload binaries, the Agent of your development team must log in to the Developer Member Center to review and accept this agreement.<br><a href='http://developer.apple.com/membercenter/index.action'>Go to the Developer Member Center<img src='/itc/images/external-link.png' border=0 width=10 height=10 alt='popup link' class='popup_link'></a>
110
+ </td>
111
+ </tr>
112
+
113
+ </table>
114
+ </div>
115
+
116
+
117
+
118
+ </td>
119
+ </tr>
120
+ </table>
121
+ </td>
122
+ <td height="12" width="4" valign="top" background="https://itc.mzstatic.com/itc/images/wrapper_19.png"><img src="https://itc.mzstatic.com/itc/images/wrapper_14.png" width="4" height="12" alt=""></td>
123
+ </tr>
124
+ <tr>
125
+ <td background="https://itc.mzstatic.com/itc/images/wrapper_17.png" width="4"></td>
126
+ <td background="https://itc.mzstatic.com/itc/images/wrapper_19.png" width="4"></td>
127
+ </tr>
128
+ <tr>
129
+ <td><img src="https://itc.mzstatic.com/itc/images/wrapper_22.png" width="4" height="5" alt=""></td>
130
+ <td background="https://itc.mzstatic.com/itc/images/wrapper_23.png" height="5"></td>
131
+ <td><img src="https://itc.mzstatic.com/itc/images/wrapper_25.png" width="4" height="5" alt=""></td>
132
+ </tr>
133
+ </table>
134
+
135
+
136
+
137
+
138
+ </td>
139
+ <td background="https://itc.mzstatic.com/itc/images/wrapper_15.png" width="8"></td>
140
+ </tr>
141
+ <tr>
142
+ <td width="8"><img src="https://itc.mzstatic.com/itc/images/wrapper_bottoml.png" width="8" height="41" alt=""></td>
143
+ <td width="*" background="https://itc.mzstatic.com/itc/images/wrapper_bottom.png" height="41">
144
+ <span id="lcBoxWrapperFooterUpdateContainer" class="lcAjaxContainer" action="/WebObjects/iTunesConnect.woa/wo/4.0.0.9.7.3.3.1.19" errorId="ajaxContainerError">
145
+ <span class="wrapper-right-button">
146
+
147
+
148
+
149
+
150
+ <a href="/WebObjects/iTunesConnect.woa/wo/4.0.0.9.7.3.3.1.19.1.0.1.3.1">
151
+ <img border="0" onclick="" class="customActionButton" src="https://itc.mzstatic.com/itc/images/btn-continue.png" />
152
+
153
+ </a>
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+ </span>
162
+ <span class="wrapper-left-button">
163
+ </span>
164
+ </span>
165
+ </td>
166
+ <td width="8"><img src="https://itc.mzstatic.com/itc/images/wrapper_bottomr.png" width="8" height="41" alt=""></td>
167
+ </tr>
168
+
169
+ </table>
170
+
171
+
172
+
173
+
174
+ </td>
175
+ </tr>
176
+
177
+
178
+ </table>
179
+
180
+ <div class="footerLinks" align="center"><a href="/WebObjects/iTunesConnect.woa/wo/4.0.0.11.0.1">Home</a>
181
+
182
+ | <a href="/WebObjects/iTunesConnect.woa/wa/jumpTo?page=faqs">FAQs</a>
183
+ | <a href="/WebObjects/iTunesConnect.woa/wo/4.0.0.11.0.3.0.0.3.1">Contact Us</a>
184
+
185
+
186
+
187
+ | <a href="/WebObjects/iTunesConnect.woa/wo/4.0.0.11.0.5">Sign Out</a></div>
188
+ <div class="footerCopyright" align="center">Copyright &#169; 2011 Apple Inc. All rights reserved. <a href="/WebObjects/iTunesConnect.woa/wo/4.0.0.11.0.9">Terms of Service</a> | <a href="http://www.apple.com/legal/privacy/">Privacy Policy</a></div><br/>
189
+
190
+
191
+
192
+ </TD>
193
+ </TR>
194
+ </TABLE>
195
+ </BODY>
196
+ </HTML>
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes-connect
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 12
8
- - 1
9
- version: 0.12.1
4
+ prerelease:
5
+ version: 0.13.0
10
6
  platform: ruby
11
7
  authors:
12
8
  - Alex Vollmer
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-01-24 00:00:00 +10:30
13
+ date: 2011-07-18 00:00:00 +09:30
18
14
  default_executable: itunes_connect
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,10 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ~>
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 0
31
- - 0
32
24
  version: 1.0.0
33
25
  type: :runtime
34
26
  version_requirements: *id001
@@ -40,10 +32,6 @@ dependencies:
40
32
  requirements:
41
33
  - - ">="
42
34
  - !ruby/object:Gem::Version
43
- segments:
44
- - 1
45
- - 0
46
- - 1
47
35
  version: 1.0.1
48
36
  type: :runtime
49
37
  version_requirements: *id002
@@ -55,9 +43,6 @@ dependencies:
55
43
  requirements:
56
44
  - - ~>
57
45
  - !ruby/object:Gem::Version
58
- segments:
59
- - 1
60
- - 2
61
46
  version: "1.2"
62
47
  type: :runtime
63
48
  version_requirements: *id003
@@ -69,8 +54,6 @@ dependencies:
69
54
  requirements:
70
55
  - - ">="
71
56
  - !ruby/object:Gem::Version
72
- segments:
73
- - 0
74
57
  version: "0"
75
58
  type: :development
76
59
  version_requirements: *id004
@@ -82,8 +65,6 @@ dependencies:
82
65
  requirements:
83
66
  - - ">="
84
67
  - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
68
  version: "0"
88
69
  type: :development
89
70
  version_requirements: *id005
@@ -115,6 +96,8 @@ files:
115
96
  - spec/commands_spec.rb
116
97
  - spec/connection_spec.rb
117
98
  - spec/fakeweb/homepage
99
+ - spec/fixtures/itunes_icloud_legal.html
100
+ - spec/fixtures/itunes_new_agreement.html
118
101
  - spec/fixtures/report.txt
119
102
  - spec/report_spec.rb
120
103
  - spec/spec_helper.rb
@@ -135,31 +118,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
118
  requirements:
136
119
  - - ">="
137
120
  - !ruby/object:Gem::Version
138
- segments:
139
- - 0
140
121
  version: "0"
141
122
  required_rubygems_version: !ruby/object:Gem::Requirement
142
123
  none: false
143
124
  requirements:
144
125
  - - ">="
145
126
  - !ruby/object:Gem::Version
146
- segments:
147
- - 0
148
127
  version: "0"
149
128
  requirements: []
150
129
 
151
130
  rubyforge_project:
152
- rubygems_version: 1.3.7
131
+ rubygems_version: 1.6.2
153
132
  signing_key:
154
133
  specification_version: 3
155
134
  summary: Get your iTunes Connect Reports
156
- test_files:
157
- - spec/commands/download_spec.rb
158
- - spec/commands/help_spec.rb
159
- - spec/commands/import_spec.rb
160
- - spec/commands/report_spec.rb
161
- - spec/commands_spec.rb
162
- - spec/connection_spec.rb
163
- - spec/report_spec.rb
164
- - spec/spec_helper.rb
165
- - spec/store_spec.rb
135
+ test_files: []
136
+