barton 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/.gitignore +18 -0
  2. data/AUTHORS +7 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE +22 -0
  5. data/README.md +125 -0
  6. data/Rakefile +13 -0
  7. data/barton.gemspec +22 -0
  8. data/bin/barton +38 -0
  9. data/config.ru +4 -0
  10. data/data/.DS_Store +0 -0
  11. data/data/README.md +31 -0
  12. data/data/geo/nsw-federal.yaml +21965 -0
  13. data/data/geo/nsw-local.yaml +95263 -0
  14. data/data/geo/nsw-state.yaml +33353 -0
  15. data/data/geo/qld-federal.yaml +15019 -0
  16. data/data/geo/qld-state.yaml +20997 -0
  17. data/data/geo/vic-federal.yaml +8097 -0
  18. data/data/geo/vic-local.yaml +35686 -0
  19. data/data/geo/vic-state.yaml +14445 -0
  20. data/data/nsw-federal.yaml +337 -0
  21. data/data/nsw-local.yaml +2472 -0
  22. data/data/nsw-state.yaml +663 -0
  23. data/data/qld-federal.yaml +220 -0
  24. data/data/qld-state.yaml +643 -0
  25. data/data/vic-federal.yaml +149 -0
  26. data/data/vic-local.yaml +2255 -0
  27. data/data/vic-state.yaml +665 -0
  28. data/lib/.DS_Store +0 -0
  29. data/lib/barton/.DS_Store +0 -0
  30. data/lib/barton/app.rb +68 -0
  31. data/lib/barton/core.rb +174 -0
  32. data/lib/barton/version.rb +3 -0
  33. data/lib/barton.rb +3 -0
  34. data/pkg/barton-0.0.1.gem +0 -0
  35. data/specs/.DS_Store +0 -0
  36. data/specs/data/.DS_Store +0 -0
  37. data/specs/data/data-processed.yaml +39 -0
  38. data/specs/data/data-raw.yaml +43 -0
  39. data/specs/data/geo/data-processed.yaml +256 -0
  40. data/specs/data/geo/data-raw.yaml +256 -0
  41. data/specs/data/master/data-processed.yaml +39 -0
  42. data/specs/data/master/data-raw.yaml +31 -0
  43. data/specs/data/master/geo.yaml +256 -0
  44. data/specs/data/master/trap.txt +0 -0
  45. data/specs/route_spec.rb +36 -0
  46. data/specs/search_spec.rb +60 -0
  47. data/specs/setup_spec.rb +77 -0
  48. metadata +139 -0
