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,1059 @@
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
+ MAPLE LANE / SPRINGFIELD (8789).</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
+ 1 South Keys
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
+ 5:52 AM
92
+
93
+
94
+
95
+
96
+ </td>
97
+
98
+
99
+
100
+ <td>
101
+
102
+
103
+
104
+ 6:14 AM
105
+
106
+
107
+
108
+
109
+ </td>
110
+
111
+ </tr>
112
+
113
+
114
+
115
+ <tr>
116
+
117
+ <td>
118
+
119
+
120
+
121
+ 6:26 AM
122
+
123
+
124
+
125
+
126
+ </td>
127
+
128
+
129
+
130
+ <td>
131
+
132
+
133
+
134
+ 6:38 AM
135
+
136
+
137
+
138
+
139
+ </td>
140
+
141
+ </tr>
142
+
143
+
144
+
145
+ <tr>
146
+
147
+ <td>
148
+
149
+
150
+
151
+ 6:50 AM
152
+
153
+
154
+
155
+
156
+ </td>
157
+
158
+
159
+
160
+ <td>
161
+
162
+
163
+
164
+ 7:04 AM
165
+
166
+
167
+
168
+
169
+ </td>
170
+
171
+ </tr>
172
+
173
+
174
+
175
+ <tr>
176
+
177
+ <td>
178
+
179
+
180
+
181
+ 7:16 AM
182
+
183
+
184
+
185
+
186
+ </td>
187
+
188
+
189
+
190
+ <td>
191
+
192
+
193
+
194
+ 7:28 AM
195
+
196
+
197
+
198
+
199
+ </td>
200
+
201
+ </tr>
202
+
203
+
204
+
205
+ <tr>
206
+
207
+ <td>
208
+
209
+
210
+
211
+ 7:41 AM
212
+
213
+
214
+
215
+
216
+ </td>
217
+
218
+
219
+
220
+ <td>
221
+
222
+
223
+
224
+ 7:53 AM
225
+
226
+
227
+
228
+
229
+ </td>
230
+
231
+ </tr>
232
+
233
+
234
+
235
+ <tr>
236
+
237
+ <td>
238
+
239
+
240
+
241
+ 8:04 AM
242
+
243
+
244
+
245
+
246
+ </td>
247
+
248
+
249
+
250
+ <td>
251
+
252
+
253
+
254
+ 8:16 AM
255
+
256
+
257
+
258
+
259
+ </td>
260
+
261
+ </tr>
262
+
263
+
264
+
265
+ <tr>
266
+
267
+ <td>
268
+
269
+
270
+
271
+ 8:28 AM
272
+
273
+
274
+
275
+
276
+ </td>
277
+
278
+
279
+
280
+ <td>
281
+
282
+
283
+
284
+ 8:40 AM
285
+
286
+
287
+
288
+
289
+ </td>
290
+
291
+ </tr>
292
+
293
+
294
+
295
+ <tr>
296
+
297
+ <td>
298
+
299
+
300
+
301
+ 8:48 AM
302
+
303
+
304
+
305
+
306
+ </td>
307
+
308
+
309
+
310
+ <td>
311
+
312
+
313
+
314
+ 9:02 AM
315
+
316
+
317
+
318
+
319
+ </td>
320
+
321
+ </tr>
322
+
323
+
324
+
325
+ <tr>
326
+
327
+ <td>
328
+
329
+
330
+
331
+ 9:17 AM
332
+
333
+
334
+
335
+
336
+ </td>
337
+
338
+
339
+
340
+ <td>
341
+
342
+
343
+
344
+ 9:32 AM
345
+
346
+
347
+
348
+
349
+ </td>
350
+
351
+ </tr>
352
+
353
+
354
+
355
+ <tr>
356
+
357
+ <td>
358
+
359
+
360
+
361
+ 9:47 AM
362
+
363
+
364
+
365
+
366
+ </td>
367
+
368
+
369
+
370
+ <td>
371
+
372
+
373
+
374
+ 10:02 AM
375
+
376
+
377
+
378
+
379
+ </td>
380
+
381
+ </tr>
382
+
383
+
384
+
385
+ <tr>
386
+
387
+ <td>
388
+
389
+
390
+
391
+ 10:17 AM
392
+
393
+
394
+
395
+
396
+ </td>
397
+
398
+
399
+
400
+ <td>
401
+
402
+
403
+
404
+ 10:32 AM
405
+
406
+
407
+
408
+
409
+ </td>
410
+
411
+ </tr>
412
+
413
+
414
+
415
+ <tr>
416
+
417
+ <td>
418
+
419
+
420
+
421
+ 10:47 AM
422
+
423
+
424
+
425
+
426
+ </td>
427
+
428
+
429
+
430
+ <td>
431
+
432
+
433
+
434
+ 11:02 AM
435
+
436
+
437
+
438
+
439
+ </td>
440
+
441
+ </tr>
442
+
443
+
444
+
445
+ <tr>
446
+
447
+ <td>
448
+
449
+
450
+
451
+ 11:17 AM
452
+
453
+
454
+
455
+
456
+ </td>
457
+
458
+
459
+
460
+ <td>
461
+
462
+
463
+
464
+ 11:32 AM
465
+
466
+
467
+
468
+
469
+ </td>
470
+
471
+ </tr>
472
+
473
+
474
+
475
+ <tr>
476
+
477
+ <td>
478
+
479
+
480
+
481
+ 11:47 AM
482
+
483
+
484
+
485
+
486
+ </td>
487
+
488
+
489
+
490
+ <td>
491
+
492
+
493
+
494
+ 12:02 PM
495
+
496
+
497
+
498
+
499
+ </td>
500
+
501
+ </tr>
502
+
503
+
504
+
505
+ <tr>
506
+
507
+ <td>
508
+
509
+
510
+
511
+ 12:17 PM
512
+
513
+
514
+
515
+
516
+ </td>
517
+
518
+
519
+
520
+ <td>
521
+
522
+
523
+
524
+ 12:32 PM
525
+
526
+
527
+
528
+
529
+ </td>
530
+
531
+ </tr>
532
+
533
+
534
+
535
+ <tr>
536
+
537
+ <td>
538
+
539
+
540
+
541
+ 12:47 PM
542
+
543
+
544
+
545
+
546
+ </td>
547
+
548
+
549
+
550
+ <td>
551
+
552
+
553
+
554
+ 1:02 PM
555
+
556
+
557
+
558
+
559
+ </td>
560
+
561
+ </tr>
562
+
563
+
564
+
565
+ <tr>
566
+
567
+ <td>
568
+
569
+
570
+
571
+ 1:17 PM
572
+
573
+
574
+
575
+
576
+ </td>
577
+
578
+
579
+
580
+ <td>
581
+
582
+
583
+
584
+ 1:32 PM
585
+
586
+
587
+
588
+
589
+ </td>
590
+
591
+ </tr>
592
+
593
+
594
+
595
+ <tr>
596
+
597
+ <td>
598
+
599
+
600
+
601
+ 1:47 PM
602
+
603
+
604
+
605
+
606
+ </td>
607
+
608
+
609
+
610
+ <td>
611
+
612
+
613
+
614
+ 2:02 PM
615
+
616
+
617
+
618
+
619
+ </td>
620
+
621
+ </tr>
622
+
623
+
624
+
625
+ <tr>
626
+
627
+ <td>
628
+
629
+
630
+
631
+ 2:17 PM
632
+
633
+
634
+
635
+
636
+ </td>
637
+
638
+
639
+
640
+ <td>
641
+
642
+
643
+
644
+ 2:32 PM
645
+
646
+
647
+
648
+
649
+ </td>
650
+
651
+ </tr>
652
+
653
+
654
+
655
+ <tr>
656
+
657
+ <td>
658
+
659
+
660
+
661
+ 2:47 PM
662
+
663
+
664
+
665
+
666
+ </td>
667
+
668
+
669
+
670
+ <td>
671
+
672
+
673
+
674
+ 3:02 PM
675
+
676
+
677
+
678
+
679
+ </td>
680
+
681
+ </tr>
682
+
683
+
684
+
685
+ <tr>
686
+
687
+ <td>
688
+
689
+
690
+
691
+ 3:15 PM
692
+
693
+
694
+
695
+
696
+ </td>
697
+
698
+
699
+
700
+ <td>
701
+
702
+
703
+
704
+ 3:30 PM
705
+
706
+
707
+
708
+
709
+ </td>
710
+
711
+ </tr>
712
+
713
+
714
+
715
+ <tr>
716
+
717
+ <td>
718
+
719
+
720
+
721
+ 3:42 PM
722
+
723
+
724
+
725
+
726
+ </td>
727
+
728
+
729
+
730
+ <td>
731
+
732
+
733
+
734
+ 4:06 PM
735
+
736
+
737
+
738
+
739
+ </td>
740
+
741
+ </tr>
742
+
743
+
744
+
745
+ <tr>
746
+
747
+ <td>
748
+
749
+
750
+
751
+ 4:18 PM
752
+
753
+
754
+
755
+
756
+ </td>
757
+
758
+
759
+
760
+ <td>
761
+
762
+
763
+
764
+ 4:30 PM
765
+
766
+
767
+
768
+
769
+ </td>
770
+
771
+ </tr>
772
+
773
+
774
+
775
+ <tr>
776
+
777
+ <td>
778
+
779
+
780
+
781
+ 4:42 PM
782
+
783
+
784
+
785
+
786
+ </td>
787
+
788
+
789
+
790
+ <td>
791
+
792
+
793
+
794
+ 4:54 PM
795
+
796
+
797
+
798
+
799
+ </td>
800
+
801
+ </tr>
802
+
803
+
804
+
805
+ <tr>
806
+
807
+ <td>
808
+
809
+
810
+
811
+ 5:06 PM
812
+
813
+
814
+
815
+
816
+ </td>
817
+
818
+
819
+
820
+ <td>
821
+
822
+
823
+
824
+ 5:18 PM
825
+
826
+
827
+
828
+
829
+ </td>
830
+
831
+ </tr>
832
+
833
+
834
+
835
+ <tr>
836
+
837
+ <td>
838
+
839
+
840
+
841
+ 5:44 PM
842
+
843
+
844
+
845
+
846
+ </td>
847
+
848
+
849
+
850
+ <td>
851
+
852
+
853
+
854
+ 5:57 PM
855
+
856
+
857
+
858
+
859
+ </td>
860
+
861
+ </tr>
862
+
863
+
864
+
865
+ <tr>
866
+
867
+ <td>
868
+
869
+
870
+
871
+ 6:19 PM
872
+
873
+
874
+
875
+
876
+ </td>
877
+
878
+
879
+
880
+ <td>
881
+
882
+
883
+
884
+ 6:39 PM
885
+
886
+
887
+
888
+
889
+ </td>
890
+
891
+ </tr>
892
+
893
+
894
+
895
+ <tr>
896
+
897
+ <td>
898
+
899
+
900
+
901
+ 7:10 PM
902
+
903
+
904
+
905
+
906
+ </td>
907
+
908
+
909
+
910
+ <td>
911
+
912
+
913
+
914
+ 7:40 PM
915
+
916
+
917
+
918
+
919
+ </td>
920
+
921
+ </tr>
922
+
923
+
924
+
925
+ <tr>
926
+
927
+ <td>
928
+
929
+
930
+
931
+ 8:11 PM
932
+
933
+
934
+
935
+
936
+ </td>
937
+
938
+
939
+
940
+ <td>
941
+
942
+
943
+
944
+ 8:41 PM
945
+
946
+
947
+
948
+
949
+ </td>
950
+
951
+ </tr>
952
+
953
+
954
+
955
+ <tr>
956
+
957
+ <td>
958
+
959
+
960
+
961
+ 9:11 PM
962
+
963
+
964
+
965
+
966
+ </td>
967
+
968
+
969
+
970
+ <td>
971
+
972
+
973
+
974
+ 9:41 PM
975
+
976
+
977
+
978
+
979
+ </td>
980
+
981
+ </tr>
982
+
983
+
984
+
985
+ <tr>
986
+
987
+ <td>
988
+
989
+
990
+
991
+ 10:11 PM
992
+
993
+
994
+
995
+
996
+ </td>
997
+
998
+
999
+
1000
+ <td>
1001
+
1002
+
1003
+
1004
+ 10:41 PM
1005
+
1006
+
1007
+
1008
+
1009
+ </td>
1010
+
1011
+ </tr>
1012
+
1013
+
1014
+
1015
+ <tr>
1016
+
1017
+ <td>
1018
+
1019
+
1020
+
1021
+ 11:11 PM
1022
+
1023
+
1024
+
1025
+
1026
+ </td>
1027
+
1028
+
1029
+
1030
+ </tr>
1031
+
1032
+
1033
+
1034
+
1035
+ </table>
1036
+ </td>
1037
+ </tr>
1038
+
1039
+
1040
+ </table>
1041
+
1042
+ <table id="StopTimesTimesLinksTable" cellpadding="0" cellspacing="0" border="0">
1043
+ <tr><td id="StopTimesTimesLinksTDBlank">&nbsp;</td></tr>
1044
+
1045
+ <tr>
1046
+ <td class="link"><a href="start.stoptimes.oci;jsessionid=F920ABA2B219163FAEBEFAEFD7EF643F?lang=en">Choose a new stop</a></td>
1047
+ </tr>
1048
+ </table>
1049
+
1050
+
1051
+
1052
+
1053
+ <br/>
1054
+ <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>
1055
+ </body>
1056
+ </html>
1057
+
1058
+
1059
+