erp_base_erp_svcs 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/GPL-3-LICENSE +674 -0
  2. data/README.rdoc +2 -0
  3. data/Rakefile +31 -0
  4. data/app/assets/javascripts/erp_base_erp_svcs/application.js +9 -0
  5. data/app/assets/stylesheets/erp_base_erp_svcs/application.css +7 -0
  6. data/app/controllers/erp_base_erp_svcs/application_controller.rb +4 -0
  7. data/app/helpers/erp_base_erp_svcs/application_helper.rb +4 -0
  8. data/app/models/category.rb +11 -0
  9. data/app/models/category_classification.rb +4 -0
  10. data/app/models/compass_ae_instance.rb +11 -0
  11. data/app/models/contact.rb +42 -0
  12. data/app/models/contact_purpose.rb +6 -0
  13. data/app/models/contact_type.rb +3 -0
  14. data/app/models/currency.rb +16 -0
  15. data/app/models/descriptive_asset.rb +4 -0
  16. data/app/models/email_address.rb +15 -0
  17. data/app/models/geo_country.rb +8 -0
  18. data/app/models/geo_zone.rb +8 -0
  19. data/app/models/individual.rb +76 -0
  20. data/app/models/iso_country_code.rb +10 -0
  21. data/app/models/money.rb +19 -0
  22. data/app/models/note.rb +14 -0
  23. data/app/models/note_type.rb +7 -0
  24. data/app/models/organization.rb +32 -0
  25. data/app/models/party.rb +191 -0
  26. data/app/models/party_relationship.rb +9 -0
  27. data/app/models/party_role.rb +8 -0
  28. data/app/models/phone_number.rb +16 -0
  29. data/app/models/postal_address.rb +19 -0
  30. data/app/models/relationship_type.rb +7 -0
  31. data/app/models/role_type.rb +7 -0
  32. data/app/models/valid_note_type.rb +4 -0
  33. data/app/models/view_type.rb +3 -0
  34. data/app/views/layouts/erp_base_erp_svcs/application.html.erb +14 -0
  35. data/config/initializers/erp_base_erp_svcs.rb +4 -0
  36. data/config/routes.rb +2 -0
  37. data/db/data_migrations/20110525001935_add_usd_currency.rb +11 -0
  38. data/db/data_migrations/20110609150135_add_iso_codes.rb +18 -0
  39. data/db/data_migrations/20110913145838_setup_compass_ae_instance.rb +11 -0
  40. data/db/data_sets/geo_countries.yml +2952 -0
  41. data/db/data_sets/geo_zones.yml +1233 -0
  42. data/db/migrate/20080805000020_base_erp_services.rb +461 -0
  43. data/db/migrate/20110913145329_create_compass_ae_instance.rb +15 -0
  44. data/db/migrate/upgrade/20110907171257_add_notes.rb +63 -0
  45. data/lib/erp_base_erp_svcs/ar_fixtures.rb +103 -0
  46. data/lib/erp_base_erp_svcs/command.rb +37 -0
  47. data/lib/erp_base_erp_svcs/config.rb +27 -0
  48. data/lib/erp_base_erp_svcs/engine.rb +27 -0
  49. data/lib/erp_base_erp_svcs/extensions/active_record/acts_as_category.rb +50 -0
  50. data/lib/erp_base_erp_svcs/extensions/active_record/acts_as_erp_type.rb +148 -0
  51. data/lib/erp_base_erp_svcs/extensions/active_record/acts_as_note_type.rb +47 -0
  52. data/lib/erp_base_erp_svcs/extensions/active_record/data_migrator.rb +46 -0
  53. data/lib/erp_base_erp_svcs/extensions/active_record/has_contact.rb +56 -0
  54. data/lib/erp_base_erp_svcs/extensions/active_record/has_notes.rb +32 -0
  55. data/lib/erp_base_erp_svcs/extensions/active_record/is_describable.rb +44 -0
  56. data/lib/erp_base_erp_svcs/extensions/active_record/migrator.rb +76 -0
  57. data/lib/erp_base_erp_svcs/extensions/active_record/sti_instantiation.rb +37 -0
  58. data/lib/erp_base_erp_svcs/extensions/core/array.rb +20 -0
  59. data/lib/erp_base_erp_svcs/extensions/core/hash.rb +19 -0
  60. data/lib/erp_base_erp_svcs/extensions/core/numbers.rb +27 -0
  61. data/lib/erp_base_erp_svcs/extensions/core/object.rb +6 -0
  62. data/lib/erp_base_erp_svcs/extensions/railties/engine.rb +85 -0
  63. data/lib/erp_base_erp_svcs/extensions.rb +19 -0
  64. data/lib/erp_base_erp_svcs/non_escape_json_string.rb +5 -0
  65. data/lib/erp_base_erp_svcs/rails_template.rb +93 -0
  66. data/lib/erp_base_erp_svcs/version.rb +3 -0
  67. data/lib/erp_base_erp_svcs.rb +17 -0
  68. data/lib/tasks/compass_backup.rake +87 -0
  69. data/lib/tasks/erp_base_erp_svcs_tasks.rake +59 -0
  70. data/lib/tasks/release_notes/NOTES +21 -0
  71. data/spec/dummy/Rakefile +7 -0
  72. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  73. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  74. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  75. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  76. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  77. data/spec/dummy/config/application.rb +42 -0
  78. data/spec/dummy/config/boot.rb +10 -0
  79. data/spec/dummy/config/database.yml +8 -0
  80. data/spec/dummy/config/environment.rb +5 -0
  81. data/spec/dummy/config/environments/spec.rb +27 -0
  82. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  83. data/spec/dummy/config/initializers/inflections.rb +10 -0
  84. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  85. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  86. data/spec/dummy/config/initializers/session_store.rb +8 -0
  87. data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
  88. data/spec/dummy/config/locales/en.yml +5 -0
  89. data/spec/dummy/config/routes.rb +4 -0
  90. data/spec/dummy/config.ru +4 -0
  91. data/spec/dummy/db/spec.sqlite3 +0 -0
  92. data/spec/dummy/log/spec.log +4820 -0
  93. data/spec/dummy/public/404.html +26 -0
  94. data/spec/dummy/public/422.html +26 -0
  95. data/spec/dummy/public/500.html +26 -0
  96. data/spec/dummy/public/favicon.ico +0 -0
  97. data/spec/dummy/script/rails +6 -0
  98. data/spec/factories/business_party.rb +21 -0
  99. data/spec/factories/contact_purpose.rb +8 -0
  100. data/spec/factories/party.rb +16 -0
  101. data/spec/factories/party_relationship.rb +10 -0
  102. data/spec/factories/party_role.rb +7 -0
  103. data/spec/factories/phone_number.rb +7 -0
  104. data/spec/factories/relationship_type.rb +8 -0
  105. data/spec/factories/role_type.rb +8 -0
  106. data/spec/models/category_classification_spec.rb +11 -0
  107. data/spec/models/category_spec.rb +18 -0
  108. data/spec/models/contact_purpose_spec.rb +12 -0
  109. data/spec/models/contact_spec.rb +12 -0
  110. data/spec/models/contact_type_spec.rb +12 -0
  111. data/spec/models/currency_spec.rb +12 -0
  112. data/spec/models/descriptive_asset_spec.rb +12 -0
  113. data/spec/models/email_address_spec.rb +12 -0
  114. data/spec/models/geo_country_spec.rb +13 -0
  115. data/spec/models/geo_zone_spec.rb +12 -0
  116. data/spec/models/individual_spec.rb +40 -0
  117. data/spec/models/money_spec.rb +12 -0
  118. data/spec/models/note_spec.rb +26 -0
  119. data/spec/models/note_type_spec.rb +12 -0
  120. data/spec/models/organization_spec.rb +33 -0
  121. data/spec/models/party_relationship_spec.rb +12 -0
  122. data/spec/models/party_role_spec.rb +12 -0
  123. data/spec/models/party_spec.rb +98 -0
  124. data/spec/models/phone_number_spec.rb +12 -0
  125. data/spec/models/postal_address_spec.rb +12 -0
  126. data/spec/models/relationship_type_spec.rb +11 -0
  127. data/spec/models/role_type_spec.rb +12 -0
  128. data/spec/models/view_type_spec.rb +12 -0
  129. data/spec/spec_helper.rb +57 -0
  130. metadata +391 -0
