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