octranspo 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/.gitignore +3 -0
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +26 -0
  4. data/Rakefile +8 -0
  5. data/lib/octranspo.rb +20 -0
  6. data/lib/octranspo/headsign.rb +2539 -0
  7. data/lib/octranspo/headsigns.yml +40565 -0
  8. data/lib/octranspo/landmarks.rb +37 -0
  9. data/lib/octranspo/lingo.rb +125 -0
  10. data/lib/octranspo/lingo/headsign_messages.yml +104 -0
  11. data/lib/octranspo/lingo/headsign_signatures.yml +3 -0
  12. data/lib/octranspo/lingo/landmarks.yml +205 -0
  13. data/lib/octranspo/lingo/roadways.yml +1957 -0
  14. data/lib/octranspo/mobile_resource_methods.rb +98 -0
  15. data/lib/octranspo/mobile_route_data.rb +85 -0
  16. data/lib/octranspo/mobile_route_schedule.rb +118 -0
  17. data/lib/octranspo/mobile_stop_schedule.rb +137 -0
  18. data/lib/octranspo/remote_resource_methods.rb +89 -0
  19. data/lib/octranspo/route.rb +31 -0
  20. data/lib/octranspo/routes.yml +507 -0
  21. data/lib/octranspo/service_date.rb +17 -0
  22. data/lib/octranspo/stations.yml +77 -0
  23. data/lib/octranspo/stop.rb +69 -0
  24. data/lib/octranspo/stop_resource.rb +46 -0
  25. data/lib/octranspo/stops.yml +30696 -0
  26. data/lib/octranspo/version.rb +3 -0
  27. data/octranspo.gemspec +22 -0
  28. data/test/fixtures/mobile_route_data/20090323/route_123_index_0.html +457 -0
  29. data/test/fixtures/mobile_route_data/20090323/route_123_index_1.html +99 -0
  30. data/test/fixtures/mobile_route_data/20090323/route_1_index_0.html +700 -0
  31. data/test/fixtures/mobile_route_data/20090323/route_1_index_1.html +691 -0
  32. data/test/fixtures/mobile_route_data/20090323/route_2_index_0.html +682 -0
  33. data/test/fixtures/mobile_route_data/20090323/route_2_index_1.html +646 -0
  34. data/test/fixtures/mobile_route_data/20100323/route_123_index_0.html +469 -0
  35. data/test/fixtures/mobile_route_data/20100323/route_123_index_1.html +105 -0
  36. data/test/fixtures/mobile_route_data/20100323/route_1_index_0.html +703 -0
  37. data/test/fixtures/mobile_route_data/20100323/route_1_index_1.html +694 -0
  38. data/test/fixtures/mobile_route_data/20100323/route_2_index_0.html +685 -0
  39. data/test/fixtures/mobile_route_data/20100323/route_2_index_1.html +649 -0
  40. data/test/fixtures/mobile_route_data/20100323/route_3_index_0.html +649 -0
  41. data/test/fixtures/mobile_route_data/20100323/route_3_index_1.html +721 -0
  42. data/test/fixtures/mobile_route_schedule/20090323/route_18_direction_2_location_25.html +1038 -0
  43. data/test/fixtures/mobile_route_schedule/20090323/route_1_direction_1_location_0.html +1127 -0
  44. data/test/fixtures/mobile_route_schedule/20090323/route_2_direction_2_location_11.html +1430 -0
  45. data/test/fixtures/mobile_route_schedule/20090323/route_2_direction__location_11.html +104 -0
  46. data/test/fixtures/mobile_route_schedule/20100323/route_1_direction_1_location_0.html +1180 -0
  47. data/test/fixtures/mobile_route_schedule/20100323/route_2_direction_2_location_11.html +1554 -0
  48. data/test/fixtures/mobile_route_schedule/20100323/route_3_direction_1_location_0.html +1082 -0
  49. data/test/fixtures/mobile_route_schedule/20100323/route_3_direction_1_location_1.html +1082 -0
  50. data/test/fixtures/mobile_stop_schedule/20090323/location_1987.yml +198 -0
  51. data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_0.html +1283 -0
  52. data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_1.html +194 -0
  53. data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_2.html +116 -0
  54. data/test/fixtures/mobile_stop_schedule/20090323/location_3058_route_index_12.html +149 -0
  55. data/test/fixtures/mobile_stop_schedule/20090323/location_8789_route_index_0.html +1002 -0
  56. data/test/fixtures/mobile_stop_schedule/20100323/location_1987.yml +209 -0
  57. data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_0.html +1393 -0
  58. data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_1.html +206 -0
  59. data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_2.html +123 -0
  60. data/test/fixtures/mobile_stop_schedule/20100323/location_3058_route_index_12.html +278 -0
  61. data/test/fixtures/mobile_stop_schedule/20100323/location_7558_route_index_0.html +979 -0
  62. data/test/fixtures/mobile_stop_schedule/20100323/location_8789_route_index_0.html +1059 -0
  63. data/test/fixtures/stop_resource/1987.html +126 -0
  64. data/test/test_helper.rb +15 -0
  65. data/test/unit/headsign_test.rb +34 -0
  66. data/test/unit/lingo_test.rb +139 -0
  67. data/test/unit/mobile_resource_methods_test.rb +25 -0
  68. data/test/unit/mobile_route_data_test.rb +124 -0
  69. data/test/unit/mobile_route_schedule_test.rb +210 -0
  70. data/test/unit/mobile_stop_schedule_test.rb +153 -0
  71. data/test/unit/service_date_test.rb +27 -0
  72. data/test/unit/stop_resource_test.rb +26 -0
  73. metadata +251 -0