@@ -0,0 +1,1233 @@
1
+ ---
2
+ - !ruby/object:GeoZone
3
+ attributes:
4
+ id: 1
5
+ geo_country_id: 223
6
+ zone_code: AL
7
+ zone_name: Alabama
8
+ attributes_cache: {}
9
+ - !ruby/object:GeoZone
10
+ attributes:
11
+ id: 2
12
+ geo_country_id: 223
13
+ zone_code: AK
14
+ zone_name: Alaska
15
+ attributes_cache: {}
16
+ - !ruby/object:GeoZone
17
+ attributes:
18
+ id: 3
19
+ geo_country_id: 223
20
+ zone_code: AS
21
+ zone_name: American Samoa
22
+ attributes_cache: {}
23
+ - !ruby/object:GeoZone
24
+ attributes:
25
+ id: 4
26
+ geo_country_id: 223
27
+ zone_code: AZ
28
+ zone_name: Arizona
29
+ attributes_cache: {}
30
+ - !ruby/object:GeoZone
31
+ attributes:
32
+ id: 5
33
+ geo_country_id: 223
34
+ zone_code: AR
35
+ zone_name: Arkansas
36
+ attributes_cache: {}
37
+ - !ruby/object:GeoZone
38
+ attributes:
39
+ id: 6
40
+ geo_country_id: 223
41
+ zone_code: AF
42
+ zone_name: Armed Forces
43
+ attributes_cache: {}
44
+ - !ruby/object:GeoZone
45
+ attributes:
46
+ id: 7
47
+ geo_country_id: 223
48
+ zone_code: CA
49
+ zone_name: California
50
+ attributes_cache: {}
51
+ - !ruby/object:GeoZone
52
+ attributes:
53
+ id: 8
54
+ geo_country_id: 223
55
+ zone_code: CO
56
+ zone_name: Colorado
57
+ attributes_cache: {}
58
+ - !ruby/object:GeoZone
59
+ attributes:
60
+ id: 9
61
+ geo_country_id: 223
62
+ zone_code: CT
63
+ zone_name: Connecticut
64
+ attributes_cache: {}
65
+ - !ruby/object:GeoZone
66
+ attributes:
67
+ id: 10
68
+ geo_country_id: 223
69
+ zone_code: DE
70
+ zone_name: Delaware
71
+ attributes_cache: {}
72
+ - !ruby/object:GeoZone
73
+ attributes:
74
+ id: 11
75
+ geo_country_id: 223
76
+ zone_code: DC
77
+ zone_name: District of Columbia
78
+ attributes_cache: {}
79
+ - !ruby/object:GeoZone
80
+ attributes:
81
+ id: 12
82
+ geo_country_id: 223
83
+ zone_code: FM
84
+ zone_name: Federated States Of Micronesia
85
+ attributes_cache: {}
86
+ - !ruby/object:GeoZone
87
+ attributes:
88
+ id: 13
89
+ geo_country_id: 223
90
+ zone_code: FL
91
+ zone_name: Florida
92
+ attributes_cache: {}
93
+ - !ruby/object:GeoZone
94
+ attributes:
95
+ id: 14
96
+ geo_country_id: 223
97
+ zone_code: GA
98
+ zone_name: Georgia
99
+ attributes_cache: {}
100
+ - !ruby/object:GeoZone
101
+ attributes:
102
+ id: 15
103
+ geo_country_id: 223
104
+ zone_code: GU
105
+ zone_name: Guam
106
+ attributes_cache: {}
107
+ - !ruby/object:GeoZone
108
+ attributes:
109
+ id: 16
110
+ geo_country_id: 223
111
+ zone_code: HI
112
+ zone_name: Hawaii
113
+ attributes_cache: {}
114
+ - !ruby/object:GeoZone
115
+ attributes:
116
+ id: 17
117
+ geo_country_id: 223
118
+ zone_code: ID
119
+ zone_name: Idaho
120
+ attributes_cache: {}
121
+ - !ruby/object:GeoZone
122
+ attributes:
123
+ id: 18
124
+ geo_country_id: 223
125
+ zone_code: IL
126
+ zone_name: Illinois
127
+ attributes_cache: {}
128
+ - !ruby/object:GeoZone
129
+ attributes:
130
+ id: 19
131
+ geo_country_id: 223
132
+ zone_code: IN
133
+ zone_name: Indiana
134
+ attributes_cache: {}
135
+ - !ruby/object:GeoZone
136
+ attributes:
137
+ id: 20
138
+ geo_country_id: 223
139
+ zone_code: IA
140
+ zone_name: Iowa
141
+ attributes_cache: {}
142
+ - !ruby/object:GeoZone
143
+ attributes:
144
+ id: 21
145
+ geo_country_id: 223
146
+ zone_code: KS
147
+ zone_name: Kansas
148
+ attributes_cache: {}
149
+ - !ruby/object:GeoZone
150
+ attributes:
151
+ id: 22
152
+ geo_country_id: 223
153
+ zone_code: KY
154
+ zone_name: Kentucky
155
+ attributes_cache: {}
156
+ - !ruby/object:GeoZone
157
+ attributes:
158
+ id: 23
159
+ geo_country_id: 223
160
+ zone_code: LA
161
+ zone_name: Louisiana
162
+ attributes_cache: {}
163
+ - !ruby/object:GeoZone
164
+ attributes:
165
+ id: 24
166
+ geo_country_id: 223
167
+ zone_code: ME
168
+ zone_name: Maine
169
+ attributes_cache: {}
170
+ - !ruby/object:GeoZone
171
+ attributes:
172
+ id: 25
173
+ geo_country_id: 223
174
+ zone_code: MH
175
+ zone_name: Marshall Islands
176
+ attributes_cache: {}
177
+ - !ruby/object:GeoZone
178
+ attributes:
179
+ id: 26
180
+ geo_country_id: 223
181
+ zone_code: MD
182
+ zone_name: Maryland
183
+ attributes_cache: {}
184
+ - !ruby/object:GeoZone
185
+ attributes:
186
+ id: 27
187
+ geo_country_id: 223
188
+ zone_code: MA
189
+ zone_name: Massachusetts
190
+ attributes_cache: {}
191
+ - !ruby/object:GeoZone
192
+ attributes:
193
+ id: 28
194
+ geo_country_id: 223
195
+ zone_code: MI
196
+ zone_name: Michigan
197
+ attributes_cache: {}
198
+ - !ruby/object:GeoZone
199
+ attributes:
200
+ id: 29
201
+ geo_country_id: 223
202
+ zone_code: MN
203
+ zone_name: Minnesota
204
+ attributes_cache: {}
205
+ - !ruby/object:GeoZone
206
+ attributes:
207
+ id: 30
208
+ geo_country_id: 223
209
+ zone_code: MS
210
+ zone_name: Mississippi
211
+ attributes_cache: {}
212
+ - !ruby/object:GeoZone
213
+ attributes:
214
+ id: 31
215
+ geo_country_id: 223
216
+ zone_code: MO
217
+ zone_name: Missouri
218
+ attributes_cache: {}
219
+ - !ruby/object:GeoZone
220
+ attributes:
221
+ id: 32
222
+ geo_country_id: 223
223
+ zone_code: MT
224
+ zone_name: Montana
225
+ attributes_cache: {}
226
+ - !ruby/object:GeoZone
227
+ attributes:
228
+ id: 33
229
+ geo_country_id: 223
230
+ zone_code: NE
231
+ zone_name: Nebraska
232
+ attributes_cache: {}
233
+ - !ruby/object:GeoZone
234
+ attributes:
235
+ id: 34
236
+ geo_country_id: 223
237
+ zone_code: NV
238
+ zone_name: Nevada
239
+ attributes_cache: {}
240
+ - !ruby/object:GeoZone
241
+ attributes:
242
+ id: 35
243
+ geo_country_id: 223
244
+ zone_code: NH
245
+ zone_name: New Hampshire
246
+ attributes_cache: {}
247
+ - !ruby/object:GeoZone
248
+ attributes:
249
+ id: 36
250
+ geo_country_id: 223
251
+ zone_code: NJ
252
+ zone_name: New Jersey
253
+ attributes_cache: {}
254
+ - !ruby/object:GeoZone
255
+ attributes:
256
+ id: 37
257
+ geo_country_id: 223
258
+ zone_code: NM
259
+ zone_name: New Mexico
260
+ attributes_cache: {}
261
+ - !ruby/object:GeoZone
262
+ attributes:
263
+ id: 38
264
+ geo_country_id: 223
265
+ zone_code: NY
266
+ zone_name: New York
267
+ attributes_cache: {}
268
+ - !ruby/object:GeoZone
269
+ attributes:
270
+ id: 39
271
+ geo_country_id: 223
272
+ zone_code: NC
273
+ zone_name: North Carolina
274
+ attributes_cache: {}
275
+ - !ruby/object:GeoZone
276
+ attributes:
277
+ id: 40
278
+ geo_country_id: 223
279
+ zone_code: ND
280
+ zone_name: North Dakota
281
+ attributes_cache: {}
282
+ - !ruby/object:GeoZone
283
+ attributes:
284
+ id: 41
285
+ geo_country_id: 223
286
+ zone_code: MP
287
+ zone_name: Northern Mariana Islands
288
+ attributes_cache: {}
289
+ - !ruby/object:GeoZone
290
+ attributes:
291
+ id: 42
292
+ geo_country_id: 223
293
+ zone_code: OH
294
+ zone_name: Ohio
295
+ attributes_cache: {}
296
+ - !ruby/object:GeoZone
297
+ attributes:
298
+ id: 43
299
+ geo_country_id: 223
300
+ zone_code: OK
301
+ zone_name: Oklahoma
302
+ attributes_cache: {}
303
+ - !ruby/object:GeoZone
304
+ attributes:
305
+ id: 44
306
+ geo_country_id: 223
307
+ zone_code: OR
308
+ zone_name: Oregon
309
+ attributes_cache: {}
310
+ - !ruby/object:GeoZone
311
+ attributes:
312
+ id: 45
313
+ geo_country_id: 223
314
+ zone_code: PW
315
+ zone_name: Palau
316
+ attributes_cache: {}
317
+ - !ruby/object:GeoZone
318
+ attributes:
319
+ id: 46
320
+ geo_country_id: 223
321
+ zone_code: PA
322
+ zone_name: Pennsylvania
323
+ attributes_cache: {}
324
+ - !ruby/object:GeoZone
325
+ attributes:
326
+ id: 47
327
+ geo_country_id: 223
328
+ zone_code: PR
329
+ zone_name: Puerto Rico
330
+ attributes_cache: {}
331
+ - !ruby/object:GeoZone
332
+ attributes:
333
+ id: 48
334
+ geo_country_id: 223
335
+ zone_code: RI
336
+ zone_name: Rhode Island
337
+ attributes_cache: {}
338
+ - !ruby/object:GeoZone
339
+ attributes:
340
+ id: 49
341
+ geo_country_id: 223
342
+ zone_code: SC
343
+ zone_name: South Carolina
344
+ attributes_cache: {}
345
+ - !ruby/object:GeoZone
346
+ attributes:
347
+ id: 50
348
+ geo_country_id: 223
349
+ zone_code: SD
350
+ zone_name: South Dakota
351
+ attributes_cache: {}
352
+ - !ruby/object:GeoZone
353
+ attributes:
354
+ id: 51
355
+ geo_country_id: 223
356
+ zone_code: TN
357
+ zone_name: Tennessee
358
+ attributes_cache: {}
359
+ - !ruby/object:GeoZone
360
+ attributes:
361
+ id: 52
362
+ geo_country_id: 223
363
+ zone_code: TX
364
+ zone_name: Texas
365
+ attributes_cache: {}
366
+ - !ruby/object:GeoZone
367
+ attributes:
368
+ id: 53
369
+ geo_country_id: 223
370
+ zone_code: UT
371
+ zone_name: Utah
372
+ attributes_cache: {}
373
+ - !ruby/object:GeoZone
374
+ attributes:
375
+ id: 54
376
+ geo_country_id: 223
377
+ zone_code: VT
378
+ zone_name: Vermont
379
+ attributes_cache: {}
380
+ - !ruby/object:GeoZone
381
+ attributes:
382
+ id: 55
383
+ geo_country_id: 223
384
+ zone_code: VI
385
+ zone_name: Virgin Islands
386
+ attributes_cache: {}
387
+ - !ruby/object:GeoZone
388
+ attributes:
389
+ id: 56
390
+ geo_country_id: 223
391
+ zone_code: VA
392
+ zone_name: Virginia
393
+ attributes_cache: {}
394
+ - !ruby/object:GeoZone
395
+ attributes:
396
+ id: 57
397
+ geo_country_id: 223
398
+ zone_code: WA
399
+ zone_name: Washington
400
+ attributes_cache: {}
401
+ - !ruby/object:GeoZone
402
+ attributes:
403
+ id: 58
404
+ geo_country_id: 223
405
+ zone_code: WV
406
+ zone_name: West Virginia
407
+ attributes_cache: {}
408
+ - !ruby/object:GeoZone
409
+ attributes:
410
+ id: 59
411
+ geo_country_id: 223
412
+ zone_code: WI
413
+ zone_name: Wisconsin
414
+ attributes_cache: {}
415
+ - !ruby/object:GeoZone
416
+ attributes:
417
+ id: 60
418
+ geo_country_id: 223
419
+ zone_code: WY
420
+ zone_name: Wyoming
421
+ attributes_cache: {}
422
+ - !ruby/object:GeoZone
423
+ attributes:
424
+ id: 61
425
+ geo_country_id: 38
426
+ zone_code: AB
427
+ zone_name: Alberta
428
+ attributes_cache: {}
429
+ - !ruby/object:GeoZone
430
+ attributes:
431
+ id: 62
432
+ geo_country_id: 38
433
+ zone_code: BC
434
+ zone_name: British Columbia
435
+ attributes_cache: {}
436
+ - !ruby/object:GeoZone
437
+ attributes:
438
+ id: 63
439
+ geo_country_id: 38
440
+ zone_code: MB
441
+ zone_name: Manitoba
442
+ attributes_cache: {}
443
+ - !ruby/object:GeoZone
444
+ attributes:
445
+ id: 64
446
+ geo_country_id: 38
447
+ zone_code: NF
448
+ zone_name: Newfoundland
449
+ attributes_cache: {}
450
+ - !ruby/object:GeoZone
451
+ attributes:
452
+ id: 65
453
+ geo_country_id: 38
454
+ zone_code: NB
455
+ zone_name: New Brunswick
456
+ attributes_cache: {}
457
+ - !ruby/object:GeoZone
458
+ attributes:
459
+ id: 66
460
+ geo_country_id: 38
461
+ zone_code: NS
462
+ zone_name: Nova Scotia
463
+ attributes_cache: {}
464
+ - !ruby/object:GeoZone
465
+ attributes:
466
+ id: 67
467
+ geo_country_id: 38
468
+ zone_code: NT
469
+ zone_name: Northwest Territories
470
+ attributes_cache: {}
471
+ - !ruby/object:GeoZone
472
+ attributes:
473
+ id: 68
474
+ geo_country_id: 38
475
+ zone_code: NU
476
+ zone_name: Nunavut
477
+ attributes_cache: {}
478
+ - !ruby/object:GeoZone
479
+ attributes:
480
+ id: 69
481
+ geo_country_id: 38
482
+ zone_code: "ON"
483
+ zone_name: Ontario
484
+ attributes_cache: {}
485
+ - !ruby/object:GeoZone
486
+ attributes:
487
+ id: 70
488
+ geo_country_id: 38
489
+ zone_code: PE
490
+ zone_name: Prince Edward Island
491
+ attributes_cache: {}
492
+ - !ruby/object:GeoZone
493
+ attributes:
494
+ id: 71
495
+ geo_country_id: 38
496
+ zone_code: QC
497
+ zone_name: Quebec
498
+ attributes_cache: {}
499
+ - !ruby/object:GeoZone
500
+ attributes:
501
+ id: 72
502
+ geo_country_id: 38
503
+ zone_code: SK
504
+ zone_name: Saskatchewan
505
+ attributes_cache: {}
506
+ - !ruby/object:GeoZone
507
+ attributes:
508
+ id: 73
509
+ geo_country_id: 38
510
+ zone_code: YT
511
+ zone_name: Yukon Territory
512
+ attributes_cache: {}
513
+ - !ruby/object:GeoZone
514
+ attributes:
515
+ id: 74
516
+ geo_country_id: 81
517
+ zone_code: NDS
518
+ zone_name: Niedersachsen
519
+ attributes_cache: {}
520
+ - !ruby/object:GeoZone
521
+ attributes:
522
+ id: 75
523
+ geo_country_id: 81
524
+ zone_code: BAW
525
+ zone_name: "Baden-W\xC3\xBCrttemberg"
526
+ attributes_cache: {}
527
+ - !ruby/object:GeoZone
528
+ attributes:
529
+ id: 76
530
+ geo_country_id: 81
531
+ zone_code: BAY
532
+ zone_name: Bayern
533
+ attributes_cache: {}
534
+ - !ruby/object:GeoZone
535
+ attributes:
536
+ id: 77
537
+ geo_country_id: 81
538
+ zone_code: BER
539
+ zone_name: Berlin
540
+ attributes_cache: {}
541
+ - !ruby/object:GeoZone
542
+ attributes:
543
+ id: 78
544
+ geo_country_id: 81
545
+ zone_code: BRG
546
+ zone_name: Brandenburg
547
+ attributes_cache: {}
548
+ - !ruby/object:GeoZone
549
+ attributes:
550
+ id: 79
551
+ geo_country_id: 81
552
+ zone_code: BRE
553
+ zone_name: Bremen
554
+ attributes_cache: {}
555
+ - !ruby/object:GeoZone
556
+ attributes:
557
+ id: 80
558
+ geo_country_id: 81
559
+ zone_code: HAM
560
+ zone_name: Hamburg
561
+ attributes_cache: {}
562
+ - !ruby/object:GeoZone
563
+ attributes:
564
+ id: 81
565
+ geo_country_id: 81
566
+ zone_code: HES
567
+ zone_name: Hessen
568
+ attributes_cache: {}
569
+ - !ruby/object:GeoZone
570
+ attributes:
571
+ id: 82
572
+ geo_country_id: 81
573
+ zone_code: MEC
574
+ zone_name: Mecklenburg-Vorpommern
575
+ attributes_cache: {}
576
+ - !ruby/object:GeoZone
577
+ attributes:
578
+ id: 83
579
+ geo_country_id: 81
580
+ zone_code: NRW
581
+ zone_name: Nordrhein-Westfalen
582
+ attributes_cache: {}
583
+ - !ruby/object:GeoZone
584
+ attributes:
585
+ id: 84
586
+ geo_country_id: 81
587
+ zone_code: RHE
588
+ zone_name: Rheinland-Pfalz
589
+ attributes_cache: {}
590
+ - !ruby/object:GeoZone
591
+ attributes:
592
+ id: 85
593
+ geo_country_id: 81
594
+ zone_code: SAR
595
+ zone_name: Saarland
596
+ attributes_cache: {}
597
+ - !ruby/object:GeoZone
598
+ attributes:
599
+ id: 86
600
+ geo_country_id: 81
601
+ zone_code: SAS
602
+ zone_name: Sachsen
603
+ attributes_cache: {}
604
+ - !ruby/object:GeoZone
605
+ attributes:
606
+ id: 87
607
+ geo_country_id: 81
608
+ zone_code: SAC
609
+ zone_name: Sachsen-Anhalt
610
+ attributes_cache: {}
611
+ - !ruby/object:GeoZone
612
+ attributes:
613
+ id: 88
614
+ geo_country_id: 81
615
+ zone_code: SCN
616
+ zone_name: Schleswig-Holstein
617
+ attributes_cache: {}
618
+ - !ruby/object:GeoZone
619
+ attributes:
620
+ id: 89
621
+ geo_country_id: 81
622
+ zone_code: THE
623
+ zone_name: "Th\xC3\xBCringen"
624
+ attributes_cache: {}
625
+ - !ruby/object:GeoZone
626
+ attributes:
627
+ id: 90
628
+ geo_country_id: 14
629
+ zone_code: WI
630
+ zone_name: Wien
631
+ attributes_cache: {}
632
+ - !ruby/object:GeoZone
633
+ attributes:
634
+ id: 91
635
+ geo_country_id: 14
636
+ zone_code: "NO"
637
+ zone_name: "Nieder\xC3\xB6sterreich"
638
+ attributes_cache: {}
639
+ - !ruby/object:GeoZone
640
+ attributes:
641
+ id: 92
642
+ geo_country_id: 14
643
+ zone_code: OO
644
+ zone_name: "Ober\xC3\xB6sterreich"
645
+ attributes_cache: {}
646
+ - !ruby/object:GeoZone
647
+ attributes:
648
+ id: 93
649
+ geo_country_id: 14
650
+ zone_code: SB
651
+ zone_name: Salzburg
652
+ attributes_cache: {}
653
+ - !ruby/object:GeoZone
654
+ attributes:
655
+ id: 94
656
+ geo_country_id: 14
657
+ zone_code: KN
658
+ zone_name: "K\xC3\xA4rnten"
659
+ attributes_cache: {}
660
+ - !ruby/object:GeoZone
661
+ attributes:
662
+ id: 95
663
+ geo_country_id: 14
664
+ zone_code: ST
665
+ zone_name: Steiermark
666
+ attributes_cache: {}
667
+ - !ruby/object:GeoZone
668
+ attributes:
669
+ id: 96
670
+ geo_country_id: 14
671
+ zone_code: TI
672
+ zone_name: Tirol
673
+ attributes_cache: {}
674
+ - !ruby/object:GeoZone
675
+ attributes:
676
+ id: 97
677
+ geo_country_id: 14
678
+ zone_code: BL
679
+ zone_name: Burgenland
680
+ attributes_cache: {}
681
+ - !ruby/object:GeoZone
682
+ attributes:
683
+ id: 98
684
+ geo_country_id: 14
685
+ zone_code: VB
686
+ zone_name: Voralberg
687
+ attributes_cache: {}
688
+ - !ruby/object:GeoZone
689
+ attributes:
690
+ id: 99
691
+ geo_country_id: 204
692
+ zone_code: AG
693
+ zone_name: Aargau
694
+ attributes_cache: {}
695
+ - !ruby/object:GeoZone
696
+ attributes:
697
+ id: 100
698
+ geo_country_id: 204
699
+ zone_code: AI
700
+ zone_name: Appenzell Innerrhoden
701
+ attributes_cache: {}
702
+ - !ruby/object:GeoZone
703
+ attributes:
704
+ id: 101
705
+ geo_country_id: 204
706
+ zone_code: AR
707
+ zone_name: Appenzell Ausserrhoden
708
+ attributes_cache: {}
709
+ - !ruby/object:GeoZone
710
+ attributes:
711
+ id: 102
712
+ geo_country_id: 204
713
+ zone_code: BE
714
+ zone_name: Bern
715
+ attributes_cache: {}
716
+ - !ruby/object:GeoZone
717
+ attributes:
718
+ id: 103
719
+ geo_country_id: 204
720
+ zone_code: BL
721
+ zone_name: Basel-Landschaft
722
+ attributes_cache: {}
723
+ - !ruby/object:GeoZone
724
+ attributes:
725
+ id: 104
726
+ geo_country_id: 204
727
+ zone_code: BS
728
+ zone_name: Basel-Stadt
729
+ attributes_cache: {}
730
+ - !ruby/object:GeoZone
731
+ attributes:
732
+ id: 105
733
+ geo_country_id: 204
734
+ zone_code: FR
735
+ zone_name: Freiburg
736
+ attributes_cache: {}
737
+ - !ruby/object:GeoZone
738
+ attributes:
739
+ id: 106
740
+ geo_country_id: 204
741
+ zone_code: GE
742
+ zone_name: Genf
743
+ attributes_cache: {}
744
+ - !ruby/object:GeoZone
745
+ attributes:
746
+ id: 107
747
+ geo_country_id: 204
748
+ zone_code: GL
749
+ zone_name: Glarus
750
+ attributes_cache: {}
751
+ - !ruby/object:GeoZone
752
+ attributes:
753
+ id: 108
754
+ geo_country_id: 204
755
+ zone_code: JU
756
+ zone_name: "Graub\xC3\xBCnden"
757
+ attributes_cache: {}
758
+ - !ruby/object:GeoZone
759
+ attributes:
760
+ id: 109
761
+ geo_country_id: 204
762
+ zone_code: JU
763
+ zone_name: Jura
764
+ attributes_cache: {}
765
+ - !ruby/object:GeoZone
766
+ attributes:
767
+ id: 110
768
+ geo_country_id: 204
769
+ zone_code: LU
770
+ zone_name: Luzern
771
+ attributes_cache: {}
772
+ - !ruby/object:GeoZone
773
+ attributes:
774
+ id: 111
775
+ geo_country_id: 204
776
+ zone_code: NE
777
+ zone_name: Neuenburg
778
+ attributes_cache: {}
779
+ - !ruby/object:GeoZone
780
+ attributes:
781
+ id: 112
782
+ geo_country_id: 204
783
+ zone_code: NW
784
+ zone_name: Nidwalden
785
+ attributes_cache: {}
786
+ - !ruby/object:GeoZone
787
+ attributes:
788
+ id: 113
789
+ geo_country_id: 204
790
+ zone_code: OW
791
+ zone_name: Obwalden
792
+ attributes_cache: {}
793
+ - !ruby/object:GeoZone
794
+ attributes:
795
+ id: 114
796
+ geo_country_id: 204
797
+ zone_code: SG
798
+ zone_name: St. Gallen
799
+ attributes_cache: {}
800
+ - !ruby/object:GeoZone
801
+ attributes:
802
+ id: 115
803
+ geo_country_id: 204
804
+ zone_code: SH
805
+ zone_name: Schaffhausen
806
+ attributes_cache: {}
807
+ - !ruby/object:GeoZone
808
+ attributes:
809
+ id: 116
810
+ geo_country_id: 204
811
+ zone_code: SO
812
+ zone_name: Solothurn
813
+ attributes_cache: {}
814
+ - !ruby/object:GeoZone
815
+ attributes:
816
+ id: 117
817
+ geo_country_id: 204
818
+ zone_code: SZ
819
+ zone_name: Schwyz
820
+ attributes_cache: {}
821
+ - !ruby/object:GeoZone
822
+ attributes:
823
+ id: 118
824
+ geo_country_id: 204
825
+ zone_code: TG
826
+ zone_name: Thurgau
827
+ attributes_cache: {}
828
+ - !ruby/object:GeoZone
829
+ attributes:
830
+ id: 119
831
+ geo_country_id: 204
832
+ zone_code: TI
833
+ zone_name: Tessin
834
+ attributes_cache: {}
835
+ - !ruby/object:GeoZone
836
+ attributes:
837
+ id: 120
838
+ geo_country_id: 204
839
+ zone_code: UR
840
+ zone_name: Uri
841
+ attributes_cache: {}
842
+ - !ruby/object:GeoZone
843
+ attributes:
844
+ id: 121
845
+ geo_country_id: 204
846
+ zone_code: VD
847
+ zone_name: Waadt
848
+ attributes_cache: {}
849
+ - !ruby/object:GeoZone
850
+ attributes:
851
+ id: 122
852
+ geo_country_id: 204
853
+ zone_code: VS
854
+ zone_name: Wallis
855
+ attributes_cache: {}
856
+ - !ruby/object:GeoZone
857
+ attributes:
858
+ id: 123
859
+ geo_country_id: 204
860
+ zone_code: ZG
861
+ zone_name: Zug
862
+ attributes_cache: {}
863
+ - !ruby/object:GeoZone
864
+ attributes:
865
+ id: 124
866
+ geo_country_id: 204
867
+ zone_code: ZH
868
+ zone_name: "Z\xC3\xBCrich"
869
+ attributes_cache: {}
870
+ - !ruby/object:GeoZone
871
+ attributes:
872
+ id: 125
873
+ geo_country_id: 195
874
+ zone_code: "A Coru\xC3\xB1a"
875
+ zone_name: "A Coru\xC3\xB1a"
876
+ attributes_cache: {}
877
+ - !ruby/object:GeoZone
878
+ attributes:
879
+ id: 126
880
+ geo_country_id: 195
881
+ zone_code: Alava
882
+ zone_name: Alava
883
+ attributes_cache: {}
884
+ - !ruby/object:GeoZone
885
+ attributes:
886
+ id: 127
887
+ geo_country_id: 195
888
+ zone_code: Albacete
889
+ zone_name: Albacete
890
+ attributes_cache: {}
891
+ - !ruby/object:GeoZone
892
+ attributes:
893
+ id: 128
894
+ geo_country_id: 195
895
+ zone_code: Alicante
896
+ zone_name: Alicante
897
+ attributes_cache: {}
898
+ - !ruby/object:GeoZone
899
+ attributes:
900
+ id: 129
901
+ geo_country_id: 195
902
+ zone_code: Almeria
903
+ zone_name: Almeria
904
+ attributes_cache: {}
905
+ - !ruby/object:GeoZone
906
+ attributes:
907
+ id: 130
908
+ geo_country_id: 195
909
+ zone_code: Asturias
910
+ zone_name: Asturias
911
+ attributes_cache: {}
912
+ - !ruby/object:GeoZone
913
+ attributes:
914
+ id: 131
915
+ geo_country_id: 195
916
+ zone_code: Avila
917
+ zone_name: Avila
918
+ attributes_cache: {}
919
+ - !ruby/object:GeoZone
920
+ attributes:
921
+ id: 132
922
+ geo_country_id: 195
923
+ zone_code: Badajoz
924
+ zone_name: Badajoz
925
+ attributes_cache: {}
926
+ - !ruby/object:GeoZone
927
+ attributes:
928
+ id: 133
929
+ geo_country_id: 195
930
+ zone_code: Baleares
931
+ zone_name: Baleares
932
+ attributes_cache: {}
933
+ - !ruby/object:GeoZone
934
+ attributes:
935
+ id: 134
936
+ geo_country_id: 195
937
+ zone_code: Barcelona
938
+ zone_name: Barcelona
939
+ attributes_cache: {}
940
+ - !ruby/object:GeoZone
941
+ attributes:
942
+ id: 135
943
+ geo_country_id: 195
944
+ zone_code: Burgos
945
+ zone_name: Burgos
946
+ attributes_cache: {}
947
+ - !ruby/object:GeoZone
948
+ attributes:
949
+ id: 136
950
+ geo_country_id: 195
951
+ zone_code: Caceres
952
+ zone_name: Caceres
953
+ attributes_cache: {}
954
+ - !ruby/object:GeoZone
955
+ attributes:
956
+ id: 137
957
+ geo_country_id: 195
958
+ zone_code: Cadiz
959
+ zone_name: Cadiz
960
+ attributes_cache: {}
961
+ - !ruby/object:GeoZone
962
+ attributes:
963
+ id: 138
964
+ geo_country_id: 195
965
+ zone_code: Cantabria
966
+ zone_name: Cantabria
967
+ attributes_cache: {}
968
+ - !ruby/object:GeoZone
969
+ attributes:
970
+ id: 139
971
+ geo_country_id: 195
972
+ zone_code: Castellon
973
+ zone_name: Castellon
974
+ attributes_cache: {}
975
+ - !ruby/object:GeoZone
976
+ attributes:
977
+ id: 140
978
+ geo_country_id: 195
979
+ zone_code: Ceuta
980
+ zone_name: Ceuta
981
+ attributes_cache: {}
982
+ - !ruby/object:GeoZone
983
+ attributes:
984
+ id: 141
985
+ geo_country_id: 195
986
+ zone_code: Ciudad Real
987
+ zone_name: Ciudad Real
988
+ attributes_cache: {}
989
+ - !ruby/object:GeoZone
990
+ attributes:
991
+ id: 142
992
+ geo_country_id: 195
993
+ zone_code: Cordoba
994
+ zone_name: Cordoba
995
+ attributes_cache: {}
996
+ - !ruby/object:GeoZone
997
+ attributes:
998
+ id: 143
999
+ geo_country_id: 195
1000
+ zone_code: Cuenca
1001
+ zone_name: Cuenca
1002
+ attributes_cache: {}
1003
+ - !ruby/object:GeoZone
1004
+ attributes:
1005
+ id: 144
1006
+ geo_country_id: 195
1007
+ zone_code: Girona
1008
+ zone_name: Girona
1009
+ attributes_cache: {}
1010
+ - !ruby/object:GeoZone
1011
+ attributes:
1012
+ id: 145
1013
+ geo_country_id: 195
1014
+ zone_code: Granada
1015
+ zone_name: Granada
1016
+ attributes_cache: {}
1017
+ - !ruby/object:GeoZone
1018
+ attributes:
1019
+ id: 146
1020
+ geo_country_id: 195
1021
+ zone_code: Guadalajara
1022
+ zone_name: Guadalajara
1023
+ attributes_cache: {}
1024
+ - !ruby/object:GeoZone
1025
+ attributes:
1026
+ id: 147
1027
+ geo_country_id: 195
1028
+ zone_code: Guipuzcoa
1029
+ zone_name: Guipuzcoa
1030
+ attributes_cache: {}
1031
+ - !ruby/object:GeoZone
1032
+ attributes:
1033
+ id: 148
1034
+ geo_country_id: 195
1035
+ zone_code: Huelva
1036
+ zone_name: Huelva
1037
+ attributes_cache: {}
1038
+ - !ruby/object:GeoZone
1039
+ attributes:
1040
+ id: 149
1041
+ geo_country_id: 195
1042
+ zone_code: Huesca
1043
+ zone_name: Huesca
1044
+ attributes_cache: {}
1045
+ - !ruby/object:GeoZone
1046
+ attributes:
1047
+ id: 150
1048
+ geo_country_id: 195
1049
+ zone_code: Jaen
1050
+ zone_name: Jaen
1051
+ attributes_cache: {}
1052
+ - !ruby/object:GeoZone
1053
+ attributes:
1054
+ id: 151
1055
+ geo_country_id: 195
1056
+ zone_code: La Rioja
1057
+ zone_name: La Rioja
1058
+ attributes_cache: {}
1059
+ - !ruby/object:GeoZone
1060
+ attributes:
1061
+ id: 152
1062
+ geo_country_id: 195
1063
+ zone_code: Las Palmas
1064
+ zone_name: Las Palmas
1065
+ attributes_cache: {}
1066
+ - !ruby/object:GeoZone
1067
+ attributes:
1068
+ id: 153
1069
+ geo_country_id: 195
1070
+ zone_code: Leon
1071
+ zone_name: Leon
1072
+ attributes_cache: {}
1073
+ - !ruby/object:GeoZone
1074
+ attributes:
1075
+ id: 154
1076
+ geo_country_id: 195
1077
+ zone_code: Lleida
1078
+ zone_name: Lleida
1079
+ attributes_cache: {}
1080
+ - !ruby/object:GeoZone
1081
+ attributes:
1082
+ id: 155
1083
+ geo_country_id: 195
1084
+ zone_code: Lugo
1085
+ zone_name: Lugo
1086
+ attributes_cache: {}
1087
+ - !ruby/object:GeoZone
1088
+ attributes:
1089
+ id: 156
1090
+ geo_country_id: 195
1091
+ zone_code: Madrid
1092
+ zone_name: Madrid
1093
+ attributes_cache: {}
1094
+ - !ruby/object:GeoZone
1095
+ attributes:
1096
+ id: 157
1097
+ geo_country_id: 195
1098
+ zone_code: Malaga
1099
+ zone_name: Malaga
1100
+ attributes_cache: {}
1101
+ - !ruby/object:GeoZone
1102
+ attributes:
1103
+ id: 158
1104
+ geo_country_id: 195
1105
+ zone_code: Melilla
1106
+ zone_name: Melilla
1107
+ attributes_cache: {}
1108
+ - !ruby/object:GeoZone
1109
+ attributes:
1110
+ id: 159
1111
+ geo_country_id: 195
1112
+ zone_code: Murcia
1113
+ zone_name: Murcia
1114
+ attributes_cache: {}
1115
+ - !ruby/object:GeoZone
1116
+ attributes:
1117
+ id: 160
1118
+ geo_country_id: 195
1119
+ zone_code: Navarra
1120
+ zone_name: Navarra
1121
+ attributes_cache: {}
1122
+ - !ruby/object:GeoZone
1123
+ attributes:
1124
+ id: 161
1125
+ geo_country_id: 195
1126
+ zone_code: Ourense
1127
+ zone_name: Ourense
1128
+ attributes_cache: {}
1129
+ - !ruby/object:GeoZone
1130
+ attributes:
1131
+ id: 162
1132
+ geo_country_id: 195
1133
+ zone_code: Palencia
1134
+ zone_name: Palencia
1135
+ attributes_cache: {}
1136
+ - !ruby/object:GeoZone
1137
+ attributes:
1138
+ id: 163
1139
+ geo_country_id: 195
1140
+ zone_code: Pontevedra
1141
+ zone_name: Pontevedra
1142
+ attributes_cache: {}
1143
+ - !ruby/object:GeoZone
1144
+ attributes:
1145
+ id: 164
1146
+ geo_country_id: 195
1147
+ zone_code: Salamanca
1148
+ zone_name: Salamanca
1149
+ attributes_cache: {}
1150
+ - !ruby/object:GeoZone
1151
+ attributes:
1152
+ id: 165
1153
+ geo_country_id: 195
1154
+ zone_code: Santa Cruz de Tenerife
1155
+ zone_name: Santa Cruz de Tenerife
1156
+ attributes_cache: {}
1157
+ - !ruby/object:GeoZone
1158
+ attributes:
1159
+ id: 166
1160
+ geo_country_id: 195
1161
+ zone_code: Segovia
1162
+ zone_name: Segovia
1163
+ attributes_cache: {}
1164
+ - !ruby/object:GeoZone
1165
+ attributes:
1166
+ id: 167
1167
+ geo_country_id: 195
1168
+ zone_code: Sevilla
1169
+ zone_name: Sevilla
1170
+ attributes_cache: {}
1171
+ - !ruby/object:GeoZone
1172
+ attributes:
1173
+ id: 168
1174
+ geo_country_id: 195
1175
+ zone_code: Soria
1176
+ zone_name: Soria
1177
+ attributes_cache: {}
1178
+ - !ruby/object:GeoZone
1179
+ attributes:
1180
+ id: 169
1181
+ geo_country_id: 195
1182
+ zone_code: Tarragona
1183
+ zone_name: Tarragona
1184
+ attributes_cache: {}
1185
+ - !ruby/object:GeoZone
1186
+ attributes:
1187
+ id: 170
1188
+ geo_country_id: 195
1189
+ zone_code: Teruel
1190
+ zone_name: Teruel
1191
+ attributes_cache: {}
1192
+ - !ruby/object:GeoZone
1193
+ attributes:
1194
+ id: 171
1195
+ geo_country_id: 195
1196
+ zone_code: Toledo
1197
+ zone_name: Toledo
1198
+ attributes_cache: {}
1199
+ - !ruby/object:GeoZone
1200
+ attributes:
1201
+ id: 172
1202
+ geo_country_id: 195
1203
+ zone_code: Valencia
1204
+ zone_name: Valencia
1205
+ attributes_cache: {}
1206
+ - !ruby/object:GeoZone
1207
+ attributes:
1208
+ id: 173
1209
+ geo_country_id: 195
1210
+ zone_code: Valladolid
1211
+ zone_name: Valladolid
1212
+ attributes_cache: {}
1213
+ - !ruby/object:GeoZone
1214
+ attributes:
1215
+ id: 174
1216
+ geo_country_id: 195
1217
+ zone_code: Vizcaya
1218
+ zone_name: Vizcaya
1219
+ attributes_cache: {}
1220
+ - !ruby/object:GeoZone
1221
+ attributes:
1222
+ id: 175
1223
+ geo_country_id: 195
1224
+ zone_code: Zamora
1225
+ zone_name: Zamora
1226
+ attributes_cache: {}
1227
+ - !ruby/object:GeoZone
1228
+ attributes:
1229
+ id: 176
1230
+ geo_country_id: 195
1231
+ zone_code: Zaragoza
1232
+ zone_name: Zaragoza
1233
+ attributes_cache: {}