solidus_br_common 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) 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 +19 -0
  8. data/LICENSE +26 -0
  9. data/README.md +55 -0
  10. data/Rakefile +21 -0
  11. data/app/assets/javascripts/spree/backend/solidus_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/solidus_br_common.js +1 -0
  18. data/app/assets/stylesheets/spree/backend/solidus_br_common.css +4 -0
  19. data/app/assets/stylesheets/spree/frontend/solidus_br_common.css +4 -0
  20. data/app/controllers/spree/addresses_controller.rb +24 -0
  21. data/app/controllers/spree/api/cities_controller.rb +33 -0
  22. data/app/controllers/spree/user_registrations_controller_decorator.rb +13 -0
  23. data/app/helpers/spree/api/api_helpers_decorator.rb +9 -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/solidus_br_common/install/install_generator.rb +31 -0
  88. data/lib/solidus_br_common/engine.rb +20 -0
  89. data/lib/solidus_br_common/factories/address_factory.rb +7 -0
  90. data/lib/solidus_br_common/factories/city_factory.rb +8 -0
  91. data/lib/solidus_br_common/factories/user_factory.rb +12 -0
  92. data/lib/solidus_br_common/factories.rb +3 -0
  93. data/lib/solidus_br_common.rb +2 -0
  94. data/solidus_br_common.gemspec +33 -0
  95. data/spec/controllers/spree/addresses_controller_spec.rb +27 -0
  96. data/spec/controllers/spree/api/cities_controller_spec.rb +91 -0
  97. data/spec/features/address_checkout_spec.rb +89 -0
  98. data/spec/features/user_account_spec.rb +46 -0
  99. data/spec/features/user_signup_spec.rb +24 -0
  100. 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
  101. data/spec/fixtures/vcr_cassettes/Checkout/visitor_makes_checkout_as_guest_without_registration/full_checkout/in_Brazil/should_autocomplete_zipcode.yml +46 -0
  102. data/spec/fixtures/vcr_cassettes/Spree_AddressesController/_show/does_not_find_an_incorrect_cep.yml +38 -0
  103. data/spec/fixtures/vcr_cassettes/Spree_AddressesController/_show/shows_the_correct_address.yml +46 -0
  104. data/spec/models/spree/address_spec.rb +32 -0
  105. data/spec/models/spree/city_spec.rb +7 -0
  106. data/spec/models/spree/user_spec.rb +88 -0
  107. data/spec/spec_helper.rb +61 -0
  108. data/spec/support/controller_hacks.rb +33 -0
  109. data/spec/support/database_cleaner.rb +24 -0
  110. data/spec/support/shared_context/checkout_setup.rb +9 -0
  111. data/spec/support/shoulda_matchers.rb +6 -0
  112. data/spec/support/vcr.rb +8 -0
  113. metadata +385 -0
