spree_br_common 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +1 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +14 -0
  7. data/Gemfile +20 -0
  8. data/LICENSE +26 -0
  9. data/README.md +55 -0
  10. data/Rakefile +21 -0
  11. data/app/assets/javascripts/spree/backend/spree_br_common.js +2 -0
  12. data/app/assets/javascripts/spree/frontend/address.js +119 -0
  13. data/app/assets/javascripts/spree/frontend/mask.js +21 -0
  14. data/app/assets/javascripts/spree/frontend/plugins/jquery.mask.extension.js +4 -0
  15. data/app/assets/javascripts/spree/frontend/plugins/jquery.mask.js +395 -0
  16. data/app/assets/javascripts/spree/frontend/routes.js.erb +4 -0
  17. data/app/assets/javascripts/spree/frontend/spree_br_common.js +1 -0
  18. data/app/assets/stylesheets/spree/backend/spree_br_common.css +4 -0
  19. data/app/assets/stylesheets/spree/frontend/spree_br_common.css +4 -0
  20. data/app/controllers/spree/addresses_controller.rb +24 -0
  21. data/app/controllers/spree/api/cities_controller.rb +38 -0
  22. data/app/controllers/spree/user_registrations_controller_decorator.rb +13 -0
  23. data/app/helpers/spree/api/api_helpers_decorator.rb +13 -0
  24. data/app/helpers/spree/base_helper_decorator.rb +5 -0
  25. data/app/models/spree/ability_decorator.rb +21 -0
  26. data/app/models/spree/address_decorator.rb +6 -0
  27. data/app/models/spree/city.rb +7 -0
  28. data/app/models/spree/permitted_attributes_decorator.rb +8 -0
  29. data/app/models/spree/state_decorator.rb +3 -0
  30. data/app/models/spree/user_decorator.rb +52 -0
  31. data/app/overrides/spree/address/_form/add_district.html.erb.deface +5 -0
  32. data/app/overrides/spree/address/_form/add_number.html.erb.deface +5 -0
  33. data/app/overrides/spree/address/_form/hide_country.html.erb.deface +4 -0
  34. data/app/overrides/spree/address/_form/move_city_to_after_state.deface +2 -0
  35. data/app/overrides/spree/address/_form/move_zipcode_after_last_name.deface +2 -0
  36. data/app/overrides/spree/address/_form/replace_city_input_text_by_select.html.erb.deface +18 -0
  37. data/app/overrides/spree/address/_form/set_data_uf_to_state.html.erb.deface +15 -0
  38. data/app/overrides/spree/admin/users/_form/add_extras_fields.html.erb.deface +39 -0
  39. data/app/overrides/spree/shared/_user_form/add_extra_fields.html.erb.deface +19 -0
  40. data/app/overrides/spree/users/show/add_details.html.erb.deface +13 -0
  41. data/app/views/spree/api/cities/index.v1.rabl +11 -0
  42. data/app/views/spree/api/cities/show.v1.rabl +2 -0
  43. data/bin/rails +7 -0
  44. data/config/locales/en.yml +11 -0
  45. data/config/locales/pt-BR.yml +14 -0
  46. data/config/routes.rb +7 -0
  47. data/db/default/country.rb +3 -0
  48. data/db/default/shipping_categories.rb +1 -0
  49. data/db/default/shipping_zones.rb +3 -0
  50. data/db/default/states.rb +31 -0
  51. data/db/default/states_cities_of_acre.rb +26 -0
  52. data/db/default/states_cities_of_alagoas.rb +107 -0
  53. data/db/default/states_cities_of_amapa.rb +20 -0
  54. data/db/default/states_cities_of_amazonas.rb +67 -0
  55. data/db/default/states_cities_of_bahia.rb +421 -0
  56. data/db/default/states_cities_of_ceara.rb +188 -0
  57. data/db/default/states_cities_of_distrito_federal.rb +5 -0
  58. data/db/default/states_cities_of_espirito_santo.rb +82 -0
  59. data/db/default/states_cities_of_goias.rb +250 -0
  60. data/db/default/states_cities_of_maranhao.rb +221 -0
  61. data/db/default/states_cities_of_mato_grosso.rb +145 -0
  62. data/db/default/states_cities_of_mato_grosso_do_sul.rb +82 -0
  63. data/db/default/states_cities_of_minas_gerais.rb +857 -0
  64. data/db/default/states_cities_of_para.rb +147 -0
  65. data/db/default/states_cities_of_paraiba.rb +227 -0
  66. data/db/default/states_cities_of_parana.rb +403 -0
  67. data/db/default/states_cities_of_pernambuco.rb +189 -0
  68. data/db/default/states_cities_of_piaui.rb +227 -0
  69. data/db/default/states_cities_of_rio_de_janeiro.rb +96 -0
  70. data/db/default/states_cities_of_rio_grande_do_norte.rb +171 -0
  71. data/db/default/states_cities_of_rio_grande_do_sul.rb +500 -0
  72. data/db/default/states_cities_of_rondonia.rb +56 -0
  73. data/db/default/states_cities_of_roraima.rb +19 -0
  74. data/db/default/states_cities_of_santa_catarina.rb +297 -0
  75. data/db/default/states_cities_of_sao_paulo.rb +649 -0
  76. data/db/default/states_cities_of_sergipe.rb +79 -0
  77. data/db/default/states_cities_of_tocantins.rb +144 -0
  78. data/db/default/stock.rb +1 -0
  79. data/db/default/tax_categories.rb +1 -0
  80. data/db/default/user.rb +100 -0
  81. data/db/migrate/20150503011715_create_spree_cities.rb +13 -0
  82. data/db/migrate/20150504004509_remove_city_from_spree_address.rb +5 -0
  83. data/db/migrate/20150504004648_add_city_to_spree_address.rb +5 -0
  84. data/db/migrate/20150505020218_add_number_and_district_to_spree_address.rb +6 -0
  85. data/db/migrate/20150505031019_add_details_to_spree_user.rb +10 -0
  86. data/db/seeds.rb +5 -0
  87. data/lib/generators/spree_br_common/install/install_generator.rb +31 -0
  88. data/lib/spree_br_common/engine.rb +20 -0
  89. data/lib/spree_br_common/factories/address_factory.rb +7 -0
  90. data/lib/spree_br_common/factories/city_factory.rb +8 -0
  91. data/lib/spree_br_common/factories/user_factory.rb +12 -0
  92. data/lib/spree_br_common/factories.rb +3 -0
  93. data/lib/spree_br_common.rb +2 -0
  94. data/spec/controllers/features/address_checkout_spec.rb +89 -0
  95. data/spec/controllers/features/user_account_spec.rb +46 -0
  96. data/spec/controllers/features/user_signup_spec.rb +24 -0
  97. data/spec/controllers/spree/addresses_controller_spec.rb +27 -0
  98. data/spec/controllers/spree/api/cities_controller_spec.rb +86 -0
  99. data/spec/fixtures/vcr_cassettes/Checkout/visitor_makes_checkout_as_guest_without_registration/full_checkout/does_not_break_the_per-item_shipping_method_calculator.yml +49 -0
  100. data/spec/fixtures/vcr_cassettes/Checkout/visitor_makes_checkout_as_guest_without_registration/full_checkout/in_Brazil/should_autocomplete_zipcode.yml +46 -0
  101. data/spec/fixtures/vcr_cassettes/Spree_AddressesController/_show/does_not_find_an_incorrect_cep.yml +38 -0
  102. data/spec/fixtures/vcr_cassettes/Spree_AddressesController/_show/shows_the_correct_address.yml +46 -0
  103. data/spec/models/spree/address_spec.rb +32 -0
  104. data/spec/models/spree/city_spec.rb +7 -0
  105. data/spec/models/spree/user_spec.rb +88 -0
  106. data/spec/spec_helper.rb +94 -0
  107. data/spec/support/controller_hacks.rb +33 -0
  108. data/spec/support/shared_context/checkout_setup.rb +9 -0
  109. data/spec/support/vcr.rb +8 -0
  110. data/spree_br_common.gemspec +33 -0
  111. metadata +351 -0