@@ -0,0 +1,663 @@
1
+ ---
2
+ - name: New South Wales
3
+ tags:
4
+ - New South Wales
5
+ - State
6
+ - Legaslative Assembly
7
+ - Legaslative Council
8
+ members:
9
+ - name: Barry O'Farrell
10
+ roles:
11
+ - Premier of New South Wales
12
+ id: 7bd2b0
13
+ - name: Gosford
14
+ tags:
15
+ - New South Wales
16
+ - State
17
+ - Legaslative Assembly
18
+ - Central Coast
19
+ id: bcbe3f
20
+ - name: Terrigal
21
+ tags:
22
+ - New South Wales
23
+ - State
24
+ - Legaslative Assembly
25
+ - Central Coast
26
+ id: '048630'
27
+ - name: The Entrance
28
+ tags:
29
+ - New South Wales
30
+ - State
31
+ - Legaslative Assembly
32
+ - Central Coast
33
+ id: 6b3220
34
+ - name: Wyong
35
+ tags:
36
+ - New South Wales
37
+ - State
38
+ - Legaslative Assembly
39
+ - Central Coast
40
+ id: '82e217'
41
+ - name: Coogee
42
+ tags:
43
+ - New South Wales
44
+ - State
45
+ - Legaslative Assembly
46
+ - Eastern Suburbs
47
+ id: '164e90'
48
+ - name: Heffron
49
+ tags:
50
+ - New South Wales
51
+ - State
52
+ - Legaslative Assembly
53
+ - Eastern Suburbs
54
+ id: c8506e
55
+ - name: Maroubra
56
+ tags:
57
+ - New South Wales
58
+ - State
59
+ - Legaslative Assembly
60
+ - Eastern Suburbs
61
+ id: 455dc7
62
+ - name: Sydney
63
+ tags:
64
+ - New South Wales
65
+ - State
66
+ - Legaslative Assembly
67
+ - Eastern Suburbs
68
+ id: 9e738f
69
+ - name: Vaucluse
70
+ tags:
71
+ - New South Wales
72
+ - State
73
+ - Legaslative Assembly
74
+ - Eastern Suburbs
75
+ id: ae44bc
76
+ - name: Heathcote
77
+ tags:
78
+ - New South Wales
79
+ - State
80
+ - Legaslative Assembly
81
+ - Illawarra
82
+ id: f3dd9a
83
+ - name: Keira
84
+ tags:
85
+ - New South Wales
86
+ - State
87
+ - Legaslative Assembly
88
+ - Illawarra
89
+ id: e89729
90
+ - name: Kiama
91
+ tags:
92
+ - New South Wales
93
+ - State
94
+ - Legaslative Assembly
95
+ - Illawarra
96
+ id: 4d1b7e
97
+ - name: Shellharbour
98
+ tags:
99
+ - New South Wales
100
+ - State
101
+ - Legaslative Assembly
102
+ - Illawarra
103
+ id: dac596
104
+ - name: Wollongong
105
+ tags:
106
+ - New South Wales
107
+ - State
108
+ - Legaslative Assembly
109
+ - Illawarra
110
+ id: f223e3
111
+ - name: Balmain
112
+ tags:
113
+ - New South Wales
114
+ - State
115
+ - Legaslative Assembly
116
+ - Inner West
117
+ id: '398687'
118
+ - name: Canterbury
119
+ tags:
120
+ - New South Wales
121
+ - State
122
+ - Legaslative Assembly
123
+ - Inner West
124
+ id: 4de4c9
125
+ - name: Drummoyne
126
+ tags:
127
+ - New South Wales
128
+ - State
129
+ - Legaslative Assembly
130
+ - Inner West
131
+ id: bc9da8
132
+ - name: Marrickville
133
+ tags:
134
+ - New South Wales
135
+ - State
136
+ - Legaslative Assembly
137
+ - Inner West
138
+ id: a721fe
139
+ - name: Strathfield
140
+ tags:
141
+ - New South Wales
142
+ - State
143
+ - Legaslative Assembly
144
+ - Inner West
145
+ id: c1afc2
146
+ - name: Lane Cove
147
+ tags:
148
+ - New South Wales
149
+ - State
150
+ - Legaslative Assembly
151
+ - Lower North Shore
152
+ id: 15ee63
153
+ - name: North Shore
154
+ tags:
155
+ - New South Wales
156
+ - State
157
+ - Legaslative Assembly
158
+ - Lower North Shore
159
+ id: bc1ff3
160
+ - name: Ryde
161
+ tags:
162
+ - New South Wales
163
+ - State
164
+ - Legaslative Assembly
165
+ - Lower North Shore
166
+ id: '337482'
167
+ - name: Willoughby
168
+ tags:
169
+ - New South Wales
170
+ - State
171
+ - Legaslative Assembly
172
+ - Lower North Shore
173
+ id: 492ad8
174
+ - name: Davidson
175
+ tags:
176
+ - New South Wales
177
+ - State
178
+ - Legaslative Assembly
179
+ - Northern Sydney
180
+ id: 397a73
181
+ - name: Epping
182
+ tags:
183
+ - New South Wales
184
+ - State
185
+ - Legaslative Assembly
186
+ - Northern Sydney
187
+ id: 4d360c
188
+ - name: Hornsby
189
+ tags:
190
+ - New South Wales
191
+ - State
192
+ - Legaslative Assembly
193
+ - Northern Sydney
194
+ id: bdb849
195
+ - name: Ku-ring-gai
196
+ tags:
197
+ - New South Wales
198
+ - State
199
+ - Legaslative Assembly
200
+ - Northern Sydney
201
+ id: bb18a0
202
+ - name: Manly
203
+ tags:
204
+ - New South Wales
205
+ - State
206
+ - Legaslative Assembly
207
+ - Northern Sydney
208
+ id: bd4fdd
209
+ - name: Pittwater
210
+ tags:
211
+ - New South Wales
212
+ - State
213
+ - Legaslative Assembly
214
+ - Northern Sydney
215
+ id: 22b45f
216
+ - name: Wakehurst
217
+ tags:
218
+ - New South Wales
219
+ - State
220
+ - Legaslative Assembly
221
+ - Northern Sydney
222
+ id: a39253
223
+ - name: Bankstown
224
+ tags:
225
+ - New South Wales
226
+ - State
227
+ - Legaslative Assembly
228
+ - South-West Sydney
229
+ id: b0eb35
230
+ - name: Cabramatta
231
+ tags:
232
+ - New South Wales
233
+ - State
234
+ - Legaslative Assembly
235
+ - South-West Sydney
236
+ id: '666713'
237
+ - name: Camden
238
+ tags:
239
+ - New South Wales
240
+ - State
241
+ - Legaslative Assembly
242
+ - South-West Sydney
243
+ id: a81a11
244
+ - name: Campbelltown
245
+ tags:
246
+ - New South Wales
247
+ - State
248
+ - Legaslative Assembly
249
+ - South-West Sydney
250
+ id: da8591
251
+ - name: East Hills
252
+ tags:
253
+ - New South Wales
254
+ - State
255
+ - Legaslative Assembly
256
+ - South-West Sydney
257
+ id: 2d9304
258
+ - name: Fairfield
259
+ tags:
260
+ - New South Wales
261
+ - State
262
+ - Legaslative Assembly
263
+ - South-West Sydney
264
+ id: d067c5
265
+ - name: Lakemba
266
+ tags:
267
+ - New South Wales
268
+ - State
269
+ - Legaslative Assembly
270
+ - South-West Sydney
271
+ id: 566cef
272
+ - name: Liverpool
273
+ tags:
274
+ - New South Wales
275
+ - State
276
+ - Legaslative Assembly
277
+ - South-West Sydney
278
+ id: a01c04
279
+ - name: Macquarie Fields
280
+ tags:
281
+ - New South Wales
282
+ - State
283
+ - Legaslative Assembly
284
+ - South-West Sydney
285
+ id: 8159c7
286
+ - name: Menai
287
+ tags:
288
+ - New South Wales
289
+ - State
290
+ - Legaslative Assembly
291
+ - South-West Sydney
292
+ id: fbe56a
293
+ - name: Cronulla
294
+ tags:
295
+ - New South Wales
296
+ - State
297
+ - Legaslative Assembly
298
+ - St George-Sutherland
299
+ id: 08b63e
300
+ - name: Kogarah
301
+ tags:
302
+ - New South Wales
303
+ - State
304
+ - Legaslative Assembly
305
+ - St George-Sutherland
306
+ id: 10d477
307
+ - name: Miranda
308
+ tags:
309
+ - New South Wales
310
+ - State
311
+ - Legaslative Assembly
312
+ - St George-Sutherland
313
+ id: 8bca38
314
+ - name: Oatley
315
+ tags:
316
+ - New South Wales
317
+ - State
318
+ - Legaslative Assembly
319
+ - St George-Sutherland
320
+ id: a7b1e0
321
+ - name: Rockdale
322
+ tags:
323
+ - New South Wales
324
+ - State
325
+ - Legaslative Assembly
326
+ - St George-Sutherland
327
+ id: 45a01e
328
+ - name: Auburn
329
+ tags:
330
+ - New South Wales
331
+ - State
332
+ - Legaslative Assembly
333
+ - Western Sydney
334
+ id: a65abd
335
+ - name: Baulkham Hills
336
+ tags:
337
+ - New South Wales
338
+ - State
339
+ - Legaslative Assembly
340
+ - Western Sydney
341
+ id: 933aaa
342
+ - name: Blacktown
343
+ tags:
344
+ - New South Wales
345
+ - State
346
+ - Legaslative Assembly
347
+ - Western Sydney
348
+ id: 56eea9
349
+ - name: Castle Hill
350
+ tags:
351
+ - New South Wales
352
+ - State
353
+ - Legaslative Assembly
354
+ - Western Sydney
355
+ id: 8d808e
356
+ - name: Granville
357
+ tags:
358
+ - New South Wales
359
+ - State
360
+ - Legaslative Assembly
361
+ - Western Sydney
362
+ id: 062a36
363
+ - name: Londonderry
364
+ tags:
365
+ - New South Wales
366
+ - State
367
+ - Legaslative Assembly
368
+ - Western Sydney
369
+ id: a5273a
370
+ - name: Mount Druitt
371
+ tags:
372
+ - New South Wales
373
+ - State
374
+ - Legaslative Assembly
375
+ - Western Sydney
376
+ id: 016dd7
377
+ - name: Mulgoa
378
+ tags:
379
+ - New South Wales
380
+ - State
381
+ - Legaslative Assembly
382
+ - Western Sydney
383
+ id: ac8969
384
+ - name: Parramatta
385
+ tags:
386
+ - New South Wales
387
+ - State
388
+ - Legaslative Assembly
389
+ - Western Sydney
390
+ id: '343205'
391
+ - name: Penrith
392
+ tags:
393
+ - New South Wales
394
+ - State
395
+ - Legaslative Assembly
396
+ - Western Sydney
397
+ id: 6d34ad
398
+ - name: Riverstone
399
+ tags:
400
+ - New South Wales
401
+ - State
402
+ - Legaslative Assembly
403
+ - Western Sydney
404
+ id: 082cf7
405
+ - name: Smithfield
406
+ tags:
407
+ - New South Wales
408
+ - State
409
+ - Legaslative Assembly
410
+ - Western Sydney
411
+ id: 81dc6a
412
+ - name: Toongabbie
413
+ tags:
414
+ - New South Wales
415
+ - State
416
+ - Legaslative Assembly
417
+ - Western Sydney
418
+ id: a9f5da
419
+ - name: Blue Mountains
420
+ tags:
421
+ - New South Wales
422
+ - State
423
+ - Legaslative Assembly
424
+ - Western Sydney Fringe
425
+ id: '2e2812'
426
+ - name: Hawkesbury
427
+ tags:
428
+ - New South Wales
429
+ - State
430
+ - Legaslative Assembly
431
+ - Western Sydney Fringe
432
+ id: 58f321
433
+ - name: Wollondilly
434
+ tags:
435
+ - New South Wales
436
+ - State
437
+ - Legaslative Assembly
438
+ - Western Sydney Fringe
439
+ id: '629356'
440
+ - name: Cessnock
441
+ tags:
442
+ - New South Wales
443
+ - State
444
+ - Legaslative Assembly
445
+ - Hunter
446
+ id: b5ef49
447
+ - name: Charlestown
448
+ tags:
449
+ - New South Wales
450
+ - State
451
+ - Legaslative Assembly
452
+ - Hunter
453
+ id: 419aae
454
+ - name: Lake Macquarie
455
+ tags:
456
+ - New South Wales
457
+ - State
458
+ - Legaslative Assembly
459
+ - Hunter
460
+ id: 9a6382
461
+ - name: Maitland
462
+ tags:
463
+ - New South Wales
464
+ - State
465
+ - Legaslative Assembly
466
+ - Hunter
467
+ id: c3f2fb
468
+ - name: Myall Lakes
469
+ tags:
470
+ - New South Wales
471
+ - State
472
+ - Legaslative Assembly
473
+ - Hunter
474
+ id: 2c9429
475
+ - name: Newcastle
476
+ tags:
477
+ - New South Wales
478
+ - State
479
+ - Legaslative Assembly
480
+ - Hunter
481
+ id: 97771e
482
+ - name: Port Stephens
483
+ tags:
484
+ - New South Wales
485
+ - State
486
+ - Legaslative Assembly
487
+ - Hunter
488
+ id: 2ee53b
489
+ - name: Swansea
490
+ tags:
491
+ - New South Wales
492
+ - State
493
+ - Legaslative Assembly
494
+ - Hunter
495
+ id: 7ee3e2
496
+ - name: Upper Hunter
497
+ tags:
498
+ - New South Wales
499
+ - State
500
+ - Legaslative Assembly
501
+ - Hunter
502
+ id: 34b4af
503
+ - name: Wallsend
504
+ tags:
505
+ - New South Wales
506
+ - State
507
+ - Legaslative Assembly
508
+ - Hunter
509
+ id: 4d8416
510
+ - name: Clarence
511
+ tags:
512
+ - New South Wales
513
+ - State
514
+ - Legaslative Assembly
515
+ - Mid-North Coast
516
+ id: 2ff1cf
517
+ - name: Coffs Harbour
518
+ tags:
519
+ - New South Wales
520
+ - State
521
+ - Legaslative Assembly
522
+ - Mid-North Coast
523
+ id: ddc9de
524
+ - name: Oxley
525
+ tags:
526
+ - New South Wales
527
+ - State
528
+ - Legaslative Assembly
529
+ - Mid-North Coast
530
+ id: 419a4b
531
+ - name: Port Macquarie
532
+ tags:
533
+ - New South Wales
534
+ - State
535
+ - Legaslative Assembly
536
+ - Mid-North Coast
537
+ id: 8ac28c
538
+ - name: Northern Tablelands
539
+ tags:
540
+ - New South Wales
541
+ - State
542
+ - Legaslative Assembly
543
+ - New England
544
+ id: f038e2
545
+ - name: Tamworth
546
+ tags:
547
+ - New South Wales
548
+ - State
549
+ - Legaslative Assembly
550
+ - New England
551
+ id: fb832d
552
+ - name: Ballina
553
+ tags:
554
+ - New South Wales
555
+ - State
556
+ - Legaslative Assembly
557
+ - Richmond-Tweed
558
+ id: 2b8824
559
+ - name: Lismore
560
+ tags:
561
+ - New South Wales
562
+ - State
563
+ - Legaslative Assembly
564
+ - Richmond-Tweed
565
+ id: 0d3c14
566
+ - name: Tweed
567
+ tags:
568
+ - New South Wales
569
+ - State
570
+ - Legaslative Assembly
571
+ - Richmond-Tweed
572
+ id: '611109'
573
+ - name: Bega
574
+ tags:
575
+ - New South Wales
576
+ - State
577
+ - Legaslative Assembly
578
+ - South-East NSW
579
+ id: 52c981
580
+ - name: Goulburn
581
+ tags:
582
+ - New South Wales
583
+ - State
584
+ - Legaslative Assembly
585
+ - South-East NSW
586
+ id: 67266c
587
+ - name: Monaro
588
+ tags:
589
+ - New South Wales
590
+ - State
591
+ - Legaslative Assembly
592
+ - South-East NSW
593
+ id: e5be93
594
+ - name: South Coast
595
+ tags:
596
+ - New South Wales
597
+ - State
598
+ - Legaslative Assembly
599
+ - South-East NSW
600
+ id: e5a765
601
+ - name: Albury
602
+ tags:
603
+ - New South Wales
604
+ - State
605
+ - Legaslative Assembly
606
+ - Western NSW
607
+ id: 1c0a5d
608
+ - name: Barwon
609
+ tags:
610
+ - New South Wales
611
+ - State
612
+ - Legaslative Assembly
613
+ - Western NSW
614
+ id: 11ab7b
615
+ - name: Bathurst
616
+ tags:
617
+ - New South Wales
618
+ - State
619
+ - Legaslative Assembly
620
+ - Western NSW
621
+ id: 3cd10f
622
+ - name: Burrinjuck
623
+ tags:
624
+ - New South Wales
625
+ - State
626
+ - Legaslative Assembly
627
+ - Western NSW
628
+ id: 5f3466
629
+ - name: Dubbo
630
+ tags:
631
+ - New South Wales
632
+ - State
633
+ - Legaslative Assembly
634
+ - Western NSW
635
+ id: f78169
636
+ - name: Murray-Darling
637
+ tags:
638
+ - New South Wales
639
+ - State
640
+ - Legaslative Assembly
641
+ - Western NSW
642
+ id: 5a78f1
643
+ - name: Murrumbidgee
644
+ tags:
645
+ - New South Wales
646
+ - State
647
+ - Legaslative Assembly
648
+ - Western NSW
649
+ id: be5d2b
650
+ - name: Orange
651
+ tags:
652
+ - New South Wales
653
+ - State
654
+ - Legaslative Assembly
655
+ - Western NSW
656
+ id: b926c9
657
+ - name: Wagga Wagga
658
+ tags:
659
+ - New South Wales
660
+ - State
661
+ - Legaslative Assembly
662
+ - Western NSW
663
+ id: ad1b43