@@ -0,0 +1,82 @@
1
+ espirito_santo = Spree::State.find_by! abbr: 'ES'
2
+
3
+ Spree::City.create!([
4
+ {state: espirito_santo, ibge_code: 3202801, name: "Itapemirim"},
5
+ {state: espirito_santo, ibge_code: 3203304, name: "Mantenópolis"},
6
+ {state: espirito_santo, ibge_code: 3204054, name: "Pedro Canário"},
7
+ {state: espirito_santo, ibge_code: 3204559, name: "Santa Maria de Jetibá"},
8
+ {state: espirito_santo, ibge_code: 3201100, name: "Bom Jesus do Norte"},
9
+ {state: espirito_santo, ibge_code: 3203205, name: "Linhares"},
10
+ {state: espirito_santo, ibge_code: 3200706, name: "Atilio Vivacqua"},
11
+ {state: espirito_santo, ibge_code: 3201001, name: "Boa Esperança"},
12
+ {state: espirito_santo, ibge_code: 3200359, name: "Alto Rio Novo"},
13
+ {state: espirito_santo, ibge_code: 3204005, name: "Pancas"},
14
+ {state: espirito_santo, ibge_code: 3203601, name: "Mucurici"},
15
+ {state: espirito_santo, ibge_code: 3203056, name: "Jaguaré"},
16
+ {state: espirito_santo, ibge_code: 3202207, name: "Fundão"},
17
+ {state: espirito_santo, ibge_code: 3204351, name: "Rio Bananal"},
18
+ {state: espirito_santo, ibge_code: 3203320, name: "Marataízes"},
19
+ {state: espirito_santo, ibge_code: 3204302, name: "Presidente Kennedy"},
20
+ {state: espirito_santo, ibge_code: 3200169, name: "Água Doce do Norte"},
21
+ {state: espirito_santo, ibge_code: 3200904, name: "Barra de São Francisco"},
22
+ {state: espirito_santo, ibge_code: 3202108, name: "Ecoporanga"},
23
+ {state: espirito_santo, ibge_code: 3200136, name: "Águia Branca"},
24
+ {state: espirito_santo, ibge_code: 3203908, name: "Nova Venécia"},
25
+ {state: espirito_santo, ibge_code: 3204708, name: "São Gabriel da Palha"},
26
+ {state: espirito_santo, ibge_code: 3205150, name: "Vila Pavão"},
27
+ {state: espirito_santo, ibge_code: 3205176, name: "Vila Valério"},
28
+ {state: espirito_santo, ibge_code: 3200805, name: "Baixo Guandu"},
29
+ {state: espirito_santo, ibge_code: 3201506, name: "Colatina"},
30
+ {state: espirito_santo, ibge_code: 3202256, name: "Governador Lindenberg"},
31
+ {state: espirito_santo, ibge_code: 3203353, name: "Marilândia"},
32
+ {state: espirito_santo, ibge_code: 3204658, name: "São Domingos do Norte"},
33
+ {state: espirito_santo, ibge_code: 3203502, name: "Montanha"},
34
+ {state: espirito_santo, ibge_code: 3204104, name: "Pinheiros"},
35
+ {state: espirito_santo, ibge_code: 3204252, name: "Ponto Belo"},
36
+ {state: espirito_santo, ibge_code: 3201605, name: "Conceição da Barra"},
37
+ {state: espirito_santo, ibge_code: 3204906, name: "São Mateus"},
38
+ {state: espirito_santo, ibge_code: 3200607, name: "Aracruz"},
39
+ {state: espirito_santo, ibge_code: 3202504, name: "Ibiraçu"},
40
+ {state: espirito_santo, ibge_code: 3203130, name: "João Neiva"},
41
+ {state: espirito_santo, ibge_code: 3205010, name: "Sooretama"},
42
+ {state: espirito_santo, ibge_code: 3200102, name: "Afonso Cláudio"},
43
+ {state: espirito_santo, ibge_code: 3201159, name: "Brejetuba"},
44
+ {state: espirito_santo, ibge_code: 3201902, name: "Domingos Martins"},
45
+ {state: espirito_santo, ibge_code: 3203163, name: "Laranja da Terra"},
46
+ {state: espirito_santo, ibge_code: 3203346, name: "Marechal Floriano"},
47
+ {state: espirito_santo, ibge_code: 3205069, name: "Venda Nova do Imigrante"},
48
+ {state: espirito_santo, ibge_code: 3202702, name: "Itaguaçu"},
49
+ {state: espirito_santo, ibge_code: 3202900, name: "Itarana"},
50
+ {state: espirito_santo, ibge_code: 3204609, name: "Santa Teresa"},
51
+ {state: espirito_santo, ibge_code: 3204955, name: "São Roque do Canaã"},
52
+ {state: espirito_santo, ibge_code: 3201308, name: "Cariacica"},
53
+ {state: espirito_santo, ibge_code: 3205101, name: "Viana"},
54
+ {state: espirito_santo, ibge_code: 3205200, name: "Vila Velha"},
55
+ {state: espirito_santo, ibge_code: 3205309, name: "Vitória"},
56
+ {state: espirito_santo, ibge_code: 3200409, name: "Anchieta"},
57
+ {state: espirito_santo, ibge_code: 3202405, name: "Guarapari"},
58
+ {state: espirito_santo, ibge_code: 3202603, name: "Iconha"},
59
+ {state: espirito_santo, ibge_code: 3204203, name: "Piúma"},
60
+ {state: espirito_santo, ibge_code: 3200201, name: "Alegre"},
61
+ {state: espirito_santo, ibge_code: 3201803, name: "Divino de São Lourenço"},
62
+ {state: espirito_santo, ibge_code: 3202009, name: "Dores do Rio Preto"},
63
+ {state: espirito_santo, ibge_code: 3202306, name: "Guaçuí"},
64
+ {state: espirito_santo, ibge_code: 3202553, name: "Ibitirama"},
65
+ {state: espirito_santo, ibge_code: 3202652, name: "Irupi"},
66
+ {state: espirito_santo, ibge_code: 3203007, name: "Iúna"},
67
+ {state: espirito_santo, ibge_code: 3200508, name: "Apiacá"},
68
+ {state: espirito_santo, ibge_code: 3201407, name: "Castelo"},
69
+ {state: espirito_santo, ibge_code: 3203106, name: "Jerônimo Monteiro"},
70
+ {state: espirito_santo, ibge_code: 3203403, name: "Mimoso do Sul"},
71
+ {state: espirito_santo, ibge_code: 3203809, name: "Muqui"},
72
+ {state: espirito_santo, ibge_code: 3204807, name: "São José do Calçado"},
73
+ {state: espirito_santo, ibge_code: 3205036, name: "Vargem Alta"},
74
+ {state: espirito_santo, ibge_code: 3201704, name: "Conceição do Castelo"},
75
+ {state: espirito_santo, ibge_code: 3204500, name: "Santa Leopoldina"},
76
+ {state: espirito_santo, ibge_code: 3205002, name: "Serra"},
77
+ {state: espirito_santo, ibge_code: 3200300, name: "Alfredo Chaves"},
78
+ {state: espirito_santo, ibge_code: 3204401, name: "Rio Novo do Sul"},
79
+ {state: espirito_santo, ibge_code: 3202454, name: "Ibatiba"},
80
+ {state: espirito_santo, ibge_code: 3203700, name: "Muniz Freire"},
81
+ {state: espirito_santo, ibge_code: 3201209, name: "Cachoeiro de Itapemirim"}
82
+ ])
@@ -0,0 +1,250 @@
1
+ goias = Spree::State.find_by! abbr: 'GO'
2
+
3
+ Spree::City.create!([
4
+ {state: goias, ibge_code: 5211206, name: "Itapuranga"},
5
+ {state: goias, ibge_code: 5206800, name: "Damolândia"},
6
+ {state: goias, ibge_code: 5207600, name: "Fazenda Nova"},
7
+ {state: goias, ibge_code: 5219100, name: "Santa Bárbara de Goiás"},
8
+ {state: goias, ibge_code: 5209903, name: "Iaciara"},
9
+ {state: goias, ibge_code: 5208004, name: "Formosa"},
10
+ {state: goias, ibge_code: 5207253, name: "Doverlândia"},
11
+ {state: goias, ibge_code: 5209952, name: "Indiara"},
12
+ {state: goias, ibge_code: 5209937, name: "Inaciolândia"},
13
+ {state: goias, ibge_code: 5220603, name: "Silvânia"},
14
+ {state: goias, ibge_code: 5221577, name: "Uirapuru"},
15
+ {state: goias, ibge_code: 5218003, name: "Porangatu"},
16
+ {state: goias, ibge_code: 5220280, name: "São Patrício"},
17
+ {state: goias, ibge_code: 5220108, name: "São Luís de Montes Belos"},
18
+ {state: goias, ibge_code: 5213756, name: "Montividiu"},
19
+ {state: goias, ibge_code: 5218391, name: "Professor Jamil"},
20
+ {state: goias, ibge_code: 5210158, name: "Ipiranga de Goiás"},
21
+ {state: goias, ibge_code: 5214861, name: "Nova Glória"},
22
+ {state: goias, ibge_code: 5219357, name: "Santa Isabel"},
23
+ {state: goias, ibge_code: 5201108, name: "Anápolis"},
24
+ {state: goias, ibge_code: 5205208, name: "Caturaí"},
25
+ {state: goias, ibge_code: 5210406, name: "Itaberaí"},
26
+ {state: goias, ibge_code: 5211800, name: "Jaraguá"},
27
+ {state: goias, ibge_code: 5216809, name: "Petrolina de Goiás"},
28
+ {state: goias, ibge_code: 5204201, name: "Cachoeira de Goiás"},
29
+ {state: goias, ibge_code: 5212006, name: "Jaupaci"},
30
+ {state: goias, ibge_code: 5200852, name: "Americano do Brasil"},
31
+ {state: goias, ibge_code: 5213905, name: "Mossâmedes"},
32
+ {state: goias, ibge_code: 5221502, name: "Turvânia"},
33
+ {state: goias, ibge_code: 5203302, name: "Bela Vista de Goiás"},
34
+ {state: goias, ibge_code: 5209200, name: "Guapó"},
35
+ {state: goias, ibge_code: 5214507, name: "Nerópolis"},
36
+ {state: goias, ibge_code: 5221403, name: "Trindade"},
37
+ {state: goias, ibge_code: 5207907, name: "Flores de Goiás"},
38
+ {state: goias, ibge_code: 5219803, name: "São Domingos"},
39
+ {state: goias, ibge_code: 5200175, name: "Água Fria de Goiás"},
40
+ {state: goias, ibge_code: 5205802, name: "Corumbá de Goiás"},
41
+ {state: goias, ibge_code: 5215231, name: "Novo Gama"},
42
+ {state: goias, ibge_code: 5221858, name: "Valparaíso de Goiás"},
43
+ {state: goias, ibge_code: 5204409, name: "Caiapônia"},
44
+ {state: goias, ibge_code: 5213004, name: "Maurilândia"},
45
+ {state: goias, ibge_code: 5216452, name: "Perolândia"},
46
+ {state: goias, ibge_code: 5219407, name: "Santa Rita do Araguaia"},
47
+ {state: goias, ibge_code: 5207402, name: "Edéia"},
48
+ {state: goias, ibge_code: 5215702, name: "Palmeiras de Goiás"},
49
+ {state: goias, ibge_code: 5200209, name: "Água Limpa"},
50
+ {state: goias, ibge_code: 5204508, name: "Caldas Novas"},
51
+ {state: goias, ibge_code: 5211503, name: "Itumbiara"},
52
+ {state: goias, ibge_code: 5216007, name: "Panamá"},
53
+ {state: goias, ibge_code: 5218052, name: "Porteirão"},
54
+ {state: goias, ibge_code: 5206305, name: "Cristianópolis"},
55
+ {state: goias, ibge_code: 5219209, name: "Santa Cruz de Goiás"},
56
+ {state: goias, ibge_code: 5204805, name: "Campo Alegre de Goiás"},
57
+ {state: goias, ibge_code: 5210109, name: "Ipameri"},
58
+ {state: goias, ibge_code: 5215652, name: "Palestina de Goiás"},
59
+ {state: goias, ibge_code: 5218102, name: "Portelândia"},
60
+ {state: goias, ibge_code: 5218805, name: "Rio Verde"},
61
+ {state: goias, ibge_code: 5219308, name: "Santa Helena de Goiás"},
62
+ {state: goias, ibge_code: 5219712, name: "Santo Antônio da Barra"},
63
+ {state: goias, ibge_code: 5220504, name: "Serranópolis"},
64
+ {state: goias, ibge_code: 5200134, name: "Acreúna"},
65
+ {state: goias, ibge_code: 5204607, name: "Campestre de Goiás"},
66
+ {state: goias, ibge_code: 5205455, name: "Cezarina"},
67
+ {state: goias, ibge_code: 5207352, name: "Edealina"},
68
+ {state: goias, ibge_code: 5211701, name: "Jandaia"},
69
+ {state: goias, ibge_code: 5215900, name: "Palminópolis"},
70
+ {state: goias, ibge_code: 5216403, name: "Paraúna"},
71
+ {state: goias, ibge_code: 5220058, name: "São João da Paraúna"},
72
+ {state: goias, ibge_code: 5221551, name: "Turvelândia"},
73
+ {state: goias, ibge_code: 5221908, name: "Varjão"},
74
+ {state: goias, ibge_code: 5200506, name: "Aloândia"},
75
+ {state: goias, ibge_code: 5203500, name: "Bom Jesus de Goiás"},
76
+ {state: goias, ibge_code: 5203906, name: "Buriti Alegre"},
77
+ {state: goias, ibge_code: 5204250, name: "Cachoeira Dourada"},
78
+ {state: goias, ibge_code: 5206503, name: "Cromínia"},
79
+ {state: goias, ibge_code: 5209101, name: "Goiatuba"},
80
+ {state: goias, ibge_code: 5212105, name: "Joviânia"},
81
+ {state: goias, ibge_code: 5212600, name: "Mairipotaba"},
82
+ {state: goias, ibge_code: 5212907, name: "Marzagão"},
83
+ {state: goias, ibge_code: 5213806, name: "Morrinhos"},
84
+ {state: goias, ibge_code: 5217104, name: "Piracanjuba"},
85
+ {state: goias, ibge_code: 5217708, name: "Pontalina"},
86
+ {state: goias, ibge_code: 5218789, name: "Rio Quente"},
87
+ {state: goias, ibge_code: 5222054, name: "Vicentinópolis"},
88
+ {state: goias, ibge_code: 5208152, name: "Gameleira de Goiás"},
89
+ {state: goias, ibge_code: 5215306, name: "Orizona"},
90
+ {state: goias, ibge_code: 5215801, name: "Palmelo"},
91
+ {state: goias, ibge_code: 5217401, name: "Pires do Rio"},
92
+ {state: goias, ibge_code: 5220264, name: "São Miguel do Passa Quatro"},
93
+ {state: goias, ibge_code: 5221809, name: "Urutaí"},
94
+ {state: goias, ibge_code: 5222005, name: "Vianópolis"},
95
+ {state: goias, ibge_code: 5201207, name: "Anhanguera"},
96
+ {state: goias, ibge_code: 5205109, name: "Catalão"},
97
+ {state: goias, ibge_code: 5205901, name: "Corumbaíba"},
98
+ {state: goias, ibge_code: 5206602, name: "Cumari"},
99
+ {state: goias, ibge_code: 5206909, name: "Davinópolis"},
100
+ {state: goias, ibge_code: 5208509, name: "Goiandira"},
101
+ {state: goias, ibge_code: 5214804, name: "Nova Aurora"},
102
+ {state: goias, ibge_code: 5215504, name: "Ouvidor"},
103
+ {state: goias, ibge_code: 5221304, name: "Três Ranchos"},
104
+ {state: goias, ibge_code: 5204102, name: "Cachoeira Alta"},
105
+ {state: goias, ibge_code: 5204300, name: "Caçu"},
106
+ {state: goias, ibge_code: 5209150, name: "Gouvelândia"},
107
+ {state: goias, ibge_code: 5210802, name: "Itajá"},
108
+ {state: goias, ibge_code: 5211305, name: "Itarumã"},
109
+ {state: goias, ibge_code: 5212253, name: "Lagoa Santa"},
110
+ {state: goias, ibge_code: 5216304, name: "Paranaiguara"},
111
+ {state: goias, ibge_code: 5218508, name: "Quirinópolis"},
112
+ {state: goias, ibge_code: 5220405, name: "São Simão"},
113
+ {state: goias, ibge_code: 5206404, name: "Crixás"},
114
+ {state: goias, ibge_code: 5214002, name: "Mozarlândia"},
115
+ {state: goias, ibge_code: 5214051, name: "Mundo Novo"},
116
+ {state: goias, ibge_code: 5214838, name: "Nova Crixás"},
117
+ {state: goias, ibge_code: 5215256, name: "Novo Planalto"},
118
+ {state: goias, ibge_code: 5202502, name: "Aruanã"},
119
+ {state: goias, ibge_code: 5207105, name: "Diorama"},
120
+ {state: goias, ibge_code: 5213087, name: "Minaçu"},
121
+ {state: goias, ibge_code: 5205307, name: "Cavalcante"},
122
+ {state: goias, ibge_code: 5212055, name: "Jesúpolis"},
123
+ {state: goias, ibge_code: 5215009, name: "Nova Veneza"},
124
+ {state: goias, ibge_code: 5215405, name: "Ouro Verde de Goiás"},
125
+ {state: goias, ibge_code: 5219506, name: "Santa Rosa de Goiás"},
126
+ {state: goias, ibge_code: 5219902, name: "São Francisco de Goiás"},
127
+ {state: goias, ibge_code: 5221007, name: "Taquaral de Goiás"},
128
+ {state: goias, ibge_code: 5200902, name: "Amorinópolis"},
129
+ {state: goias, ibge_code: 5205703, name: "Córrego do Ouro"},
130
+ {state: goias, ibge_code: 5210208, name: "Iporá"},
131
+ {state: goias, ibge_code: 5210307, name: "Israelândia"},
132
+ {state: goias, ibge_code: 5211602, name: "Ivolândia"},
133
+ {state: goias, ibge_code: 5213400, name: "Moiporá"},
134
+ {state: goias, ibge_code: 5215207, name: "Novo Brasil"},
135
+ {state: goias, ibge_code: 5200159, name: "Adelândia"},
136
+ {state: goias, ibge_code: 5201306, name: "Anicuns"},
137
+ {state: goias, ibge_code: 5202601, name: "Aurilândia"},
138
+ {state: goias, ibge_code: 5202809, name: "Avelinópolis"},
139
+ {state: goias, ibge_code: 5203939, name: "Buriti de Goiás"},
140
+ {state: goias, ibge_code: 5207808, name: "Firminópolis"},
141
+ {state: goias, ibge_code: 5214408, name: "Nazário"},
142
+ {state: goias, ibge_code: 5219001, name: "Sanclerlândia"},
143
+ {state: goias, ibge_code: 5200050, name: "Abadia de Goiás"},
144
+ {state: goias, ibge_code: 5201405, name: "Aparecida de Goiânia"},
145
+ {state: goias, ibge_code: 5201801, name: "Aragoiânia"},
146
+ {state: goias, ibge_code: 5203559, name: "Bonfinópolis"},
147
+ {state: goias, ibge_code: 5204557, name: "Caldazinha"},
148
+ {state: goias, ibge_code: 5208400, name: "Goianápolis"},
149
+ {state: goias, ibge_code: 5208707, name: "Goiânia"},
150
+ {state: goias, ibge_code: 5208806, name: "Goianira"},
151
+ {state: goias, ibge_code: 5209705, name: "Hidrolândia"},
152
+ {state: goias, ibge_code: 5212303, name: "Leopoldo de Bulhões"},
153
+ {state: goias, ibge_code: 5219738, name: "Santo Antônio de Goiás"},
154
+ {state: goias, ibge_code: 5220454, name: "Senador Canedo"},
155
+ {state: goias, ibge_code: 5221197, name: "Terezópolis de Goiás"},
156
+ {state: goias, ibge_code: 5200803, name: "Alvorada do Norte"},
157
+ {state: goias, ibge_code: 5203962, name: "Buritinópolis"},
158
+ {state: goias, ibge_code: 5206701, name: "Damianópolis"},
159
+ {state: goias, ibge_code: 5208301, name: "Divinópolis de Goiás"},
160
+ {state: goias, ibge_code: 5209408, name: "Guarani de Goiás"},
161
+ {state: goias, ibge_code: 5212709, name: "Mambaí"},
162
+ {state: goias, ibge_code: 5218300, name: "Posse"},
163
+ {state: goias, ibge_code: 5220686, name: "Simolândia"},
164
+ {state: goias, ibge_code: 5220702, name: "Sítio d'Abadia"},
165
+ {state: goias, ibge_code: 5200100, name: "Abadiânia"},
166
+ {state: goias, ibge_code: 5200258, name: "Águas Lindas de Goiás"},
167
+ {state: goias, ibge_code: 5200308, name: "Alexânia"},
168
+ {state: goias, ibge_code: 5204003, name: "Cabeceiras"},
169
+ {state: goias, ibge_code: 5205497, name: "Cidade Ocidental"},
170
+ {state: goias, ibge_code: 5205513, name: "Cocalzinho de Goiás"},
171
+ {state: goias, ibge_code: 5206206, name: "Cristalina"},
172
+ {state: goias, ibge_code: 5212501, name: "Luziânia"},
173
+ {state: goias, ibge_code: 5213053, name: "Mimoso de Goiás"},
174
+ {state: goias, ibge_code: 5215603, name: "Padre Bernardo"},
175
+ {state: goias, ibge_code: 5217302, name: "Pirenópolis"},
176
+ {state: goias, ibge_code: 5217609, name: "Planaltina"},
177
+ {state: goias, ibge_code: 5219753, name: "Santo Antônio do Descoberto"},
178
+ {state: goias, ibge_code: 5222203, name: "Vila Boa"},
179
+ {state: goias, ibge_code: 5222302, name: "Vila Propício"},
180
+ {state: goias, ibge_code: 5201454, name: "Aparecida do Rio Doce"},
181
+ {state: goias, ibge_code: 5201504, name: "Aporé"},
182
+ {state: goias, ibge_code: 5205059, name: "Castelândia"},
183
+ {state: goias, ibge_code: 5205471, name: "Chapadão do Céu"},
184
+ {state: goias, ibge_code: 5211909, name: "Jataí"},
185
+ {state: goias, ibge_code: 5213103, name: "Mineiros"},
186
+ {state: goias, ibge_code: 5220207, name: "São Miguel do Araguaia"},
187
+ {state: goias, ibge_code: 5202155, name: "Araguapaz"},
188
+ {state: goias, ibge_code: 5203807, name: "Britânia"},
189
+ {state: goias, ibge_code: 5207535, name: "Faina"},
190
+ {state: goias, ibge_code: 5208905, name: "Goiás"},
191
+ {state: goias, ibge_code: 5211008, name: "Itapirapuã"},
192
+ {state: goias, ibge_code: 5212204, name: "Jussara"},
193
+ {state: goias, ibge_code: 5212956, name: "Matrinchã"},
194
+ {state: goias, ibge_code: 5219258, name: "Santa Fé de Goiás"},
195
+ {state: goias, ibge_code: 5201702, name: "Aragarças"},
196
+ {state: goias, ibge_code: 5202353, name: "Arenópolis"},
197
+ {state: goias, ibge_code: 5203104, name: "Baliza"},
198
+ {state: goias, ibge_code: 5203401, name: "Bom Jardim de Goiás"},
199
+ {state: goias, ibge_code: 5213707, name: "Montes Claros de Goiás"},
200
+ {state: goias, ibge_code: 5217203, name: "Piranhas"},
201
+ {state: goias, ibge_code: 5200555, name: "Alto Horizonte"},
202
+ {state: goias, ibge_code: 5200829, name: "Amaralina"},
203
+ {state: goias, ibge_code: 5203575, name: "Bonópolis"},
204
+ {state: goias, ibge_code: 5204656, name: "Campinaçu"},
205
+ {state: goias, ibge_code: 5204706, name: "Campinorte"},
206
+ {state: goias, ibge_code: 5204953, name: "Campos Verdes"},
207
+ {state: goias, ibge_code: 5207501, name: "Estrela do Norte"},
208
+ {state: goias, ibge_code: 5208103, name: "Formoso"},
209
+ {state: goias, ibge_code: 5212808, name: "Mara Rosa"},
210
+ {state: goias, ibge_code: 5213772, name: "Montividiu do Norte"},
211
+ {state: goias, ibge_code: 5214101, name: "Mutunópolis"},
212
+ {state: goias, ibge_code: 5214606, name: "Niquelândia"},
213
+ {state: goias, ibge_code: 5214879, name: "Nova Iguaçu de Goiás"},
214
+ {state: goias, ibge_code: 5219605, name: "Santa Tereza de Goiás"},
215
+ {state: goias, ibge_code: 5219704, name: "Santa Terezinha de Goiás"},
216
+ {state: goias, ibge_code: 5221452, name: "Trombas"},
217
+ {state: goias, ibge_code: 5221601, name: "Uruaçu"},
218
+ {state: goias, ibge_code: 5200605, name: "Alto Paraíso de Goiás"},
219
+ {state: goias, ibge_code: 5204904, name: "Campos Belos"},
220
+ {state: goias, ibge_code: 5205521, name: "Colinas do Sul"},
221
+ {state: goias, ibge_code: 5213509, name: "Monte Alegre de Goiás"},
222
+ {state: goias, ibge_code: 5214903, name: "Nova Roma"},
223
+ {state: goias, ibge_code: 5220009, name: "São João d'Aliança"},
224
+ {state: goias, ibge_code: 5221080, name: "Teresina de Goiás"},
225
+ {state: goias, ibge_code: 5203203, name: "Barro Alto"},
226
+ {state: goias, ibge_code: 5205000, name: "Carmo do Rio Verde"},
227
+ {state: goias, ibge_code: 5205406, name: "Ceres"},
228
+ {state: goias, ibge_code: 5208608, name: "Goianésia"},
229
+ {state: goias, ibge_code: 5209291, name: "Guaraíta"},
230
+ {state: goias, ibge_code: 5209457, name: "Guarinos"},
231
+ {state: goias, ibge_code: 5209804, name: "Hidrolina"},
232
+ {state: goias, ibge_code: 5210901, name: "Itapaci"},
233
+ {state: goias, ibge_code: 5213855, name: "Morro Agudo de Goiás"},
234
+ {state: goias, ibge_code: 5214705, name: "Nova América"},
235
+ {state: goias, ibge_code: 5216908, name: "Pilar de Goiás"},
236
+ {state: goias, ibge_code: 5218607, name: "Rialma"},
237
+ {state: goias, ibge_code: 5218706, name: "Rianápolis"},
238
+ {state: goias, ibge_code: 5218904, name: "Rubiataba"},
239
+ {state: goias, ibge_code: 5219456, name: "Santa Rita do Novo Destino"},
240
+ {state: goias, ibge_code: 5220157, name: "São Luíz do Norte"},
241
+ {state: goias, ibge_code: 5221700, name: "Uruana"},
242
+ {state: goias, ibge_code: 5201603, name: "Araçu"},
243
+ {state: goias, ibge_code: 5203609, name: "Brazabrantes"},
244
+ {state: goias, ibge_code: 5204854, name: "Campo Limpo de Goiás"},
245
+ {state: goias, ibge_code: 5209606, name: "Heitoraí"},
246
+ {state: goias, ibge_code: 5210000, name: "Inhumas"},
247
+ {state: goias, ibge_code: 5210562, name: "Itaguari"},
248
+ {state: goias, ibge_code: 5210604, name: "Itaguaru"},
249
+ {state: goias, ibge_code: 5211404, name: "Itauçu"}
250
+ ])
@@ -0,0 +1,221 @@
1
+ maranhao = Spree::State.find_by! abbr: 'MA'
2
+
3
+ Spree::City.create!([
4
+ {state: maranhao, ibge_code: 2106631, name: "Matões do Norte"},
5
+ {state: maranhao, ibge_code: 2106755, name: "Miranda do Norte"},
6
+ {state: maranhao, ibge_code: 2107209, name: "Nina Rodrigues"},
7
+ {state: maranhao, ibge_code: 2108801, name: "Pirapemas"},
8
+ {state: maranhao, ibge_code: 2109304, name: "Presidente Vargas"},
9
+ {state: maranhao, ibge_code: 2112704, name: "Vargem Grande"},
10
+ {state: maranhao, ibge_code: 2100550, name: "Amapá do Maranhão"},
11
+ {state: maranhao, ibge_code: 2102606, name: "Cândido Mendes"},
12
+ {state: maranhao, ibge_code: 2102903, name: "Carutapera"},
13
+ {state: maranhao, ibge_code: 2103158, name: "Centro do Guilherme"},
14
+ {state: maranhao, ibge_code: 2103174, name: "Centro Novo do Maranhão"},
15
+ {state: maranhao, ibge_code: 2104305, name: "Godofredo Viana"},
16
+ {state: maranhao, ibge_code: 2104677, name: "Governador Nunes Freire"},
17
+ {state: maranhao, ibge_code: 2105658, name: "Junco do Maranhão"},
18
+ {state: maranhao, ibge_code: 2106201, name: "Luís Domingues"},
19
+ {state: maranhao, ibge_code: 2106326, name: "Maracaçumé"},
20
+ {state: maranhao, ibge_code: 2106375, name: "Maranhãozinho"},
21
+ {state: maranhao, ibge_code: 2112407, name: "Turiaçu"},
22
+ {state: maranhao, ibge_code: 2112456, name: "Turilândia"},
23
+ {state: maranhao, ibge_code: 2100402, name: "Altamira do Maranhão"},
24
+ {state: maranhao, ibge_code: 2100477, name: "Alto Alegre do Pindaré"},
25
+ {state: maranhao, ibge_code: 2100873, name: "Araguanã"},
26
+ {state: maranhao, ibge_code: 2102002, name: "Bom Jardim"},
27
+ {state: maranhao, ibge_code: 2102036, name: "Bom Jesus das Selvas"},
28
+ {state: maranhao, ibge_code: 2102150, name: "Brejo de Areia"},
29
+ {state: maranhao, ibge_code: 2111722, name: "Satubinha"},
30
+ {state: maranhao, ibge_code: 2112233, name: "Trizidela do Vale"},
31
+ {state: maranhao, ibge_code: 2100956, name: "Arame"},
32
+ {state: maranhao, ibge_code: 2101608, name: "Barra do Corda"},
33
+ {state: maranhao, ibge_code: 2104099, name: "Formosa da Serra Negra"},
34
+ {state: maranhao, ibge_code: 2104800, name: "Grajaú"},
35
+ {state: maranhao, ibge_code: 2105351, name: "Itaipava do Grajaú"},
36
+ {state: maranhao, ibge_code: 2105476, name: "Jenipapo dos Vieiras"},
37
+ {state: maranhao, ibge_code: 2109759, name: "Santa Filomena do Maranhão"},
38
+ {state: maranhao, ibge_code: 2111805, name: "Sítio Novo"},
39
+ {state: maranhao, ibge_code: 2112308, name: "Tuntum"},
40
+ {state: maranhao, ibge_code: 2104206, name: "Fortuna"},
41
+ {state: maranhao, ibge_code: 2104404, name: "Gonçalves Dias"},
42
+ {state: maranhao, ibge_code: 2104503, name: "Governador Archer"},
43
+ {state: maranhao, ibge_code: 2104602, name: "Governador Eugênio Barros"},
44
+ {state: maranhao, ibge_code: 2104701, name: "Graça Aranha"},
45
+ {state: maranhao, ibge_code: 2109106, name: "Presidente Dutra"},
46
+ {state: maranhao, ibge_code: 2110708, name: "São Domingos do Maranhão"},
47
+ {state: maranhao, ibge_code: 2111250, name: "São José dos Basílios"},
48
+ {state: maranhao, ibge_code: 2111748, name: "Senador Alexandre Costa"},
49
+ {state: maranhao, ibge_code: 2100907, name: "Araioses"},
50
+ {state: maranhao, ibge_code: 2110237, name: "Santana do Maranhão"},
51
+ {state: maranhao, ibge_code: 2110609, name: "São Bernardo"},
52
+ {state: maranhao, ibge_code: 2101731, name: "Belágua"},
53
+ {state: maranhao, ibge_code: 2102101, name: "Brejo"},
54
+ {state: maranhao, ibge_code: 2100204, name: "Alcântara"},
55
+ {state: maranhao, ibge_code: 2101301, name: "Bacuri"},
56
+ {state: maranhao, ibge_code: 2101350, name: "Bacurituba"},
57
+ {state: maranhao, ibge_code: 2103109, name: "Cedral"},
58
+ {state: maranhao, ibge_code: 2103125, name: "Central do Maranhão"},
59
+ {state: maranhao, ibge_code: 2103703, name: "Cururupu"},
60
+ {state: maranhao, ibge_code: 2106805, name: "Mirinzal"},
61
+ {state: maranhao, ibge_code: 2109056, name: "Porto Rico do Maranhão"},
62
+ {state: maranhao, ibge_code: 2111789, name: "Serrano do Maranhão"},
63
+ {state: maranhao, ibge_code: 2109452, name: "Raposa"},
64
+ {state: maranhao, ibge_code: 2111201, name: "São José de Ribamar"},
65
+ {state: maranhao, ibge_code: 2111300, name: "São Luís"},
66
+ {state: maranhao, ibge_code: 2101103, name: "Axixá"},
67
+ {state: maranhao, ibge_code: 2102374, name: "Cachoeira Grande"},
68
+ {state: maranhao, ibge_code: 2105104, name: "Icatu"},
69
+ {state: maranhao, ibge_code: 2109601, name: "Rosário"},
70
+ {state: maranhao, ibge_code: 2110203, name: "Santa Rita"},
71
+ {state: maranhao, ibge_code: 2105005, name: "Humberto de Campos"},
72
+ {state: maranhao, ibge_code: 2108058, name: "Paulino Neves"},
73
+ {state: maranhao, ibge_code: 2110278, name: "Santo Amaro do Maranhão"},
74
+ {state: maranhao, ibge_code: 2112506, name: "Tutóia"},
75
+ {state: maranhao, ibge_code: 2100709, name: "Anajatuba"},
76
+ {state: maranhao, ibge_code: 2101004, name: "Arari"},
77
+ {state: maranhao, ibge_code: 2102507, name: "Cajari"},
78
+ {state: maranhao, ibge_code: 2103554, name: "Conceição do Lago-Açu"},
79
+ {state: maranhao, ibge_code: 2106508, name: "Matinha"},
80
+ {state: maranhao, ibge_code: 2106904, name: "Monção"},
81
+ {state: maranhao, ibge_code: 2107456, name: "Olinda Nova do Maranhão"},
82
+ {state: maranhao, ibge_code: 2108256, name: "Pedro do Rosário"},
83
+ {state: maranhao, ibge_code: 2108306, name: "Penalva"},
84
+ {state: maranhao, ibge_code: 2108405, name: "Peri Mirim"},
85
+ {state: maranhao, ibge_code: 2108603, name: "Pinheiro"},
86
+ {state: maranhao, ibge_code: 2109270, name: "Presidente Sarney"},
87
+ {state: maranhao, ibge_code: 2109809, name: "Santa Helena"},
88
+ {state: maranhao, ibge_code: 2110500, name: "São Bento"},
89
+ {state: maranhao, ibge_code: 2111706, name: "São Vicente Ferrer"},
90
+ {state: maranhao, ibge_code: 2112902, name: "Vitória do Mearim"},
91
+ {state: maranhao, ibge_code: 2102705, name: "Cantanhede"},
92
+ {state: maranhao, ibge_code: 2105401, name: "Itapecuru Mirim"},
93
+ {state: maranhao, ibge_code: 2107803, name: "Parnarama"},
94
+ {state: maranhao, ibge_code: 2111078, name: "São João do Soter"},
95
+ {state: maranhao, ibge_code: 2101509, name: "Barão de Grajaú"},
96
+ {state: maranhao, ibge_code: 2103505, name: "Colinas"},
97
+ {state: maranhao, ibge_code: 2105922, name: "Lagoa do Mato"},
98
+ {state: maranhao, ibge_code: 2106706, name: "Mirador"},
99
+ {state: maranhao, ibge_code: 2107308, name: "Nova Iorque"},
100
+ {state: maranhao, ibge_code: 2107902, name: "Passagem Franca"},
101
+ {state: maranhao, ibge_code: 2108009, name: "Pastos Bons"},
102
+ {state: maranhao, ibge_code: 2110906, name: "São Francisco do Maranhão"},
103
+ {state: maranhao, ibge_code: 2111904, name: "Sucupira do Norte"},
104
+ {state: maranhao, ibge_code: 2111953, name: "Sucupira do Riachão"},
105
+ {state: maranhao, ibge_code: 2102556, name: "Campestre do Maranhão"},
106
+ {state: maranhao, ibge_code: 2104057, name: "Estreito"},
107
+ {state: maranhao, ibge_code: 2111052, name: "São João do Paraíso"},
108
+ {state: maranhao, ibge_code: 2111573, name: "São Pedro dos Crentes"},
109
+ {state: maranhao, ibge_code: 2100501, name: "Alto Parnaíba"},
110
+ {state: maranhao, ibge_code: 2104073, name: "Feira Nova do Maranhão"},
111
+ {state: maranhao, ibge_code: 2109502, name: "Riachão"},
112
+ {state: maranhao, ibge_code: 2112001, name: "Tasso Fragoso"},
113
+ {state: maranhao, ibge_code: 2104107, name: "Fortaleza dos Nogueiras"},
114
+ {state: maranhao, ibge_code: 2106102, name: "Loreto"},
115
+ {state: maranhao, ibge_code: 2107258, name: "Nova Colinas"},
116
+ {state: maranhao, ibge_code: 2109700, name: "Sambaíba"},
117
+ {state: maranhao, ibge_code: 2110807, name: "São Félix de Balsas"},
118
+ {state: maranhao, ibge_code: 2104651, name: "Governador Newton Bello"},
119
+ {state: maranhao, ibge_code: 2105708, name: "Lago da Pedra"},
120
+ {state: maranhao, ibge_code: 2105963, name: "Lagoa Grande do Maranhão"},
121
+ {state: maranhao, ibge_code: 2106359, name: "Marajá do Sena"},
122
+ {state: maranhao, ibge_code: 2107357, name: "Nova Olinda do Maranhão"},
123
+ {state: maranhao, ibge_code: 2108504, name: "Pindaré-Mirim"},
124
+ {state: maranhao, ibge_code: 2109239, name: "Presidente Médici"},
125
+ {state: maranhao, ibge_code: 2109908, name: "Santa Inês"},
126
+ {state: maranhao, ibge_code: 2110005, name: "Santa Luzia"},
127
+ {state: maranhao, ibge_code: 2110039, name: "Santa Luzia do Paruá"},
128
+ {state: maranhao, ibge_code: 2111029, name: "São João do Carú"},
129
+ {state: maranhao, ibge_code: 2112274, name: "Tufilândia"},
130
+ {state: maranhao, ibge_code: 2114007, name: "Zé Doca"},
131
+ {state: maranhao, ibge_code: 2100055, name: "Açailândia"},
132
+ {state: maranhao, ibge_code: 2100600, name: "Amarante do Maranhão"},
133
+ {state: maranhao, ibge_code: 2102358, name: "Buritirana"},
134
+ {state: maranhao, ibge_code: 2103257, name: "Cidelândia"},
135
+ {state: maranhao, ibge_code: 2103752, name: "Davinópolis"},
136
+ {state: maranhao, ibge_code: 2104552, name: "Governador Edison Lobão"},
137
+ {state: maranhao, ibge_code: 2105302, name: "Imperatriz"},
138
+ {state: maranhao, ibge_code: 2105427, name: "Itinga do Maranhão"},
139
+ {state: maranhao, ibge_code: 2105500, name: "João Lisboa"},
140
+ {state: maranhao, ibge_code: 2107001, name: "Montes Altos"},
141
+ {state: maranhao, ibge_code: 2109551, name: "Ribamar Fiquene"},
142
+ {state: maranhao, ibge_code: 2110856, name: "São Francisco do Brejão"},
143
+ {state: maranhao, ibge_code: 2111763, name: "Senador La Rocque"},
144
+ {state: maranhao, ibge_code: 2112852, name: "Vila Nova dos Martírios"},
145
+ {state: maranhao, ibge_code: 2101939, name: "Bernardo do Mearim"},
146
+ {state: maranhao, ibge_code: 2102077, name: "Bom Lugar"},
147
+ {state: maranhao, ibge_code: 2104008, name: "Esperantinópolis"},
148
+ {state: maranhao, ibge_code: 2105807, name: "Lago do Junco"},
149
+ {state: maranhao, ibge_code: 2105906, name: "Lago Verde"},
150
+ {state: maranhao, ibge_code: 2105948, name: "Lago dos Rodrigues"},
151
+ {state: maranhao, ibge_code: 2106003, name: "Lima Campos"},
152
+ {state: maranhao, ibge_code: 2108207, name: "Pedreiras"},
153
+ {state: maranhao, ibge_code: 2108900, name: "Poção de Pedras"},
154
+ {state: maranhao, ibge_code: 2110302, name: "Santo Antônio dos Lopes"},
155
+ {state: maranhao, ibge_code: 2111409, name: "São Luís Gonzaga do Maranhão"},
156
+ {state: maranhao, ibge_code: 2111672, name: "São Roberto"},
157
+ {state: maranhao, ibge_code: 2111102, name: "São João dos Patos"},
158
+ {state: maranhao, ibge_code: 2109007, name: "Porto Franco"},
159
+ {state: maranhao, ibge_code: 2101400, name: "Balsas"},
160
+ {state: maranhao, ibge_code: 2101806, name: "Benedito Leite"},
161
+ {state: maranhao, ibge_code: 2110658, name: "São Domingos do Azeitão"},
162
+ {state: maranhao, ibge_code: 2101905, name: "Bequimão"},
163
+ {state: maranhao, ibge_code: 2107100, name: "Morros"},
164
+ {state: maranhao, ibge_code: 2105153, name: "Igarapé do Meio"},
165
+ {state: maranhao, ibge_code: 2112803, name: "Viana"},
166
+ {state: maranhao, ibge_code: 2101970, name: "Boa Vista do Gurupi"},
167
+ {state: maranhao, ibge_code: 2102325, name: "Buriticupu"},
168
+ {state: maranhao, ibge_code: 2113009, name: "Vitorino Freire"},
169
+ {state: maranhao, ibge_code: 2101202, name: "Bacabal"},
170
+ {state: maranhao, ibge_code: 2111631, name: "São Raimundo do Doca Bezerra"},
171
+ {state: maranhao, ibge_code: 2106300, name: "Magalhães de Almeida"},
172
+ {state: maranhao, ibge_code: 2103901, name: "Duque Bacelar"},
173
+ {state: maranhao, ibge_code: 2102804, name: "Carolina"},
174
+ {state: maranhao, ibge_code: 2111607, name: "São Raimundo das Mangabeiras"},
175
+ {state: maranhao, ibge_code: 2101707, name: "Barreirinhas"},
176
+ {state: maranhao, ibge_code: 2111003, name: "São João Batista"},
177
+ {state: maranhao, ibge_code: 2108108, name: "Paulo Ramos"},
178
+ {state: maranhao, ibge_code: 2108702, name: "Pio XII"},
179
+ {state: maranhao, ibge_code: 2110104, name: "Santa Quitéria do Maranhão"},
180
+ {state: maranhao, ibge_code: 2100832, name: "Apicum-Açu"},
181
+ {state: maranhao, ibge_code: 2102408, name: "Cajapió"},
182
+ {state: maranhao, ibge_code: 2104909, name: "Guimarães"},
183
+ {state: maranhao, ibge_code: 2107506, name: "Paço do Lumiar"},
184
+ {state: maranhao, ibge_code: 2101251, name: "Bacabeira"},
185
+ {state: maranhao, ibge_code: 2109205, name: "Presidente Juscelino"},
186
+ {state: maranhao, ibge_code: 2109403, name: "Primeira Cruz"},
187
+ {state: maranhao, ibge_code: 2101772, name: "Bela Vista do Maranhão"},
188
+ {state: maranhao, ibge_code: 2107605, name: "Palmeirândia"},
189
+ {state: maranhao, ibge_code: 2105989, name: "Lajeado Novo"},
190
+ {state: maranhao, ibge_code: 2111532, name: "São Pedro da Água Branca"},
191
+ {state: maranhao, ibge_code: 2105203, name: "Igarapé Grande"},
192
+ {state: maranhao, ibge_code: 2107407, name: "Olho d'Água das Cunhãs"},
193
+ {state: maranhao, ibge_code: 2111508, name: "São Mateus do Maranhão"},
194
+ {state: maranhao, ibge_code: 2104081, name: "Fernando Falcão"},
195
+ {state: maranhao, ibge_code: 2105609, name: "Joselândia"},
196
+ {state: maranhao, ibge_code: 2103802, name: "Dom Pedro"},
197
+ {state: maranhao, ibge_code: 2104628, name: "Governador Luiz Rocha"},
198
+ {state: maranhao, ibge_code: 2100154, name: "Água Doce do Maranhão"},
199
+ {state: maranhao, ibge_code: 2100808, name: "Anapurus"},
200
+ {state: maranhao, ibge_code: 2103208, name: "Chapadinha"},
201
+ {state: maranhao, ibge_code: 2100436, name: "Alto Alegre do Maranhão"},
202
+ {state: maranhao, ibge_code: 2100105, name: "Afonso Cunha"},
203
+ {state: maranhao, ibge_code: 2103000, name: "Caxias"},
204
+ {state: maranhao, ibge_code: 2112209, name: "Timon"},
205
+ {state: maranhao, ibge_code: 2105450, name: "Jatobá"},
206
+ {state: maranhao, ibge_code: 2107704, name: "Paraibano"},
207
+ {state: maranhao, ibge_code: 2102200, name: "Buriti"},
208
+ {state: maranhao, ibge_code: 2106409, name: "Mata Roma"},
209
+ {state: maranhao, ibge_code: 2106672, name: "Milagres do Maranhão"},
210
+ {state: maranhao, ibge_code: 2110401, name: "São Benedito do Rio Preto"},
211
+ {state: maranhao, ibge_code: 2112605, name: "Urbano Santos"},
212
+ {state: maranhao, ibge_code: 2102754, name: "Capinzal do Norte"},
213
+ {state: maranhao, ibge_code: 2103307, name: "Codó"},
214
+ {state: maranhao, ibge_code: 2103604, name: "Coroatá"},
215
+ {state: maranhao, ibge_code: 2108454, name: "Peritoró"},
216
+ {state: maranhao, ibge_code: 2112100, name: "Timbiras"},
217
+ {state: maranhao, ibge_code: 2100303, name: "Aldeias Altas"},
218
+ {state: maranhao, ibge_code: 2103406, name: "Coelho Neto"},
219
+ {state: maranhao, ibge_code: 2102309, name: "Buriti Bravo"},
220
+ {state: maranhao, ibge_code: 2106607, name: "Matões"}
221
+ ])