@@ -0,0 +1,227 @@
1
+ piaui = Spree::State.find_by! abbr: 'PI'
2
+
3
+ Spree::City.create!([
4
+ {state: piaui, ibge_code: 2202059, name: "Cabeceiras do Piauí"},
5
+ {state: piaui, ibge_code: 2205854, name: "Madeiro"},
6
+ {state: piaui, ibge_code: 2206803, name: "Nossa Senhora dos Remédios"},
7
+ {state: piaui, ibge_code: 2202539, name: "Caraúbas do Piauí"},
8
+ {state: piaui, ibge_code: 2205706, name: "Luís Correia"},
9
+ {state: piaui, ibge_code: 2210052, name: "São José do Divino"},
10
+ {state: piaui, ibge_code: 2205508, name: "José de Freitas"},
11
+ {state: piaui, ibge_code: 2207793, name: "Pau D'Arco do Piauí"},
12
+ {state: piaui, ibge_code: 2202251, name: "Canavieira"},
13
+ {state: piaui, ibge_code: 2205300, name: "Jerumenha"},
14
+ {state: piaui, ibge_code: 2209708, name: "São Francisco do Piauí"},
15
+ {state: piaui, ibge_code: 2203107, name: "Cristino Castro"},
16
+ {state: piaui, ibge_code: 2208700, name: "Redenção do Gurguéia"},
17
+ {state: piaui, ibge_code: 2206696, name: "Murici dos Portelas"},
18
+ {state: piaui, ibge_code: 2201051, name: "Assunção do Piauí"},
19
+ {state: piaui, ibge_code: 2200103, name: "Agricolândia"},
20
+ {state: piaui, ibge_code: 2209807, name: "São Gonçalo do Piauí"},
21
+ {state: piaui, ibge_code: 2211209, name: "Uruçuí"},
22
+ {state: piaui, ibge_code: 2204501, name: "Guadalupe"},
23
+ {state: piaui, ibge_code: 2207405, name: "Palmeira do Piauí"},
24
+ {state: piaui, ibge_code: 2202901, name: "Corrente"},
25
+ {state: piaui, ibge_code: 2208007, name: "Picos"},
26
+ {state: piaui, ibge_code: 2204204, name: "Francisco Santos"},
27
+ {state: piaui, ibge_code: 2205003, name: "Itainópolis"},
28
+ {state: piaui, ibge_code: 2210805, name: "Simplício Mendes"},
29
+ {state: piaui, ibge_code: 2202307, name: "Canto do Buriti"},
30
+ {state: piaui, ibge_code: 2203750, name: "Fartura do Piauí"},
31
+ {state: piaui, ibge_code: 2210607, name: "São Raimundo Nonato"},
32
+ {state: piaui, ibge_code: 2203206, name: "Curimatá"},
33
+ {state: piaui, ibge_code: 2208858, name: "Riacho Frio"},
34
+ {state: piaui, ibge_code: 2202075, name: "Cajazeiras do Piauí"},
35
+ {state: piaui, ibge_code: 2207553, name: "Paquetá"},
36
+ {state: piaui, ibge_code: 2209377, name: "Santa Rosa do Piauí"},
37
+ {state: piaui, ibge_code: 2210979, name: "Tanque do Piauí"},
38
+ {state: piaui, ibge_code: 2206506, name: "Monsenhor Hipólito"},
39
+ {state: piaui, ibge_code: 2201572, name: "Belém do Piauí"},
40
+ {state: piaui, ibge_code: 2202133, name: "Campo Grande do Piauí"},
41
+ {state: piaui, ibge_code: 2204154, name: "Francisco Macedo"},
42
+ {state: piaui, ibge_code: 2205201, name: "Jaicós"},
43
+ {state: piaui, ibge_code: 2206050, name: "Massapê do Piauí"},
44
+ {state: piaui, ibge_code: 2207934, name: "Pedro Laurentino"},
45
+ {state: piaui, ibge_code: 2210003, name: "São João do Piauí"},
46
+ {state: piaui, ibge_code: 2211605, name: "Vila Nova do Piauí"},
47
+ {state: piaui, ibge_code: 2201507, name: "Batalha"},
48
+ {state: piaui, ibge_code: 2203255, name: "Curralinhos"},
49
+ {state: piaui, ibge_code: 2203420, name: "Domingos Mourão"},
50
+ {state: piaui, ibge_code: 2208601, name: "Prata do Piauí"},
51
+ {state: piaui, ibge_code: 2200707, name: "Anísio de Abreu"},
52
+ {state: piaui, ibge_code: 2211704, name: "Wall Ferraz"},
53
+ {state: piaui, ibge_code: 2209500, name: "Santo Inácio do Piauí"},
54
+ {state: piaui, ibge_code: 2202455, name: "Capitão Gervásio Oliveira"},
55
+ {state: piaui, ibge_code: 2202554, name: "Caridade do Piauí"},
56
+ {state: piaui, ibge_code: 2202802, name: "Conceição do Canindé"},
57
+ {state: piaui, ibge_code: 2203271, name: "Curral Novo do Piauí"},
58
+ {state: piaui, ibge_code: 2203859, name: "Floresta do Piauí"},
59
+ {state: piaui, ibge_code: 2204303, name: "Fronteiras"},
60
+ {state: piaui, ibge_code: 2204907, name: "Isaías Coelho"},
61
+ {state: piaui, ibge_code: 2205151, name: "Jacobina do Piauí"},
62
+ {state: piaui, ibge_code: 2205359, name: "João Costa"},
63
+ {state: piaui, ibge_code: 2205565, name: "Lagoa do Barro do Piauí"},
64
+ {state: piaui, ibge_code: 2205953, name: "Marcolândia"},
65
+ {state: piaui, ibge_code: 2207207, name: "Padre Marcos"},
66
+ {state: piaui, ibge_code: 2207306, name: "Paes Landim"},
67
+ {state: piaui, ibge_code: 2207777, name: "Patos do Piauí"},
68
+ {state: piaui, ibge_code: 2207801, name: "Paulistana"},
69
+ {state: piaui, ibge_code: 2207959, name: "Nova Santa Rita"},
70
+ {state: piaui, ibge_code: 2208650, name: "Queimada Nova"},
71
+ {state: piaui, ibge_code: 2208874, name: "Ribeira do Piauí"},
72
+ {state: piaui, ibge_code: 2209658, name: "São Francisco de Assis do Piauí"},
73
+ {state: piaui, ibge_code: 2210706, name: "Simões"},
74
+ {state: piaui, ibge_code: 2210904, name: "Socorro do Piauí"},
75
+ {state: piaui, ibge_code: 2211506, name: "Vera Mendes"},
76
+ {state: piaui, ibge_code: 2205904, name: "Manoel Emídio"},
77
+ {state: piaui, ibge_code: 2206001, name: "Marcos Parente"},
78
+ {state: piaui, ibge_code: 2208551, name: "Porto Alegre do Piauí"},
79
+ {state: piaui, ibge_code: 2210631, name: "Sebastião Leal"},
80
+ {state: piaui, ibge_code: 2203800, name: "Flores do Piauí"},
81
+ {state: piaui, ibge_code: 2203909, name: "Floriano"},
82
+ {state: piaui, ibge_code: 2205102, name: "Itaueira"},
83
+ {state: piaui, ibge_code: 2206704, name: "Nazaré do Piauí"},
84
+ {state: piaui, ibge_code: 2207850, name: "Pavussu"},
85
+ {state: piaui, ibge_code: 2209005, name: "Rio Grande do Piauí"},
86
+ {state: piaui, ibge_code: 2210102, name: "São José do Peixe"},
87
+ {state: piaui, ibge_code: 2210391, name: "São Miguel do Fidalgo"},
88
+ {state: piaui, ibge_code: 2200459, name: "Alvorada do Gurguéia"},
89
+ {state: piaui, ibge_code: 2201309, name: "Barreiras do Piauí"},
90
+ {state: piaui, ibge_code: 2201903, name: "Bom Jesus"},
91
+ {state: piaui, ibge_code: 2203230, name: "Currais"},
92
+ {state: piaui, ibge_code: 2204402, name: "Gilbués"},
93
+ {state: piaui, ibge_code: 2206605, name: "Monte Alegre do Piauí"},
94
+ {state: piaui, ibge_code: 2209302, name: "Santa Luz"},
95
+ {state: piaui, ibge_code: 2209757, name: "São Gonçalo do Gurguéia"},
96
+ {state: piaui, ibge_code: 2201929, name: "Bonfim do Piauí"},
97
+ {state: piaui, ibge_code: 2201988, name: "Brejo do Piauí"},
98
+ {state: piaui, ibge_code: 2202505, name: "Caracol"},
99
+ {state: piaui, ibge_code: 2202851, name: "Coronel José Dias"},
100
+ {state: piaui, ibge_code: 2203354, name: "Dirceu Arcoverde"},
101
+ {state: piaui, ibge_code: 2203453, name: "Dom Inocêncio"},
102
+ {state: piaui, ibge_code: 2204550, name: "Guaribas"},
103
+ {state: piaui, ibge_code: 2205532, name: "Jurema"},
104
+ {state: piaui, ibge_code: 2207355, name: "Pajeú do Piauí"},
105
+ {state: piaui, ibge_code: 2209559, name: "São Braz do Piauí"},
106
+ {state: piaui, ibge_code: 2210359, name: "São Lourenço do Piauí"},
107
+ {state: piaui, ibge_code: 2210953, name: "Tamboril do Piauí"},
108
+ {state: piaui, ibge_code: 2211357, name: "Várzea Branca"},
109
+ {state: piaui, ibge_code: 2201101, name: "Avelino Lopes"},
110
+ {state: piaui, ibge_code: 2203008, name: "Cristalândia do Piauí"},
111
+ {state: piaui, ibge_code: 2205524, name: "Júlio Borges"},
112
+ {state: piaui, ibge_code: 2206654, name: "Morro Cabeça no Tempo"},
113
+ {state: piaui, ibge_code: 2207603, name: "Parnaguá"},
114
+ {state: piaui, ibge_code: 2210623, name: "Sebastião Barros"},
115
+ {state: piaui, ibge_code: 2200954, name: "Aroeiras do Itaim"},
116
+ {state: piaui, ibge_code: 2201804, name: "Bocaina"},
117
+ {state: piaui, ibge_code: 2202778, name: "Colônia do Piauí"},
118
+ {state: piaui, ibge_code: 2203404, name: "Dom Expedito Lopes"},
119
+ {state: piaui, ibge_code: 2204352, name: "Geminiano"},
120
+ {state: piaui, ibge_code: 2204808, name: "Ipiranga do Piauí"},
121
+ {state: piaui, ibge_code: 2207009, name: "Oeiras"},
122
+ {state: piaui, ibge_code: 2209104, name: "Santa Cruz do Piauí"},
123
+ {state: piaui, ibge_code: 2209351, name: "Santana do Piauí"},
124
+ {state: piaui, ibge_code: 2209856, name: "São João da Canabrava"},
125
+ {state: piaui, ibge_code: 2209955, name: "São João da Varjota"},
126
+ {state: piaui, ibge_code: 2210201, name: "São José do Piauí"},
127
+ {state: piaui, ibge_code: 2210375, name: "São Luis do Piauí"},
128
+ {state: piaui, ibge_code: 2210938, name: "Sussuapara"},
129
+ {state: piaui, ibge_code: 2200251, name: "Alagoinha do Piauí"},
130
+ {state: piaui, ibge_code: 2200277, name: "Alegrete do Piauí"},
131
+ {state: piaui, ibge_code: 2208205, name: "Pio IX"},
132
+ {state: piaui, ibge_code: 2209401, name: "Santo Antônio de Lisboa"},
133
+ {state: piaui, ibge_code: 2210300, name: "São Julião"},
134
+ {state: piaui, ibge_code: 2200053, name: "Acauã"},
135
+ {state: piaui, ibge_code: 2201556, name: "Bela Vista do Piauí"},
136
+ {state: piaui, ibge_code: 2201739, name: "Betânia do Piauí"},
137
+ {state: piaui, ibge_code: 2202091, name: "Caldeirão Grande do Piauí"},
138
+ {state: piaui, ibge_code: 2202109, name: "Campinas do Piauí"},
139
+ {state: piaui, ibge_code: 2202117, name: "Campo Alegre do Fidalgo"},
140
+ {state: piaui, ibge_code: 2209872, name: "São João da Fronteira"},
141
+ {state: piaui, ibge_code: 2200400, name: "Altos"},
142
+ {state: piaui, ibge_code: 2201606, name: "Beneditinos"},
143
+ {state: piaui, ibge_code: 2202737, name: "Coivaras"},
144
+ {state: piaui, ibge_code: 2203305, name: "Demerval Lobão"},
145
+ {state: piaui, ibge_code: 2205557, name: "Lagoa Alegre"},
146
+ {state: piaui, ibge_code: 2205581, name: "Lagoa do Piauí"},
147
+ {state: piaui, ibge_code: 2206308, name: "Miguel Leão"},
148
+ {state: piaui, ibge_code: 2206407, name: "Monsenhor Gil"},
149
+ {state: piaui, ibge_code: 2211001, name: "Teresina"},
150
+ {state: piaui, ibge_code: 2211100, name: "União"},
151
+ {state: piaui, ibge_code: 2200301, name: "Alto Longá"},
152
+ {state: piaui, ibge_code: 2201945, name: "Boqueirão do Piauí"},
153
+ {state: piaui, ibge_code: 2202026, name: "Buriti dos Montes"},
154
+ {state: piaui, ibge_code: 2202208, name: "Campo Maior"},
155
+ {state: piaui, ibge_code: 2202406, name: "Capitão de Campos"},
156
+ {state: piaui, ibge_code: 2202604, name: "Castelo do Piauí"},
157
+ {state: piaui, ibge_code: 2202711, name: "Cocal de Telha"},
158
+ {state: piaui, ibge_code: 2205276, name: "Jatobá do Piauí"},
159
+ {state: piaui, ibge_code: 2205516, name: "Juazeiro do Piauí"},
160
+ {state: piaui, ibge_code: 2205573, name: "Lagoa de São Francisco"},
161
+ {state: piaui, ibge_code: 2206357, name: "Milton Brandão"},
162
+ {state: piaui, ibge_code: 2206753, name: "Nossa Senhora de Nazaré"},
163
+ {state: piaui, ibge_code: 2206951, name: "Novo Santo Antônio"},
164
+ {state: piaui, ibge_code: 2207900, name: "Pedro II"},
165
+ {state: piaui, ibge_code: 2209906, name: "São João da Serra"},
166
+ {state: piaui, ibge_code: 2210409, name: "São Miguel do Tapuio"},
167
+ {state: piaui, ibge_code: 2210656, name: "Sigefredo Pacheco"},
168
+ {state: piaui, ibge_code: 2200202, name: "Água Branca"},
169
+ {state: piaui, ibge_code: 2200509, name: "Amarante"},
170
+ {state: piaui, ibge_code: 2200608, name: "Angical do Piauí"},
171
+ {state: piaui, ibge_code: 2201002, name: "Arraial"},
172
+ {state: piaui, ibge_code: 2201408, name: "Barro Duro"},
173
+ {state: piaui, ibge_code: 2204105, name: "Francisco Ayres"},
174
+ {state: piaui, ibge_code: 2204600, name: "Hugo Napoleão"},
175
+ {state: piaui, ibge_code: 2205250, name: "Jardim do Mulato"},
176
+ {state: piaui, ibge_code: 2205540, name: "Lagoinha do Piauí"},
177
+ {state: piaui, ibge_code: 2207108, name: "Olho D'Água do Piauí"},
178
+ {state: piaui, ibge_code: 2207504, name: "Palmeirais"},
179
+ {state: piaui, ibge_code: 2207751, name: "Passagem Franca do Piauí"},
180
+ {state: piaui, ibge_code: 2208809, name: "Regeneração"},
181
+ {state: piaui, ibge_code: 2209450, name: "Santo Antônio dos Milagres"},
182
+ {state: piaui, ibge_code: 2210508, name: "São Pedro do Piauí"},
183
+ {state: piaui, ibge_code: 2200905, name: "Aroazes"},
184
+ {state: piaui, ibge_code: 2201176, name: "Barra D'Alcântara"},
185
+ {state: piaui, ibge_code: 2203503, name: "Elesbão Veloso"},
186
+ {state: piaui, ibge_code: 2204006, name: "Francinópolis"},
187
+ {state: piaui, ibge_code: 2204709, name: "Inhuma"},
188
+ {state: piaui, ibge_code: 2205599, name: "Lagoa do Sítio"},
189
+ {state: piaui, ibge_code: 2206902, name: "Novo Oriente do Piauí"},
190
+ {state: piaui, ibge_code: 2208106, name: "Pimenteiras"},
191
+ {state: piaui, ibge_code: 2209153, name: "Santa Cruz dos Milagres"},
192
+ {state: piaui, ibge_code: 2209609, name: "São Félix do Piauí"},
193
+ {state: piaui, ibge_code: 2210383, name: "São Miguel da Baixa Grande"},
194
+ {state: piaui, ibge_code: 2211308, name: "Valença do Piauí"},
195
+ {state: piaui, ibge_code: 2211407, name: "Várzea Grande"},
196
+ {state: piaui, ibge_code: 2201150, name: "Baixa Grande do Ribeiro"},
197
+ {state: piaui, ibge_code: 2208908, name: "Ribeiro Gonçalves"},
198
+ {state: piaui, ibge_code: 2209203, name: "Santa Filomena"},
199
+ {state: piaui, ibge_code: 2200806, name: "Antônio Almeida"},
200
+ {state: piaui, ibge_code: 2201705, name: "Bertolínia"},
201
+ {state: piaui, ibge_code: 2202752, name: "Colônia do Gurguéia"},
202
+ {state: piaui, ibge_code: 2203602, name: "Eliseu Martins"},
203
+ {state: piaui, ibge_code: 2205607, name: "Landri Sales"},
204
+ {state: piaui, ibge_code: 2201200, name: "Barras"},
205
+ {state: piaui, ibge_code: 2201770, name: "Boa Hora"},
206
+ {state: piaui, ibge_code: 2201960, name: "Brasileira"},
207
+ {state: piaui, ibge_code: 2202174, name: "Campo Largo do Piauí"},
208
+ {state: piaui, ibge_code: 2203701, name: "Esperantina"},
209
+ {state: piaui, ibge_code: 2205409, name: "Joaquim Pires"},
210
+ {state: piaui, ibge_code: 2205458, name: "Joca Marques"},
211
+ {state: piaui, ibge_code: 2205805, name: "Luzilândia"},
212
+ {state: piaui, ibge_code: 2206100, name: "Matias Olímpio"},
213
+ {state: piaui, ibge_code: 2206209, name: "Miguel Alves"},
214
+ {state: piaui, ibge_code: 2206670, name: "Morro do Chapéu do Piauí"},
215
+ {state: piaui, ibge_code: 2208403, name: "Piripiri"},
216
+ {state: piaui, ibge_code: 2208502, name: "Porto"},
217
+ {state: piaui, ibge_code: 2209971, name: "São João do Arraial"},
218
+ {state: piaui, ibge_code: 2201919, name: "Bom Princípio do Piauí"},
219
+ {state: piaui, ibge_code: 2202000, name: "Buriti dos Lopes"},
220
+ {state: piaui, ibge_code: 2202083, name: "Cajueiro da Praia"},
221
+ {state: piaui, ibge_code: 2202653, name: "Caxingó"},
222
+ {state: piaui, ibge_code: 2202703, name: "Cocal"},
223
+ {state: piaui, ibge_code: 2202729, name: "Cocal dos Alves"},
224
+ {state: piaui, ibge_code: 2204659, name: "Ilha Grande"},
225
+ {state: piaui, ibge_code: 2207702, name: "Parnaíba"},
226
+ {state: piaui, ibge_code: 2208304, name: "Piracuruca"}
227
+ ])
@@ -0,0 +1,96 @@
1
+ rio_de_janeiro = Spree::State.find_by! abbr: 'RJ'
2
+
3
+ Spree::City.create!([
4
+ {state: rio_de_janeiro, ibge_code: 3304706, name: "Santo Antônio de Pádua"},
5
+ {state: rio_de_janeiro, ibge_code: 3305133, name: "São José de Ubá"},
6
+ {state: rio_de_janeiro, ibge_code: 3301009, name: "Campos dos Goytacazes"},
7
+ {state: rio_de_janeiro, ibge_code: 3301157, name: "Cardoso Moreira"},
8
+ {state: rio_de_janeiro, ibge_code: 3304755, name: "São Francisco de Itabapoana"},
9
+ {state: rio_de_janeiro, ibge_code: 3304805, name: "São Fidélis"},
10
+ {state: rio_de_janeiro, ibge_code: 3305000, name: "São João da Barra"},
11
+ {state: rio_de_janeiro, ibge_code: 3300936, name: "Carapebus"},
12
+ {state: rio_de_janeiro, ibge_code: 3304151, name: "Quissamã"},
13
+ {state: rio_de_janeiro, ibge_code: 3300225, name: "Areal"},
14
+ {state: rio_de_janeiro, ibge_code: 3300951, name: "Comendador Levy Gasparian"},
15
+ {state: rio_de_janeiro, ibge_code: 3303708, name: "Paraíba do Sul"},
16
+ {state: rio_de_janeiro, ibge_code: 3305406, name: "Sapucaia"},
17
+ {state: rio_de_janeiro, ibge_code: 3306008, name: "Três Rios"},
18
+ {state: rio_de_janeiro, ibge_code: 3301108, name: "Cantagalo"},
19
+ {state: rio_de_janeiro, ibge_code: 3301207, name: "Carmo"},
20
+ {state: rio_de_janeiro, ibge_code: 3301504, name: "Cordeiro"},
21
+ {state: rio_de_janeiro, ibge_code: 3302452, name: "Macuco"},
22
+ {state: rio_de_janeiro, ibge_code: 3300506, name: "Bom Jardim"},
23
+ {state: rio_de_janeiro, ibge_code: 3303401, name: "Nova Friburgo"},
24
+ {state: rio_de_janeiro, ibge_code: 3305703, name: "Sumidouro"},
25
+ {state: rio_de_janeiro, ibge_code: 3304607, name: "Santa Maria Madalena"},
26
+ {state: rio_de_janeiro, ibge_code: 3305307, name: "São Sebastião do Alto"},
27
+ {state: rio_de_janeiro, ibge_code: 3305901, name: "Trajano de Morais"},
28
+ {state: rio_de_janeiro, ibge_code: 3301306, name: "Casimiro de Abreu"},
29
+ {state: rio_de_janeiro, ibge_code: 3304524, name: "Rio das Ostras"},
30
+ {state: rio_de_janeiro, ibge_code: 3305604, name: "Silva Jardim"},
31
+ {state: rio_de_janeiro, ibge_code: 3300209, name: "Araruama"},
32
+ {state: rio_de_janeiro, ibge_code: 3300902, name: "Cambuci"},
33
+ {state: rio_de_janeiro, ibge_code: 3302403, name: "Macaé"},
34
+ {state: rio_de_janeiro, ibge_code: 3301603, name: "Duas Barras"},
35
+ {state: rio_de_janeiro, ibge_code: 3305208, name: "São Pedro da Aldeia"},
36
+ {state: rio_de_janeiro, ibge_code: 3303906, name: "Petrópolis"},
37
+ {state: rio_de_janeiro, ibge_code: 3303302, name: "Niterói"},
38
+ {state: rio_de_janeiro, ibge_code: 3306305, name: "Volta Redonda"},
39
+ {state: rio_de_janeiro, ibge_code: 3303807, name: "Parati"},
40
+ {state: rio_de_janeiro, ibge_code: 3302908, name: "Miguel Pereira"},
41
+ {state: rio_de_janeiro, ibge_code: 3305158, name: "São José do Vale do Rio Preto"},
42
+ {state: rio_de_janeiro, ibge_code: 3301702, name: "Duque de Caxias"},
43
+ {state: rio_de_janeiro, ibge_code: 3302858, name: "Mesquita"},
44
+ {state: rio_de_janeiro, ibge_code: 3304144, name: "Queimados"},
45
+ {state: rio_de_janeiro, ibge_code: 3305752, name: "Tanguá"},
46
+ {state: rio_de_janeiro, ibge_code: 3301405, name: "Conceição de Macabu"},
47
+ {state: rio_de_janeiro, ibge_code: 3301801, name: "Engenheiro Paulo de Frontin"},
48
+ {state: rio_de_janeiro, ibge_code: 3300233, name: "Armação dos Búzios"},
49
+ {state: rio_de_janeiro, ibge_code: 3300258, name: "Arraial do Cabo"},
50
+ {state: rio_de_janeiro, ibge_code: 3300704, name: "Cabo Frio"},
51
+ {state: rio_de_janeiro, ibge_code: 3301876, name: "Iguaba Grande"},
52
+ {state: rio_de_janeiro, ibge_code: 3305505, name: "Saquarema"},
53
+ {state: rio_de_janeiro, ibge_code: 3300407, name: "Barra Mansa"},
54
+ {state: rio_de_janeiro, ibge_code: 3302254, name: "Itatiaia"},
55
+ {state: rio_de_janeiro, ibge_code: 3303955, name: "Pinheiral"},
56
+ {state: rio_de_janeiro, ibge_code: 3304003, name: "Piraí"},
57
+ {state: rio_de_janeiro, ibge_code: 3304110, name: "Porto Real"},
58
+ {state: rio_de_janeiro, ibge_code: 3304128, name: "Quatis"},
59
+ {state: rio_de_janeiro, ibge_code: 3304201, name: "Resende"},
60
+ {state: rio_de_janeiro, ibge_code: 3304409, name: "Rio Claro"},
61
+ {state: rio_de_janeiro, ibge_code: 3300308, name: "Barra do Piraí"},
62
+ {state: rio_de_janeiro, ibge_code: 3304508, name: "Rio das Flores"},
63
+ {state: rio_de_janeiro, ibge_code: 3306107, name: "Valença"},
64
+ {state: rio_de_janeiro, ibge_code: 3300100, name: "Angra dos Reis"},
65
+ {state: rio_de_janeiro, ibge_code: 3302809, name: "Mendes"},
66
+ {state: rio_de_janeiro, ibge_code: 3303609, name: "Paracambi"},
67
+ {state: rio_de_janeiro, ibge_code: 3303856, name: "Paty do Alferes"},
68
+ {state: rio_de_janeiro, ibge_code: 3306206, name: "Vassouras"},
69
+ {state: rio_de_janeiro, ibge_code: 3305802, name: "Teresópolis"},
70
+ {state: rio_de_janeiro, ibge_code: 3300803, name: "Cachoeiras de Macacu"},
71
+ {state: rio_de_janeiro, ibge_code: 3304300, name: "Rio Bonito"},
72
+ {state: rio_de_janeiro, ibge_code: 3302007, name: "Itaguaí"},
73
+ {state: rio_de_janeiro, ibge_code: 3302601, name: "Mangaratiba"},
74
+ {state: rio_de_janeiro, ibge_code: 3305554, name: "Seropédica"},
75
+ {state: rio_de_janeiro, ibge_code: 3300456, name: "Belford Roxo"},
76
+ {state: rio_de_janeiro, ibge_code: 3301850, name: "Guapimirim"},
77
+ {state: rio_de_janeiro, ibge_code: 3301900, name: "Itaboraí"},
78
+ {state: rio_de_janeiro, ibge_code: 3302270, name: "Japeri"},
79
+ {state: rio_de_janeiro, ibge_code: 3302502, name: "Magé"},
80
+ {state: rio_de_janeiro, ibge_code: 3302700, name: "Maricá"},
81
+ {state: rio_de_janeiro, ibge_code: 3303203, name: "Nilópolis"},
82
+ {state: rio_de_janeiro, ibge_code: 3303500, name: "Nova Iguaçu"},
83
+ {state: rio_de_janeiro, ibge_code: 3304557, name: "Rio de Janeiro"},
84
+ {state: rio_de_janeiro, ibge_code: 3304904, name: "São Gonçalo"},
85
+ {state: rio_de_janeiro, ibge_code: 3305109, name: "São João de Meriti"},
86
+ {state: rio_de_janeiro, ibge_code: 3300605, name: "Bom Jesus do Itabapoana"},
87
+ {state: rio_de_janeiro, ibge_code: 3302056, name: "Italva"},
88
+ {state: rio_de_janeiro, ibge_code: 3302205, name: "Itaperuna"},
89
+ {state: rio_de_janeiro, ibge_code: 3302304, name: "Laje do Muriaé"},
90
+ {state: rio_de_janeiro, ibge_code: 3303104, name: "Natividade"},
91
+ {state: rio_de_janeiro, ibge_code: 3304102, name: "Porciúncula"},
92
+ {state: rio_de_janeiro, ibge_code: 3306156, name: "Varre-Sai"},
93
+ {state: rio_de_janeiro, ibge_code: 3300159, name: "Aperibé"},
94
+ {state: rio_de_janeiro, ibge_code: 3302106, name: "Itaocara"},
95
+ {state: rio_de_janeiro, ibge_code: 3303005, name: "Miracema"}
96
+ ])
@@ -0,0 +1,171 @@
1
+ rio_grande_do_norte = Spree::State.find_by! abbr: 'RN'
2
+
3
+ Spree::City.create!([
4
+ {state: rio_grande_do_norte, ibge_code: 2407104, name: "Macaíba"},
5
+ {state: rio_grande_do_norte, ibge_code: 2408201, name: "Nísia Floresta"},
6
+ {state: rio_grande_do_norte, ibge_code: 2412005, name: "São Gonçalo do Amarante"},
7
+ {state: rio_grande_do_norte, ibge_code: 2403251, name: "Parnamirim"},
8
+ {state: rio_grande_do_norte, ibge_code: 2403608, name: "Extremoz"},
9
+ {state: rio_grande_do_norte, ibge_code: 2401206, name: "Arês"},
10
+ {state: rio_grande_do_norte, ibge_code: 2401404, name: "Baía Formosa"},
11
+ {state: rio_grande_do_norte, ibge_code: 2403509, name: "Espírito Santo"},
12
+ {state: rio_grande_do_norte, ibge_code: 2404200, name: "Goianinha"},
13
+ {state: rio_grande_do_norte, ibge_code: 2407708, name: "Montanhas"},
14
+ {state: rio_grande_do_norte, ibge_code: 2409803, name: "Pedro Velho"},
15
+ {state: rio_grande_do_norte, ibge_code: 2414209, name: "Tibau do Sul"},
16
+ {state: rio_grande_do_norte, ibge_code: 2415008, name: "Vila Flor"},
17
+ {state: rio_grande_do_norte, ibge_code: 2413706, name: "Sítio Novo"},
18
+ {state: rio_grande_do_norte, ibge_code: 2404606, name: "Ielmo Marinho"},
19
+ {state: rio_grande_do_norte, ibge_code: 2406601, name: "Lagoa Salgada"},
20
+ {state: rio_grande_do_norte, ibge_code: 2409332, name: "Santa Maria"},
21
+ {state: rio_grande_do_norte, ibge_code: 2412708, name: "São Pedro"},
22
+ {state: rio_grande_do_norte, ibge_code: 2414803, name: "Vera Cruz"},
23
+ {state: rio_grande_do_norte, ibge_code: 2410405, name: "Pureza"},
24
+ {state: rio_grande_do_norte, ibge_code: 2402600, name: "Ceará-Mirim"},
25
+ {state: rio_grande_do_norte, ibge_code: 2412203, name: "São José de Mipibu"},
26
+ {state: rio_grande_do_norte, ibge_code: 2402204, name: "Canguaretama"},
27
+ {state: rio_grande_do_norte, ibge_code: 2413201, name: "Senador Georgino Avelino"},
28
+ {state: rio_grande_do_norte, ibge_code: 2405207, name: "Janduís"},
29
+ {state: rio_grande_do_norte, ibge_code: 2411908, name: "São Francisco do Oeste"},
30
+ {state: rio_grande_do_norte, ibge_code: 2411601, name: "São Bento do Norte"},
31
+ {state: rio_grande_do_norte, ibge_code: 2405603, name: "Jardim de Piranhas"},
32
+ {state: rio_grande_do_norte, ibge_code: 2408805, name: "Parazinho"},
33
+ {state: rio_grande_do_norte, ibge_code: 2412302, name: "São José do Campestre"},
34
+ {state: rio_grande_do_norte, ibge_code: 2414704, name: "Várzea"},
35
+ {state: rio_grande_do_norte, ibge_code: 2408102, name: "Natal"},
36
+ {state: rio_grande_do_norte, ibge_code: 2402303, name: "Caraúbas"},
37
+ {state: rio_grande_do_norte, ibge_code: 2404853, name: "Itajá"},
38
+ {state: rio_grande_do_norte, ibge_code: 2412500, name: "São Miguel"},
39
+ {state: rio_grande_do_norte, ibge_code: 2411007, name: "Rodolfo Fernandes"},
40
+ {state: rio_grande_do_norte, ibge_code: 2409704, name: "Pedro Avelino"},
41
+ {state: rio_grande_do_norte, ibge_code: 2401651, name: "Bodó"},
42
+ {state: rio_grande_do_norte, ibge_code: 2402709, name: "Cerro Corá"},
43
+ {state: rio_grande_do_norte, ibge_code: 2403806, name: "Florânia"},
44
+ {state: rio_grande_do_norte, ibge_code: 2406502, name: "Lagoa Nova"},
45
+ {state: rio_grande_do_norte, ibge_code: 2411403, name: "Santana do Matos"},
46
+ {state: rio_grande_do_norte, ibge_code: 2413003, name: "São Vicente"},
47
+ {state: rio_grande_do_norte, ibge_code: 2414159, name: "Tenente Laurentino Cruz"},
48
+ {state: rio_grande_do_norte, ibge_code: 2402006, name: "Caicó"},
49
+ {state: rio_grande_do_norte, ibge_code: 2404804, name: "Ipueira"},
50
+ {state: rio_grande_do_norte, ibge_code: 2411809, name: "São Fernando"},
51
+ {state: rio_grande_do_norte, ibge_code: 2412104, name: "São João do Sabugi"},
52
+ {state: rio_grande_do_norte, ibge_code: 2413409, name: "Serra Negra do Norte"},
53
+ {state: rio_grande_do_norte, ibge_code: 2414308, name: "Timbaúba dos Batistas"},
54
+ {state: rio_grande_do_norte, ibge_code: 2400109, name: "Acari"},
55
+ {state: rio_grande_do_norte, ibge_code: 2402402, name: "Carnaúba dos Dantas"},
56
+ {state: rio_grande_do_norte, ibge_code: 2403004, name: "Cruzeta"},
57
+ {state: rio_grande_do_norte, ibge_code: 2403103, name: "Currais Novos"},
58
+ {state: rio_grande_do_norte, ibge_code: 2403400, name: "Equador"},
59
+ {state: rio_grande_do_norte, ibge_code: 2405702, name: "Jardim do Seridó"},
60
+ {state: rio_grande_do_norte, ibge_code: 2408508, name: "Ouro Branco"},
61
+ {state: rio_grande_do_norte, ibge_code: 2408904, name: "Parelhas"},
62
+ {state: rio_grande_do_norte, ibge_code: 2411429, name: "Santana do Seridó"},
63
+ {state: rio_grande_do_norte, ibge_code: 2412401, name: "São José do Seridó"},
64
+ {state: rio_grande_do_norte, ibge_code: 2401602, name: "Bento Fernandes"},
65
+ {state: rio_grande_do_norte, ibge_code: 2405108, name: "Jandaíra"},
66
+ {state: rio_grande_do_norte, ibge_code: 2405801, name: "João Câmara"},
67
+ {state: rio_grande_do_norte, ibge_code: 2410108, name: "Poço Branco"},
68
+ {state: rio_grande_do_norte, ibge_code: 2401503, name: "Barcelona"},
69
+ {state: rio_grande_do_norte, ibge_code: 2402105, name: "Campo Redondo"},
70
+ {state: rio_grande_do_norte, ibge_code: 2402808, name: "Coronel Ezequiel"},
71
+ {state: rio_grande_do_norte, ibge_code: 2405009, name: "Jaçanã"},
72
+ {state: rio_grande_do_norte, ibge_code: 2405405, name: "Japi"},
73
+ {state: rio_grande_do_norte, ibge_code: 2406403, name: "Lagoa de Velhos"},
74
+ {state: rio_grande_do_norte, ibge_code: 2406809, name: "Lajes Pintadas"},
75
+ {state: rio_grande_do_norte, ibge_code: 2407906, name: "Monte das Gameleiras"},
76
+ {state: rio_grande_do_norte, ibge_code: 2411106, name: "Ruy Barbosa"},
77
+ {state: rio_grande_do_norte, ibge_code: 2411205, name: "Santa Cruz"},
78
+ {state: rio_grande_do_norte, ibge_code: 2411700, name: "São Bento do Trairí"},
79
+ {state: rio_grande_do_norte, ibge_code: 2412906, name: "São Tomé"},
80
+ {state: rio_grande_do_norte, ibge_code: 2413300, name: "Serra de São Bento"},
81
+ {state: rio_grande_do_norte, ibge_code: 2414001, name: "Tangará"},
82
+ {state: rio_grande_do_norte, ibge_code: 2401701, name: "Bom Jesus"},
83
+ {state: rio_grande_do_norte, ibge_code: 2401800, name: "Brejinho"},
84
+ {state: rio_grande_do_norte, ibge_code: 2405306, name: "Januário Cicco"},
85
+ {state: rio_grande_do_norte, ibge_code: 2406155, name: "Jundiá"},
86
+ {state: rio_grande_do_norte, ibge_code: 2406205, name: "Lagoa d'Anta"},
87
+ {state: rio_grande_do_norte, ibge_code: 2406304, name: "Lagoa de Pedras"},
88
+ {state: rio_grande_do_norte, ibge_code: 2407807, name: "Monte Alegre"},
89
+ {state: rio_grande_do_norte, ibge_code: 2408300, name: "Nova Cruz"},
90
+ {state: rio_grande_do_norte, ibge_code: 2409100, name: "Passa e Fica"},
91
+ {state: rio_grande_do_norte, ibge_code: 2409209, name: "Passagem"},
92
+ {state: rio_grande_do_norte, ibge_code: 2410306, name: "Presidente Juscelino"},
93
+ {state: rio_grande_do_norte, ibge_code: 2410900, name: "Riachuelo"},
94
+ {state: rio_grande_do_norte, ibge_code: 2411502, name: "Santo Antônio"},
95
+ {state: rio_grande_do_norte, ibge_code: 2412609, name: "São Paulo do Potengi"},
96
+ {state: rio_grande_do_norte, ibge_code: 2413102, name: "Senador Elói de Souza"},
97
+ {state: rio_grande_do_norte, ibge_code: 2413508, name: "Serrinha"},
98
+ {state: rio_grande_do_norte, ibge_code: 2407500, name: "Maxaranguape"},
99
+ {state: rio_grande_do_norte, ibge_code: 2408953, name: "Rio do Fogo"},
100
+ {state: rio_grande_do_norte, ibge_code: 2409506, name: "Pedra Grande"},
101
+ {state: rio_grande_do_norte, ibge_code: 2412559, name: "São Miguel do Gostoso"},
102
+ {state: rio_grande_do_norte, ibge_code: 2413904, name: "Taipu"},
103
+ {state: rio_grande_do_norte, ibge_code: 2414407, name: "Touros"},
104
+ {state: rio_grande_do_norte, ibge_code: 2413607, name: "Severiano Melo"},
105
+ {state: rio_grande_do_norte, ibge_code: 2413805, name: "Taboleiro Grande"},
106
+ {state: rio_grande_do_norte, ibge_code: 2414100, name: "Tenente Ananias"},
107
+ {state: rio_grande_do_norte, ibge_code: 2414902, name: "Viçosa"},
108
+ {state: rio_grande_do_norte, ibge_code: 2400604, name: "Almino Afonso"},
109
+ {state: rio_grande_do_norte, ibge_code: 2400901, name: "Antônio Martins"},
110
+ {state: rio_grande_do_norte, ibge_code: 2404002, name: "Frutuoso Gomes"},
111
+ {state: rio_grande_do_norte, ibge_code: 2405900, name: "João Dias"},
112
+ {state: rio_grande_do_norte, ibge_code: 2406908, name: "Lucrécia"},
113
+ {state: rio_grande_do_norte, ibge_code: 2407401, name: "Martins"},
114
+ {state: rio_grande_do_norte, ibge_code: 2408409, name: "Olho-d'Água do Borges"},
115
+ {state: rio_grande_do_norte, ibge_code: 2409308, name: "Patu"},
116
+ {state: rio_grande_do_norte, ibge_code: 2410603, name: "Rafael Godeiro"},
117
+ {state: rio_grande_do_norte, ibge_code: 2413557, name: "Serrinha dos Pintos"},
118
+ {state: rio_grande_do_norte, ibge_code: 2414506, name: "Umarizal"},
119
+ {state: rio_grande_do_norte, ibge_code: 2401859, name: "Caiçara do Norte"},
120
+ {state: rio_grande_do_norte, ibge_code: 2404101, name: "Galinhos"},
121
+ {state: rio_grande_do_norte, ibge_code: 2404507, name: "Guamaré"},
122
+ {state: rio_grande_do_norte, ibge_code: 2407203, name: "Macau"},
123
+ {state: rio_grande_do_norte, ibge_code: 2400307, name: "Afonso Bezerra"},
124
+ {state: rio_grande_do_norte, ibge_code: 2400802, name: "Angicos"},
125
+ {state: rio_grande_do_norte, ibge_code: 2401909, name: "Caiçara do Rio do Vento"},
126
+ {state: rio_grande_do_norte, ibge_code: 2403756, name: "Fernando Pedroza"},
127
+ {state: rio_grande_do_norte, ibge_code: 2405504, name: "Jardim de Angicos"},
128
+ {state: rio_grande_do_norte, ibge_code: 2406700, name: "Lajes"},
129
+ {state: rio_grande_do_norte, ibge_code: 2409605, name: "Pedra Preta"},
130
+ {state: rio_grande_do_norte, ibge_code: 2400703, name: "Alto do Rodrigues"},
131
+ {state: rio_grande_do_norte, ibge_code: 2402501, name: "Carnaubais"},
132
+ {state: rio_grande_do_norte, ibge_code: 2404705, name: "Ipanguaçu"},
133
+ {state: rio_grande_do_norte, ibge_code: 2406106, name: "Jucurutu"},
134
+ {state: rio_grande_do_norte, ibge_code: 2409902, name: "Pendências"},
135
+ {state: rio_grande_do_norte, ibge_code: 2410256, name: "Porto do Mangue"},
136
+ {state: rio_grande_do_norte, ibge_code: 2412807, name: "São Rafael"},
137
+ {state: rio_grande_do_norte, ibge_code: 2400406, name: "Água Nova"},
138
+ {state: rio_grande_do_norte, ibge_code: 2402907, name: "Coronel João Pessoa"},
139
+ {state: rio_grande_do_norte, ibge_code: 2403202, name: "Doutor Severiano"},
140
+ {state: rio_grande_do_norte, ibge_code: 2403301, name: "Encanto"},
141
+ {state: rio_grande_do_norte, ibge_code: 2407005, name: "Luís Gomes"},
142
+ {state: rio_grande_do_norte, ibge_code: 2407252, name: "Major Sales"},
143
+ {state: rio_grande_do_norte, ibge_code: 2410801, name: "Riacho de Santana"},
144
+ {state: rio_grande_do_norte, ibge_code: 2414753, name: "Venha-Ver"},
145
+ {state: rio_grande_do_norte, ibge_code: 2400505, name: "Alexandria"},
146
+ {state: rio_grande_do_norte, ibge_code: 2403905, name: "Francisco Dantas"},
147
+ {state: rio_grande_do_norte, ibge_code: 2404903, name: "Itaú"},
148
+ {state: rio_grande_do_norte, ibge_code: 2406007, name: "José da Penha"},
149
+ {state: rio_grande_do_norte, ibge_code: 2407302, name: "Marcelino Vieira"},
150
+ {state: rio_grande_do_norte, ibge_code: 2408607, name: "Paraná"},
151
+ {state: rio_grande_do_norte, ibge_code: 2409407, name: "Pau dos Ferros"},
152
+ {state: rio_grande_do_norte, ibge_code: 2410009, name: "Pilões"},
153
+ {state: rio_grande_do_norte, ibge_code: 2410207, name: "Portalegre"},
154
+ {state: rio_grande_do_norte, ibge_code: 2410504, name: "Rafael Fernandes"},
155
+ {state: rio_grande_do_norte, ibge_code: 2410702, name: "Riacho da Cruz"},
156
+ {state: rio_grande_do_norte, ibge_code: 2401107, name: "Areia Branca"},
157
+ {state: rio_grande_do_norte, ibge_code: 2401453, name: "Baraúna"},
158
+ {state: rio_grande_do_norte, ibge_code: 2404408, name: "Grossos"},
159
+ {state: rio_grande_do_norte, ibge_code: 2408003, name: "Mossoró"},
160
+ {state: rio_grande_do_norte, ibge_code: 2411056, name: "Tibau"},
161
+ {state: rio_grande_do_norte, ibge_code: 2413359, name: "Serra do Mel"},
162
+ {state: rio_grande_do_norte, ibge_code: 2401008, name: "Apodi"},
163
+ {state: rio_grande_do_norte, ibge_code: 2403707, name: "Felipe Guerra"},
164
+ {state: rio_grande_do_norte, ibge_code: 2404309, name: "Governador Dix-Sept Rosado"},
165
+ {state: rio_grande_do_norte, ibge_code: 2401305, name: "Augusto Severo"},
166
+ {state: rio_grande_do_norte, ibge_code: 2407609, name: "Messias Targino"},
167
+ {state: rio_grande_do_norte, ibge_code: 2408706, name: "Paraú"},
168
+ {state: rio_grande_do_norte, ibge_code: 2414456, name: "Triunfo Potiguar"},
169
+ {state: rio_grande_do_norte, ibge_code: 2414605, name: "Upanema"},
170
+ {state: rio_grande_do_norte, ibge_code: 2400208, name: "Açu"}
171
+ ])