@@ -0,0 +1,979 @@
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
9
+ <html>
10
+ <head>
11
+ <title>OCTranspo Stop Times</title>
12
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
13
+ <meta http-equiv="Content-Language" content="en-us"/>
14
+ <link rel="stylesheet" type="text/css" href="mobileweb.css"/>
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <p id="TemplateHeader" class="TemplateHeader"><img src="logo.jpg" width="80" height="20" alt="octranspo" align="left"/>&nbsp;Stop Passing Times</p>
30
+ <br/>
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ <table id="StopTimesTimesSelectedTable" cellpadding="0" cellspacing="0" border="0">
45
+ <tr>
46
+ <td class="header" valign="top">Date: </td>
47
+ <td class="selected">
48
+
49
+
50
+
51
+ Tue, Mar 23, 2010
52
+
53
+
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td class="header" valign="top">Time: </td><td class="selected">All Day (3am-3am)</td>
58
+ </tr>
59
+ <tr>
60
+ <td class="header" valign="top">Stop: </td><td class="selected">
61
+
62
+ ELGIN / QUEEN (7558).</td>
63
+ </tr>
64
+ <tr><td colspan="2">&nbsp;</td></tr>
65
+ <tr>
66
+ <td class="header" valign="top" colspan="2">All times</td>
67
+ </tr>
68
+
69
+
70
+ <tr><td colspan="2">&nbsp;</td></tr>
71
+ <tr>
72
+ <td class="header" valign="top">Route: </td><td class="selected">
73
+
74
+ 3 Colonnade
75
+ .</td>
76
+ </tr>
77
+
78
+ <tr>
79
+ <td colspan="2">
80
+ <table id="StopTimesTimesListTable0" cellpadding="0" cellspacing="5" border="1" width="100%">
81
+
82
+
83
+
84
+
85
+ <tr>
86
+
87
+ <td>
88
+
89
+
90
+
91
+ 6:06 AM
92
+
93
+
94
+
95
+
96
+ </td>
97
+
98
+
99
+
100
+ <td>
101
+
102
+
103
+
104
+ 6:29 AM
105
+
106
+
107
+
108
+
109
+ </td>
110
+
111
+ </tr>
112
+
113
+
114
+
115
+ <tr>
116
+
117
+ <td>
118
+
119
+
120
+
121
+ 6:51 AM
122
+
123
+
124
+
125
+
126
+ </td>
127
+
128
+
129
+
130
+ <td>
131
+
132
+
133
+
134
+ 7:11 AM
135
+
136
+
137
+
138
+
139
+ </td>
140
+
141
+ </tr>
142
+
143
+
144
+
145
+ <tr>
146
+
147
+ <td>
148
+
149
+
150
+
151
+ 7:31 AM
152
+
153
+
154
+
155
+
156
+ </td>
157
+
158
+
159
+
160
+ <td>
161
+
162
+
163
+
164
+ 7:46 AM
165
+
166
+
167
+
168
+
169
+ </td>
170
+
171
+ </tr>
172
+
173
+
174
+
175
+ <tr>
176
+
177
+ <td>
178
+
179
+
180
+
181
+ 8:01 AM
182
+
183
+
184
+
185
+
186
+ </td>
187
+
188
+
189
+
190
+ <td>
191
+
192
+
193
+
194
+ 8:31 AM
195
+
196
+
197
+
198
+
199
+ </td>
200
+
201
+ </tr>
202
+
203
+
204
+
205
+ <tr>
206
+
207
+ <td>
208
+
209
+
210
+
211
+ 8:46 AM
212
+
213
+
214
+
215
+
216
+ </td>
217
+
218
+
219
+
220
+ <td>
221
+
222
+
223
+
224
+ 9:06 AM
225
+
226
+
227
+
228
+
229
+ </td>
230
+
231
+ </tr>
232
+
233
+
234
+
235
+ <tr>
236
+
237
+ <td>
238
+
239
+
240
+
241
+ 9:26 AM
242
+
243
+
244
+
245
+
246
+ </td>
247
+
248
+
249
+
250
+ <td>
251
+
252
+
253
+
254
+ 9:46 AM
255
+
256
+
257
+
258
+
259
+ </td>
260
+
261
+ </tr>
262
+
263
+
264
+
265
+ <tr>
266
+
267
+ <td>
268
+
269
+
270
+
271
+ 10:06 AM
272
+
273
+
274
+
275
+
276
+ </td>
277
+
278
+
279
+
280
+ <td>
281
+
282
+
283
+
284
+ 10:26 AM
285
+
286
+
287
+
288
+
289
+ </td>
290
+
291
+ </tr>
292
+
293
+
294
+
295
+ <tr>
296
+
297
+ <td>
298
+
299
+
300
+
301
+ 10:46 AM
302
+
303
+
304
+
305
+
306
+ </td>
307
+
308
+
309
+
310
+ <td>
311
+
312
+
313
+
314
+ 11:06 AM
315
+
316
+
317
+
318
+
319
+ </td>
320
+
321
+ </tr>
322
+
323
+
324
+
325
+ <tr>
326
+
327
+ <td>
328
+
329
+
330
+
331
+ 11:26 AM
332
+
333
+
334
+
335
+
336
+ </td>
337
+
338
+
339
+
340
+ <td>
341
+
342
+
343
+
344
+ 11:46 AM
345
+
346
+
347
+
348
+
349
+ </td>
350
+
351
+ </tr>
352
+
353
+
354
+
355
+ <tr>
356
+
357
+ <td>
358
+
359
+
360
+
361
+ 12:06 PM
362
+
363
+
364
+
365
+
366
+ </td>
367
+
368
+
369
+
370
+ <td>
371
+
372
+
373
+
374
+ 12:26 PM
375
+
376
+
377
+
378
+
379
+ </td>
380
+
381
+ </tr>
382
+
383
+
384
+
385
+ <tr>
386
+
387
+ <td>
388
+
389
+
390
+
391
+ 12:46 PM
392
+
393
+
394
+
395
+
396
+ </td>
397
+
398
+
399
+
400
+ <td>
401
+
402
+
403
+
404
+ 1:06 PM
405
+
406
+
407
+
408
+
409
+ </td>
410
+
411
+ </tr>
412
+
413
+
414
+
415
+ <tr>
416
+
417
+ <td>
418
+
419
+
420
+
421
+ 1:26 PM
422
+
423
+
424
+
425
+
426
+ </td>
427
+
428
+
429
+
430
+ <td>
431
+
432
+
433
+
434
+ 1:46 PM
435
+
436
+
437
+
438
+
439
+ </td>
440
+
441
+ </tr>
442
+
443
+
444
+
445
+ <tr>
446
+
447
+ <td>
448
+
449
+
450
+
451
+ 2:06 PM
452
+
453
+
454
+
455
+
456
+ </td>
457
+
458
+
459
+
460
+ <td>
461
+
462
+
463
+
464
+ 2:26 PM
465
+
466
+
467
+
468
+
469
+ </td>
470
+
471
+ </tr>
472
+
473
+
474
+
475
+ <tr>
476
+
477
+ <td>
478
+
479
+
480
+
481
+ 2:46 PM
482
+
483
+
484
+
485
+
486
+ </td>
487
+
488
+
489
+
490
+ <td>
491
+
492
+
493
+
494
+ 3:06 PM
495
+
496
+
497
+
498
+
499
+ </td>
500
+
501
+ </tr>
502
+
503
+
504
+
505
+ <tr>
506
+
507
+ <td>
508
+
509
+
510
+
511
+ 3:16 PM
512
+
513
+
514
+
515
+ [D]
516
+
517
+
518
+ </td>
519
+
520
+
521
+
522
+ <td>
523
+
524
+
525
+
526
+ 3:26 PM
527
+
528
+
529
+
530
+
531
+ </td>
532
+
533
+ </tr>
534
+
535
+
536
+
537
+ <tr>
538
+
539
+ <td>
540
+
541
+
542
+
543
+ 3:36 PM
544
+
545
+
546
+
547
+ [D]
548
+
549
+
550
+ </td>
551
+
552
+
553
+
554
+ <td>
555
+
556
+
557
+
558
+ 3:46 PM
559
+
560
+
561
+
562
+
563
+ </td>
564
+
565
+ </tr>
566
+
567
+
568
+
569
+ <tr>
570
+
571
+ <td>
572
+
573
+
574
+
575
+ 3:56 PM
576
+
577
+
578
+
579
+ [D]
580
+
581
+
582
+ </td>
583
+
584
+
585
+
586
+ <td>
587
+
588
+
589
+
590
+ 4:06 PM
591
+
592
+
593
+
594
+
595
+ </td>
596
+
597
+ </tr>
598
+
599
+
600
+
601
+ <tr>
602
+
603
+ <td>
604
+
605
+
606
+
607
+ 4:16 PM
608
+
609
+
610
+
611
+ [D]
612
+
613
+
614
+ </td>
615
+
616
+
617
+
618
+ <td>
619
+
620
+
621
+
622
+ 4:26 PM
623
+
624
+
625
+
626
+
627
+ </td>
628
+
629
+ </tr>
630
+
631
+
632
+
633
+ <tr>
634
+
635
+ <td>
636
+
637
+
638
+
639
+ 4:36 PM
640
+
641
+
642
+
643
+ [D]
644
+
645
+
646
+ </td>
647
+
648
+
649
+
650
+ <td>
651
+
652
+
653
+
654
+ 4:46 PM
655
+
656
+
657
+
658
+
659
+ </td>
660
+
661
+ </tr>
662
+
663
+
664
+
665
+ <tr>
666
+
667
+ <td>
668
+
669
+
670
+
671
+ 4:56 PM
672
+
673
+
674
+
675
+ [D]
676
+
677
+
678
+ </td>
679
+
680
+
681
+
682
+ <td>
683
+
684
+
685
+
686
+ 5:08 PM
687
+
688
+
689
+
690
+
691
+ </td>
692
+
693
+ </tr>
694
+
695
+
696
+
697
+ <tr>
698
+
699
+ <td>
700
+
701
+
702
+
703
+ 5:18 PM
704
+
705
+
706
+
707
+ [D]
708
+
709
+
710
+ </td>
711
+
712
+
713
+
714
+ <td>
715
+
716
+
717
+
718
+ 5:28 PM
719
+
720
+
721
+
722
+
723
+ </td>
724
+
725
+ </tr>
726
+
727
+
728
+
729
+ <tr>
730
+
731
+ <td>
732
+
733
+
734
+
735
+ 5:38 PM
736
+
737
+
738
+
739
+ [D]
740
+
741
+
742
+ </td>
743
+
744
+
745
+
746
+ <td>
747
+
748
+
749
+
750
+ 5:48 PM
751
+
752
+
753
+
754
+
755
+ </td>
756
+
757
+ </tr>
758
+
759
+
760
+
761
+ <tr>
762
+
763
+ <td>
764
+
765
+
766
+
767
+ 6:08 PM
768
+
769
+
770
+
771
+
772
+ </td>
773
+
774
+
775
+
776
+ <td>
777
+
778
+
779
+
780
+ 6:28 PM
781
+
782
+
783
+
784
+
785
+ </td>
786
+
787
+ </tr>
788
+
789
+
790
+
791
+ <tr>
792
+
793
+ <td>
794
+
795
+
796
+
797
+ 6:48 PM
798
+
799
+
800
+
801
+
802
+ </td>
803
+
804
+
805
+
806
+ <td>
807
+
808
+
809
+
810
+ 7:14 PM
811
+
812
+
813
+
814
+
815
+ </td>
816
+
817
+ </tr>
818
+
819
+
820
+
821
+ <tr>
822
+
823
+ <td>
824
+
825
+
826
+
827
+ 7:44 PM
828
+
829
+
830
+
831
+
832
+ </td>
833
+
834
+
835
+
836
+ <td>
837
+
838
+
839
+
840
+ 8:13 PM
841
+
842
+
843
+
844
+
845
+ </td>
846
+
847
+ </tr>
848
+
849
+
850
+
851
+ <tr>
852
+
853
+ <td>
854
+
855
+
856
+
857
+ 8:43 PM
858
+
859
+
860
+
861
+
862
+ </td>
863
+
864
+
865
+
866
+ <td>
867
+
868
+
869
+
870
+ 9:13 PM
871
+
872
+
873
+
874
+
875
+ </td>
876
+
877
+ </tr>
878
+
879
+
880
+
881
+ <tr>
882
+
883
+ <td>
884
+
885
+
886
+
887
+ 9:43 PM
888
+
889
+
890
+
891
+
892
+ </td>
893
+
894
+
895
+
896
+ <td>
897
+
898
+
899
+
900
+ 10:13 PM
901
+
902
+
903
+
904
+
905
+ </td>
906
+
907
+ </tr>
908
+
909
+
910
+
911
+ <tr>
912
+
913
+ <td>
914
+
915
+
916
+
917
+ 10:43 PM
918
+
919
+
920
+
921
+
922
+ </td>
923
+
924
+
925
+
926
+ <td>
927
+
928
+
929
+
930
+ 11:49 PM
931
+
932
+
933
+
934
+
935
+ </td>
936
+
937
+ </tr>
938
+
939
+
940
+
941
+
942
+
943
+
944
+ </table>
945
+ </td>
946
+ </tr>
947
+
948
+
949
+ <tr>
950
+ <td valign="top" class="notes">[D]</td>
951
+ <td valign="top" class="notes">Destination 3X NEPEAN CENTRE MERIVALE VIEWMOUNT</td>
952
+ </tr>
953
+
954
+
955
+
956
+ </table>
957
+
958
+ <table id="StopTimesTimesLinksTable" cellpadding="0" cellspacing="0" border="0">
959
+ <tr><td id="StopTimesTimesLinksTDBlank">&nbsp;</td></tr>
960
+
961
+ <tr>
962
+ <td class="link"><a href="post.datestop.stoptimes.oci;jsessionid=505BC46A7017C0BC447A51C08AE2D18B?lang=en&amp;day=20100323&amp;stop=7558&amp;rangeIndex=5&amp;accessible=false">Choose a new route</a></td>
963
+ </tr>
964
+
965
+ <tr>
966
+ <td class="link"><a href="start.stoptimes.oci;jsessionid=505BC46A7017C0BC447A51C08AE2D18B?lang=en">Choose a new stop</a></td>
967
+ </tr>
968
+ </table>
969
+
970
+
971
+
972
+
973
+ <br/>
974
+ <p id="TemplateFooter" class="TemplateFooter"><a href="startFR.stoptimes.oci">Fran�ais</a> | <a href="startEN.schedules.oci">Route Schedules</a> | <a href="startEN.tripplan.oci">Travel Planner</a></p>
975
+ </body>
976
+ </html>
977
+
978
+
979
+