addresses 0.0.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +9 -1
  3. data/app/controllers/addresses/cities_controller.rb +4 -4
  4. data/app/controllers/addresses/neighborhoods_controller.rb +4 -4
  5. data/app/models/addresses/address.rb +17 -17
  6. data/config/routes.rb +3 -4
  7. data/lib/addresses/engine.rb +4 -4
  8. data/lib/tasks/addresses_tasks.rake +4 -4
  9. data/lib/tasks/natal_city.rake +1 -1
  10. data/lib/tasks/populate_cities.rake +5566 -5566
  11. data/lib/tasks/populate_countries.rake +239 -239
  12. data/lib/tasks/populate_neighborhoods.rake +40819 -40819
  13. data/lib/tasks/populate_states.rake +28 -28
  14. data/spec/controllers/addresses/cities_controller_spec.rb +10 -19
  15. data/spec/controllers/addresses/neighborhoods_controller_spec.rb +11 -20
  16. data/spec/dummy/Gemfile.lock +77 -68
  17. data/spec/dummy/config/environments/test.rb +1 -1
  18. data/spec/dummy/db/schema.rb +12 -16
  19. data/spec/dummy/db/test.sqlite3 +0 -0
  20. data/spec/dummy/log/test.log +2 -735
  21. data/spec/factories/addresses.rb +12 -0
  22. data/spec/factories/{addresses_cities.rb → cities.rb} +3 -3
  23. data/spec/factories/countries.rb +8 -0
  24. data/spec/factories/neighborhoods.rb +8 -0
  25. data/spec/factories/states.rb +9 -0
  26. data/spec/models/addresses/address_spec.rb +17 -3
  27. data/spec/models/addresses/city_spec.rb +4 -3
  28. data/spec/models/addresses/country_spec.rb +3 -3
  29. data/spec/models/addresses/neighborhood_spec.rb +3 -3
  30. data/spec/models/addresses/state_spec.rb +4 -3
  31. data/spec/requests/cities_spec.rb +14 -14
  32. data/spec/requests/neighborhoods_spec.rb +13 -16
  33. data/spec/routing/cities_routing_spec.rb +7 -6
  34. data/spec/routing/neighborhoods_routing_spec.rb +11 -0
  35. data/spec/spec_helper.rb +15 -6
  36. metadata +49 -32
  37. data/lib/addresses/version.rb +0 -3
  38. data/spec/dummy/db/development.sqlite3 +0 -0
  39. data/spec/dummy/db/migrate/20140327205948_create_addresses_countries.addresses.rb +0 -13
  40. data/spec/dummy/db/migrate/20140327205949_create_addresses_states.addresses.rb +0 -14
  41. data/spec/dummy/db/migrate/20140327205950_create_addresses_cities.addresses.rb +0 -13
  42. data/spec/dummy/db/migrate/20140327205951_create_addresses_neighborhoods.addresses.rb +0 -13
  43. data/spec/dummy/db/migrate/20140328120544_create_addresses_addresses.addresses.rb +0 -17
  44. data/spec/factories/addresses_addresses.rb +0 -12
  45. data/spec/factories/addresses_countries.rb +0 -8
  46. data/spec/factories/addresses_neighborhoods.rb +0 -8
  47. data/spec/factories/addresses_states.rb +0 -9
@@ -2,242 +2,242 @@
2
2
 
3
3
  desc "Populate countries"
4
4
  task :populate_countries => [:environment] do
5
- Addresses::Country.create(id: '4', name: 'Afeganistão', acronym: 'AFG')
6
- Addresses::Country.create(id: '5', name: 'África do Sul', acronym: 'AFS')
7
- Addresses::Country.create(id: '6', name: 'Antilhas Holandesas', acronym: 'AHL')
8
- Addresses::Country.create(id: '7', name: 'Albânia', acronym: 'ALB')
9
- Addresses::Country.create(id: '8', name: 'Antigua', acronym: 'ANB')
10
- Addresses::Country.create(id: '9', name: 'Andorra', acronym: 'AND')
11
- Addresses::Country.create(id: '10', name: 'Angola', acronym: 'ANG')
12
- Addresses::Country.create(id: '11', name: 'Arábia Saudita', acronym: 'ARA')
13
- Addresses::Country.create(id: '12', name: 'Argentina', acronym: 'ARG')
14
- Addresses::Country.create(id: '13', name: 'Argélia', acronym: 'ARL')
15
- Addresses::Country.create(id: '14', name: 'Armênia', acronym: 'ARM')
16
- Addresses::Country.create(id: '15', name: 'Samoa Americana', acronym: 'ASM')
17
- Addresses::Country.create(id: '16', name: 'Antartida', acronym: 'ATC')
18
- Addresses::Country.create(id: '17', name: 'Austrália', acronym: 'AUS')
19
- Addresses::Country.create(id: '18', name: 'Austria', acronym: 'AUT')
20
- Addresses::Country.create(id: '19', name: 'Azerbaijão', acronym: 'AZE')
21
- Addresses::Country.create(id: '20', name: 'Barein', acronym: 'BAR')
22
- Addresses::Country.create(id: '21', name: 'Belarus', acronym: 'BEA')
23
- Addresses::Country.create(id: '22', name: 'Bélgica', acronym: 'BEL')
24
- Addresses::Country.create(id: '23', name: 'Benin', acronym: 'BEN')
25
- Addresses::Country.create(id: '24', name: 'Bermudas', acronym: 'BER')
26
- Addresses::Country.create(id: '25', name: 'Bangladesh', acronym: 'BGD')
27
- Addresses::Country.create(id: '26', name: 'Bahamas', acronym: 'BHS')
28
- Addresses::Country.create(id: '27', name: 'Birmânia', acronym: 'BIR')
29
- Addresses::Country.create(id: '28', name: 'Burkina Fasso', acronym: 'BKF')
30
- Addresses::Country.create(id: '29', name: 'Belize', acronym: 'BLZ')
31
- Addresses::Country.create(id: '30', name: 'Bolívia', acronym: 'BOL')
32
- Addresses::Country.create(id: '31', name: 'Bósnia', acronym: 'BOS')
33
- Addresses::Country.create(id: '32', name: 'Botsuana', acronym: 'BOT')
34
- Addresses::Country.create(id: '33', name: 'Brasil', acronym: 'BRA')
35
- Addresses::Country.create(id: '34', name: 'Barbados', acronym: 'BRB')
36
- Addresses::Country.create(id: '35', name: 'Brunei', acronym: 'BRN')
37
- Addresses::Country.create(id: '36', name: 'Bulgária', acronym: 'BUL')
38
- Addresses::Country.create(id: '37', name: 'Burundi', acronym: 'BUR')
39
- Addresses::Country.create(id: '38', name: 'Butão', acronym: 'BUT')
40
- Addresses::Country.create(id: '39', name: 'Camarões', acronym: 'CAM')
41
- Addresses::Country.create(id: '40', name: 'Canadá', acronym: 'CAN')
42
- Addresses::Country.create(id: '41', name: 'Catar', acronym: 'CAT')
43
- Addresses::Country.create(id: '42', name: 'Cazaquistão', acronym: 'CAZ')
44
- Addresses::Country.create(id: '43', name: 'Camboja', acronym: 'CBJ')
45
- Addresses::Country.create(id: '44', name: 'Cabo Verde', acronym: 'CBV')
46
- Addresses::Country.create(id: '45', name: 'Ilhas Cocos', acronym: 'CCK')
47
- Addresses::Country.create(id: '46', name: 'Chade', acronym: 'CHA')
48
- Addresses::Country.create(id: '47', name: 'Chile', acronym: 'CHL')
49
- Addresses::Country.create(id: '48', name: 'China', acronym: 'CHN')
50
- Addresses::Country.create(id: '49', name: 'Chipre', acronym: 'CHP')
51
- Addresses::Country.create(id: '50', name: 'Cingapura', acronym: 'CIN')
52
- Addresses::Country.create(id: '51', name: 'Costa do Marfim', acronym: 'CMF')
53
- Addresses::Country.create(id: '52', name: 'Ilhas Cook', acronym: 'COK')
54
- Addresses::Country.create(id: '53', name: 'Colômbia', acronym: 'COL')
55
- Addresses::Country.create(id: '54', name: 'Comores', acronym: 'COM')
56
- Addresses::Country.create(id: '55', name: 'Congo', acronym: 'CON')
57
- Addresses::Country.create(id: '56', name: 'Costa Rica', acronym: 'CRC')
58
- Addresses::Country.create(id: '57', name: 'Coréia do Norte', acronym: 'CRN')
59
- Addresses::Country.create(id: '58', name: 'Croácia', acronym: 'CRO')
60
- Addresses::Country.create(id: '59', name: 'Coréia do Sul', acronym: 'CRS')
61
- Addresses::Country.create(id: '60', name: 'Cuba', acronym: 'CUB')
62
- Addresses::Country.create(id: '61', name: 'Christmas Island', acronym: 'CXR')
63
- Addresses::Country.create(id: '62', name: 'Ilhas Cayman', acronym: 'CYM')
64
- Addresses::Country.create(id: '63', name: 'Dinamarca', acronym: 'DIN')
65
- Addresses::Country.create(id: '64', name: 'Djibuti', acronym: 'DJI')
66
- Addresses::Country.create(id: '65', name: 'República Dominicana', acronym: 'DOM')
67
- Addresses::Country.create(id: '66', name: 'Dominica', acronym: 'DON')
68
- Addresses::Country.create(id: '67', name: 'Emirados Árabes', acronym: 'EAU')
69
- Addresses::Country.create(id: '68', name: 'Egito', acronym: 'EGI')
70
- Addresses::Country.create(id: '69', name: 'El Salvador', acronym: 'ELS')
71
- Addresses::Country.create(id: '70', name: 'Equador', acronym: 'EQU')
72
- Addresses::Country.create(id: '71', name: 'Eritréa', acronym: 'ERT')
73
- Addresses::Country.create(id: '72', name: 'Escócia', acronym: 'ESC')
74
- Addresses::Country.create(id: '73', name: 'Western Sahara', acronym: 'ESH')
75
- Addresses::Country.create(id: '74', name: 'Espanha', acronym: 'ESP')
76
- Addresses::Country.create(id: '75', name: 'Estônia', acronym: 'EST')
77
- Addresses::Country.create(id: '76', name: 'Etiópia', acronym: 'ETP')
78
- Addresses::Country.create(id: '77', name: 'Estados Unidos', acronym: 'EUA')
79
- Addresses::Country.create(id: '78', name: 'Filipinas', acronym: 'FIL')
80
- Addresses::Country.create(id: '79', name: 'Finlândia', acronym: 'FIN')
81
- Addresses::Country.create(id: '80', name: 'Fiji', acronym: 'FJI')
82
- Addresses::Country.create(id: '81', name: 'Ilhas Falkland', acronym: 'FLK')
83
- Addresses::Country.create(id: '82', name: 'Formosa', acronym: 'FOR')
84
- Addresses::Country.create(id: '83', name: 'França', acronym: 'FRA')
85
- Addresses::Country.create(id: '84', name: 'Micronésia', acronym: 'FSM')
86
- Addresses::Country.create(id: '85', name: 'Gabão', acronym: 'GAB')
87
- Addresses::Country.create(id: '86', name: 'Gales', acronym: 'GAL')
88
- Addresses::Country.create(id: '87', name: 'Gâmbia', acronym: 'GAM')
89
- Addresses::Country.create(id: '88', name: 'Gana', acronym: 'GAN')
90
- Addresses::Country.create(id: '89', name: 'Grã-Bretanha', acronym: 'GBR')
91
- Addresses::Country.create(id: '90', name: 'Guadalupe', acronym: 'GDL')
92
- Addresses::Country.create(id: '91', name: 'Geórgia', acronym: 'GEO')
93
- Addresses::Country.create(id: '92', name: 'Guiana Francesa', acronym: 'GFR')
94
- Addresses::Country.create(id: '93', name: 'Gibraltar', acronym: 'GIB')
95
- Addresses::Country.create(id: '94', name: 'Guiné Bissau', acronym: 'GNB')
96
- Addresses::Country.create(id: '95', name: 'Guiné', acronym: 'GNE')
97
- Addresses::Country.create(id: '96', name: 'Guiné Equatorial', acronym: 'GNQ')
98
- Addresses::Country.create(id: '97', name: 'Granada', acronym: 'GRD')
99
- Addresses::Country.create(id: '98', name: 'Grécia', acronym: 'GRE')
100
- Addresses::Country.create(id: '99', name: 'Groênlandia', acronym: 'GRL')
101
- Addresses::Country.create(id: '100', name: 'Guatemala', acronym: 'GUA')
102
- Addresses::Country.create(id: '101', name: 'Guiana', acronym: 'GUI')
103
- Addresses::Country.create(id: '102', name: 'Guam', acronym: 'GUM')
104
- Addresses::Country.create(id: '103', name: 'Hong Kong', acronym: 'HKG')
105
- Addresses::Country.create(id: '104', name: 'Holanda', acronym: 'HOL')
106
- Addresses::Country.create(id: '105', name: 'Honduras', acronym: 'HON')
107
- Addresses::Country.create(id: '106', name: 'Haiti', acronym: 'HTI')
108
- Addresses::Country.create(id: '107', name: 'Hungria', acronym: 'HUN')
109
- Addresses::Country.create(id: '108', name: 'Indonésia', acronym: 'IDN')
110
- Addresses::Country.create(id: '109', name: 'Iêmem', acronym: 'IEM')
111
- Addresses::Country.create(id: '110', name: 'Ilhas Faroe', acronym: 'IFA')
112
- Addresses::Country.create(id: '111', name: 'Ilhas Marshall', acronym: 'IMH')
113
- Addresses::Country.create(id: '112', name: 'Iêmen do Sul', acronym: 'IMS')
114
- Addresses::Country.create(id: '113', name: 'Índia', acronym: 'IND')
115
- Addresses::Country.create(id: '114', name: 'Inglaterra', acronym: 'ING')
116
- Addresses::Country.create(id: '115', name: 'Britsh Indian Ocean', acronym: 'IOT')
117
- Addresses::Country.create(id: '116', name: 'Irã', acronym: 'IRA')
118
- Addresses::Country.create(id: '117', name: 'Irlanda', acronym: 'IRL')
119
- Addresses::Country.create(id: '118', name: 'Irlanda do Norte', acronym: 'IRN')
120
- Addresses::Country.create(id: '119', name: 'Iraque', acronym: 'IRQ')
121
- Addresses::Country.create(id: '120', name: 'Islândia', acronym: 'ISL')
122
- Addresses::Country.create(id: '121', name: 'Israel', acronym: 'ISR')
123
- Addresses::Country.create(id: '122', name: 'Itália', acronym: 'ITA')
124
- Addresses::Country.create(id: '123', name: 'Iugoslávia', acronym: 'IUG')
125
- Addresses::Country.create(id: '124', name: 'Ilhas Vírgens EUA', acronym: 'IVA')
126
- Addresses::Country.create(id: '125', name: 'Jamaica', acronym: 'JAM')
127
- Addresses::Country.create(id: '126', name: 'Japão', acronym: 'JAP')
128
- Addresses::Country.create(id: '127', name: 'Jordânia', acronym: 'JOR')
129
- Addresses::Country.create(id: '128', name: 'Kiribati', acronym: 'KIR')
130
- Addresses::Country.create(id: '129', name: 'São Cristóvão Nevis', acronym: 'KNA')
131
- Addresses::Country.create(id: '130', name: 'Kuweit', acronym: 'KWT')
132
- Addresses::Country.create(id: '131', name: 'Laos', acronym: 'LAO')
133
- Addresses::Country.create(id: '132', name: 'Líbano', acronym: 'LBN')
134
- Addresses::Country.create(id: '133', name: 'Libéria', acronym: 'LBR')
135
- Addresses::Country.create(id: '134', name: 'Santa Lúcia', acronym: 'LCA')
136
- Addresses::Country.create(id: '135', name: 'Lesoto', acronym: 'LES')
137
- Addresses::Country.create(id: '136', name: 'Letônia', acronym: 'LET')
138
- Addresses::Country.create(id: '137', name: 'Líbia', acronym: 'LIB')
139
- Addresses::Country.create(id: '138', name: 'Liechtenstein', acronym: 'LIE')
140
- Addresses::Country.create(id: '139', name: 'Lituânia', acronym: 'LIT')
141
- Addresses::Country.create(id: '140', name: 'Luxemburgo', acronym: 'LUX')
142
- Addresses::Country.create(id: '141', name: 'Macau', acronym: 'MAC')
143
- Addresses::Country.create(id: '142', name: 'Madagascar', acronym: 'MAD')
144
- Addresses::Country.create(id: '143', name: 'Malásia', acronym: 'MAL')
145
- Addresses::Country.create(id: '144', name: 'Marrocos', acronym: 'MAR')
146
- Addresses::Country.create(id: '145', name: 'Maurício', acronym: 'MAU')
147
- Addresses::Country.create(id: '146', name: 'Moçambique', acronym: 'MBQ')
148
- Addresses::Country.create(id: '147', name: 'Macedônia', acronym: 'MCD')
149
- Addresses::Country.create(id: '148', name: 'Maldivas', acronym: 'MDV')
150
- Addresses::Country.create(id: '149', name: 'México', acronym: 'MEX')
151
- Addresses::Country.create(id: '150', name: 'Mongólia', acronym: 'MGL')
152
- Addresses::Country.create(id: '151', name: 'Ilhas Midway', acronym: 'MID')
153
- Addresses::Country.create(id: '152', name: 'Mali', acronym: 'MLI')
154
- Addresses::Country.create(id: '153', name: 'Malta', acronym: 'MLT')
155
- Addresses::Country.create(id: '154', name: 'Malavi', acronym: 'MLV')
156
- Addresses::Country.create(id: '155', name: 'Mianmar', acronym: 'MMR')
157
- Addresses::Country.create(id: '156', name: 'Moldova', acronym: 'MOL')
158
- Addresses::Country.create(id: '157', name: 'Mônaco', acronym: 'MON')
159
- Addresses::Country.create(id: '158', name: 'Martinica', acronym: 'MRT')
160
- Addresses::Country.create(id: '159', name: 'Montserrat', acronym: 'MSR')
161
- Addresses::Country.create(id: '160', name: 'Mauritânia', acronym: 'MTN')
162
- Addresses::Country.create(id: '161', name: 'Namíbia', acronym: 'NAM')
163
- Addresses::Country.create(id: '162', name: 'Nova Caledônia', acronym: 'NCL')
164
- Addresses::Country.create(id: '163', name: 'Ilhas Norfolk', acronym: 'NFK')
165
- Addresses::Country.create(id: '164', name: 'Nigéria', acronym: 'NGA')
166
- Addresses::Country.create(id: '165', name: 'Nicarágua', acronym: 'NIC')
167
- Addresses::Country.create(id: '166', name: 'Niger', acronym: 'NIG')
168
- Addresses::Country.create(id: '167', name: 'Niue', acronym: 'NIU')
169
- Addresses::Country.create(id: '168', name: 'Noruega', acronym: 'NOR')
170
- Addresses::Country.create(id: '169', name: 'Nepal', acronym: 'NPL')
171
- Addresses::Country.create(id: '170', name: 'Nauru', acronym: 'NRU')
172
- Addresses::Country.create(id: '171', name: 'Nova Zelândia', acronym: 'NZL')
173
- Addresses::Country.create(id: '172', name: 'Oma', acronym: 'OMA')
174
- Addresses::Country.create(id: '173', name: 'Panamá', acronym: 'PAN')
175
- Addresses::Country.create(id: '174', name: 'Paquistão', acronym: 'PAQ')
176
- Addresses::Country.create(id: '175', name: 'Pacific Islands', acronym: 'PCI')
177
- Addresses::Country.create(id: '176', name: 'Pitcairn', acronym: 'PCN')
178
- Addresses::Country.create(id: '177', name: 'Peru', acronym: 'PER')
179
- Addresses::Country.create(id: '178', name: 'Polinésia Francesa', acronym: 'PLF')
180
- Addresses::Country.create(id: '179', name: 'Palau', acronym: 'PLU')
181
- Addresses::Country.create(id: '180', name: 'Papua Nova Guiné', acronym: 'PNG')
182
- Addresses::Country.create(id: '181', name: 'Polônia', acronym: 'POL')
183
- Addresses::Country.create(id: '182', name: 'Portugal', acronym: 'POR')
184
- Addresses::Country.create(id: '183', name: 'Paraguai', acronym: 'PRG')
185
- Addresses::Country.create(id: '184', name: 'Porto Rico', acronym: 'PTR')
186
- Addresses::Country.create(id: '185', name: 'Quênia', acronym: 'QUE')
187
- Addresses::Country.create(id: '186', name: 'Quirgistão', acronym: 'QUI')
188
- Addresses::Country.create(id: '187', name: 'Rep.Centro-Africana', acronym: 'RCA')
189
- Addresses::Country.create(id: '188', name: 'Reunião', acronym: 'REU')
190
- Addresses::Country.create(id: '189', name: 'Alemanha', acronym: 'RFA')
191
- Addresses::Country.create(id: '190', name: 'Romênia', acronym: 'ROM')
192
- Addresses::Country.create(id: '191', name: 'Rússia', acronym: 'RSS')
193
- Addresses::Country.create(id: '192', name: 'Ruanda', acronym: 'RUA')
194
- Addresses::Country.create(id: '193', name: 'Samoa Ocidental', acronym: 'SAM')
195
- Addresses::Country.create(id: '194', name: 'Senegal', acronym: 'SEN')
196
- Addresses::Country.create(id: '195', name: 'Ilhas Santa Helena', acronym: 'SHN')
197
- Addresses::Country.create(id: '196', name: 'Síria', acronym: 'SIR')
198
- Addresses::Country.create(id: '197', name: 'Ilhas Salamão', acronym: 'SLB')
199
- Addresses::Country.create(id: '198', name: 'San Marino', acronym: 'SMR')
200
- Addresses::Country.create(id: '199', name: 'Somália', acronym: 'SOM')
201
- Addresses::Country.create(id: '200', name: 'São Pedro Miquelon', acronym: 'SPM')
202
- Addresses::Country.create(id: '201', name: 'Sri Lanka', acronym: 'SRI')
203
- Addresses::Country.create(id: '202', name: 'Serra Leoa', acronym: 'SRL')
204
- Addresses::Country.create(id: '203', name: 'São Tomé e Príncipe', acronym: 'STP')
205
- Addresses::Country.create(id: '204', name: 'Suazilândia', acronym: 'SUA')
206
- Addresses::Country.create(id: '205', name: 'Sudão', acronym: 'SUD')
207
- Addresses::Country.create(id: '206', name: 'Suécia', acronym: 'SUE')
208
- Addresses::Country.create(id: '207', name: 'Suiça', acronym: 'SUI')
209
- Addresses::Country.create(id: '208', name: 'Suriname', acronym: 'SUR')
210
- Addresses::Country.create(id: '209', name: 'Eslováquia', acronym: 'SVK')
211
- Addresses::Country.create(id: '210', name: 'Eslovênia', acronym: 'SVN')
212
- Addresses::Country.create(id: '211', name: 'Seychelles', acronym: 'SYC')
213
- Addresses::Country.create(id: '212', name: 'Tadjaquistão', acronym: 'TAD')
214
- Addresses::Country.create(id: '213', name: 'Tailândia', acronym: 'TAI')
215
- Addresses::Country.create(id: '214', name: 'Tanzânia', acronym: 'TAN')
216
- Addresses::Country.create(id: '215', name: 'Ilhas Turcas Caicos', acronym: 'TCA')
217
- Addresses::Country.create(id: '216', name: 'República Tcheca', acronym: 'TCH')
218
- Addresses::Country.create(id: '217', name: 'Togo', acronym: 'TGO')
219
- Addresses::Country.create(id: '218', name: 'Tokelau', acronym: 'TKL')
220
- Addresses::Country.create(id: '219', name: 'Timor', acronym: 'TMP')
221
- Addresses::Country.create(id: '220', name: 'Tonga', acronym: 'TON')
222
- Addresses::Country.create(id: '221', name: 'Trinidad e Tobago', acronym: 'TRT')
223
- Addresses::Country.create(id: '222', name: 'Turcomenistão', acronym: 'TUC')
224
- Addresses::Country.create(id: '223', name: 'Tunísia', acronym: 'TUN')
225
- Addresses::Country.create(id: '224', name: 'Turquia', acronym: 'TUR')
226
- Addresses::Country.create(id: '225', name: 'Tuvalu', acronym: 'TUV')
227
- Addresses::Country.create(id: '226', name: 'Ucrânia', acronym: 'UCR')
228
- Addresses::Country.create(id: '227', name: 'Uganda', acronym: 'UGA')
229
- Addresses::Country.create(id: '228', name: 'União Soviética', acronym: 'URS')
230
- Addresses::Country.create(id: '229', name: 'Uruguai', acronym: 'URU')
231
- Addresses::Country.create(id: '230', name: 'Uzbekistan', acronym: 'UZB')
232
- Addresses::Country.create(id: '231', name: 'Vaticano', acronym: 'VAT')
233
- Addresses::Country.create(id: '232', name: 'São Vicente Granadi', acronym: 'VCT')
234
- Addresses::Country.create(id: '233', name: 'Venezuela', acronym: 'VEN')
235
- Addresses::Country.create(id: '234', name: 'Ilhas Vírgens GBR', acronym: 'VGB')
236
- Addresses::Country.create(id: '235', name: 'Vietnã', acronym: 'VTN')
237
- Addresses::Country.create(id: '236', name: 'Vanuatu', acronym: 'VUT')
238
- Addresses::Country.create(id: '237', name: 'Ilhas Wake', acronym: 'WAK')
239
- Addresses::Country.create(id: '238', name: 'Ilhas Wallis Futuna', acronym: 'WLF')
240
- Addresses::Country.create(id: '239', name: 'Zâmbia', acronym: 'ZAN')
241
- Addresses::Country.create(id: '240', name: 'Zaire', acronym: 'ZAR')
242
- Addresses::Country.create(id: '241', name: 'Zimbabue', acronym: 'ZIN')
243
- end
5
+ Addresses::Country.create(id: '4', name: 'Afeganistão', acronym: 'AFG')
6
+ Addresses::Country.create(id: '5', name: 'África do Sul', acronym: 'AFS')
7
+ Addresses::Country.create(id: '6', name: 'Antilhas Holandesas', acronym: 'AHL')
8
+ Addresses::Country.create(id: '7', name: 'Albânia', acronym: 'ALB')
9
+ Addresses::Country.create(id: '8', name: 'Antigua', acronym: 'ANB')
10
+ Addresses::Country.create(id: '9', name: 'Andorra', acronym: 'AND')
11
+ Addresses::Country.create(id: '10', name: 'Angola', acronym: 'ANG')
12
+ Addresses::Country.create(id: '11', name: 'Arábia Saudita', acronym: 'ARA')
13
+ Addresses::Country.create(id: '12', name: 'Argentina', acronym: 'ARG')
14
+ Addresses::Country.create(id: '13', name: 'Argélia', acronym: 'ARL')
15
+ Addresses::Country.create(id: '14', name: 'Armênia', acronym: 'ARM')
16
+ Addresses::Country.create(id: '15', name: 'Samoa Americana', acronym: 'ASM')
17
+ Addresses::Country.create(id: '16', name: 'Antartida', acronym: 'ATC')
18
+ Addresses::Country.create(id: '17', name: 'Austrália', acronym: 'AUS')
19
+ Addresses::Country.create(id: '18', name: 'Austria', acronym: 'AUT')
20
+ Addresses::Country.create(id: '19', name: 'Azerbaijão', acronym: 'AZE')
21
+ Addresses::Country.create(id: '20', name: 'Barein', acronym: 'BAR')
22
+ Addresses::Country.create(id: '21', name: 'Belarus', acronym: 'BEA')
23
+ Addresses::Country.create(id: '22', name: 'Bélgica', acronym: 'BEL')
24
+ Addresses::Country.create(id: '23', name: 'Benin', acronym: 'BEN')
25
+ Addresses::Country.create(id: '24', name: 'Bermudas', acronym: 'BER')
26
+ Addresses::Country.create(id: '25', name: 'Bangladesh', acronym: 'BGD')
27
+ Addresses::Country.create(id: '26', name: 'Bahamas', acronym: 'BHS')
28
+ Addresses::Country.create(id: '27', name: 'Birmânia', acronym: 'BIR')
29
+ Addresses::Country.create(id: '28', name: 'Burkina Fasso', acronym: 'BKF')
30
+ Addresses::Country.create(id: '29', name: 'Belize', acronym: 'BLZ')
31
+ Addresses::Country.create(id: '30', name: 'Bolívia', acronym: 'BOL')
32
+ Addresses::Country.create(id: '31', name: 'Bósnia', acronym: 'BOS')
33
+ Addresses::Country.create(id: '32', name: 'Botsuana', acronym: 'BOT')
34
+ Addresses::Country.create(id: '33', name: 'Brasil', acronym: 'BRA')
35
+ Addresses::Country.create(id: '34', name: 'Barbados', acronym: 'BRB')
36
+ Addresses::Country.create(id: '35', name: 'Brunei', acronym: 'BRN')
37
+ Addresses::Country.create(id: '36', name: 'Bulgária', acronym: 'BUL')
38
+ Addresses::Country.create(id: '37', name: 'Burundi', acronym: 'BUR')
39
+ Addresses::Country.create(id: '38', name: 'Butão', acronym: 'BUT')
40
+ Addresses::Country.create(id: '39', name: 'Camarões', acronym: 'CAM')
41
+ Addresses::Country.create(id: '40', name: 'Canadá', acronym: 'CAN')
42
+ Addresses::Country.create(id: '41', name: 'Catar', acronym: 'CAT')
43
+ Addresses::Country.create(id: '42', name: 'Cazaquistão', acronym: 'CAZ')
44
+ Addresses::Country.create(id: '43', name: 'Camboja', acronym: 'CBJ')
45
+ Addresses::Country.create(id: '44', name: 'Cabo Verde', acronym: 'CBV')
46
+ Addresses::Country.create(id: '45', name: 'Ilhas Cocos', acronym: 'CCK')
47
+ Addresses::Country.create(id: '46', name: 'Chade', acronym: 'CHA')
48
+ Addresses::Country.create(id: '47', name: 'Chile', acronym: 'CHL')
49
+ Addresses::Country.create(id: '48', name: 'China', acronym: 'CHN')
50
+ Addresses::Country.create(id: '49', name: 'Chipre', acronym: 'CHP')
51
+ Addresses::Country.create(id: '50', name: 'Cingapura', acronym: 'CIN')
52
+ Addresses::Country.create(id: '51', name: 'Costa do Marfim', acronym: 'CMF')
53
+ Addresses::Country.create(id: '52', name: 'Ilhas Cook', acronym: 'COK')
54
+ Addresses::Country.create(id: '53', name: 'Colômbia', acronym: 'COL')
55
+ Addresses::Country.create(id: '54', name: 'Comores', acronym: 'COM')
56
+ Addresses::Country.create(id: '55', name: 'Congo', acronym: 'CON')
57
+ Addresses::Country.create(id: '56', name: 'Costa Rica', acronym: 'CRC')
58
+ Addresses::Country.create(id: '57', name: 'Coréia do Norte', acronym: 'CRN')
59
+ Addresses::Country.create(id: '58', name: 'Croácia', acronym: 'CRO')
60
+ Addresses::Country.create(id: '59', name: 'Coréia do Sul', acronym: 'CRS')
61
+ Addresses::Country.create(id: '60', name: 'Cuba', acronym: 'CUB')
62
+ Addresses::Country.create(id: '61', name: 'Christmas Island', acronym: 'CXR')
63
+ Addresses::Country.create(id: '62', name: 'Ilhas Cayman', acronym: 'CYM')
64
+ Addresses::Country.create(id: '63', name: 'Dinamarca', acronym: 'DIN')
65
+ Addresses::Country.create(id: '64', name: 'Djibuti', acronym: 'DJI')
66
+ Addresses::Country.create(id: '65', name: 'República Dominicana', acronym: 'DOM')
67
+ Addresses::Country.create(id: '66', name: 'Dominica', acronym: 'DON')
68
+ Addresses::Country.create(id: '67', name: 'Emirados Árabes', acronym: 'EAU')
69
+ Addresses::Country.create(id: '68', name: 'Egito', acronym: 'EGI')
70
+ Addresses::Country.create(id: '69', name: 'El Salvador', acronym: 'ELS')
71
+ Addresses::Country.create(id: '70', name: 'Equador', acronym: 'EQU')
72
+ Addresses::Country.create(id: '71', name: 'Eritréa', acronym: 'ERT')
73
+ Addresses::Country.create(id: '72', name: 'Escócia', acronym: 'ESC')
74
+ Addresses::Country.create(id: '73', name: 'Western Sahara', acronym: 'ESH')
75
+ Addresses::Country.create(id: '74', name: 'Espanha', acronym: 'ESP')
76
+ Addresses::Country.create(id: '75', name: 'Estônia', acronym: 'EST')
77
+ Addresses::Country.create(id: '76', name: 'Etiópia', acronym: 'ETP')
78
+ Addresses::Country.create(id: '77', name: 'Estados Unidos', acronym: 'EUA')
79
+ Addresses::Country.create(id: '78', name: 'Filipinas', acronym: 'FIL')
80
+ Addresses::Country.create(id: '79', name: 'Finlândia', acronym: 'FIN')
81
+ Addresses::Country.create(id: '80', name: 'Fiji', acronym: 'FJI')
82
+ Addresses::Country.create(id: '81', name: 'Ilhas Falkland', acronym: 'FLK')
83
+ Addresses::Country.create(id: '82', name: 'Formosa', acronym: 'FOR')
84
+ Addresses::Country.create(id: '83', name: 'França', acronym: 'FRA')
85
+ Addresses::Country.create(id: '84', name: 'Micronésia', acronym: 'FSM')
86
+ Addresses::Country.create(id: '85', name: 'Gabão', acronym: 'GAB')
87
+ Addresses::Country.create(id: '86', name: 'Gales', acronym: 'GAL')
88
+ Addresses::Country.create(id: '87', name: 'Gâmbia', acronym: 'GAM')
89
+ Addresses::Country.create(id: '88', name: 'Gana', acronym: 'GAN')
90
+ Addresses::Country.create(id: '89', name: 'Grã-Bretanha', acronym: 'GBR')
91
+ Addresses::Country.create(id: '90', name: 'Guadalupe', acronym: 'GDL')
92
+ Addresses::Country.create(id: '91', name: 'Geórgia', acronym: 'GEO')
93
+ Addresses::Country.create(id: '92', name: 'Guiana Francesa', acronym: 'GFR')
94
+ Addresses::Country.create(id: '93', name: 'Gibraltar', acronym: 'GIB')
95
+ Addresses::Country.create(id: '94', name: 'Guiné Bissau', acronym: 'GNB')
96
+ Addresses::Country.create(id: '95', name: 'Guiné', acronym: 'GNE')
97
+ Addresses::Country.create(id: '96', name: 'Guiné Equatorial', acronym: 'GNQ')
98
+ Addresses::Country.create(id: '97', name: 'Granada', acronym: 'GRD')
99
+ Addresses::Country.create(id: '98', name: 'Grécia', acronym: 'GRE')
100
+ Addresses::Country.create(id: '99', name: 'Groênlandia', acronym: 'GRL')
101
+ Addresses::Country.create(id: '100', name: 'Guatemala', acronym: 'GUA')
102
+ Addresses::Country.create(id: '101', name: 'Guiana', acronym: 'GUI')
103
+ Addresses::Country.create(id: '102', name: 'Guam', acronym: 'GUM')
104
+ Addresses::Country.create(id: '103', name: 'Hong Kong', acronym: 'HKG')
105
+ Addresses::Country.create(id: '104', name: 'Holanda', acronym: 'HOL')
106
+ Addresses::Country.create(id: '105', name: 'Honduras', acronym: 'HON')
107
+ Addresses::Country.create(id: '106', name: 'Haiti', acronym: 'HTI')
108
+ Addresses::Country.create(id: '107', name: 'Hungria', acronym: 'HUN')
109
+ Addresses::Country.create(id: '108', name: 'Indonésia', acronym: 'IDN')
110
+ Addresses::Country.create(id: '109', name: 'Iêmem', acronym: 'IEM')
111
+ Addresses::Country.create(id: '110', name: 'Ilhas Faroe', acronym: 'IFA')
112
+ Addresses::Country.create(id: '111', name: 'Ilhas Marshall', acronym: 'IMH')
113
+ Addresses::Country.create(id: '112', name: 'Iêmen do Sul', acronym: 'IMS')
114
+ Addresses::Country.create(id: '113', name: 'Índia', acronym: 'IND')
115
+ Addresses::Country.create(id: '114', name: 'Inglaterra', acronym: 'ING')
116
+ Addresses::Country.create(id: '115', name: 'Britsh Indian Ocean', acronym: 'IOT')
117
+ Addresses::Country.create(id: '116', name: 'Irã', acronym: 'IRA')
118
+ Addresses::Country.create(id: '117', name: 'Irlanda', acronym: 'IRL')
119
+ Addresses::Country.create(id: '118', name: 'Irlanda do Norte', acronym: 'IRN')
120
+ Addresses::Country.create(id: '119', name: 'Iraque', acronym: 'IRQ')
121
+ Addresses::Country.create(id: '120', name: 'Islândia', acronym: 'ISL')
122
+ Addresses::Country.create(id: '121', name: 'Israel', acronym: 'ISR')
123
+ Addresses::Country.create(id: '122', name: 'Itália', acronym: 'ITA')
124
+ Addresses::Country.create(id: '123', name: 'Iugoslávia', acronym: 'IUG')
125
+ Addresses::Country.create(id: '124', name: 'Ilhas Vírgens EUA', acronym: 'IVA')
126
+ Addresses::Country.create(id: '125', name: 'Jamaica', acronym: 'JAM')
127
+ Addresses::Country.create(id: '126', name: 'Japão', acronym: 'JAP')
128
+ Addresses::Country.create(id: '127', name: 'Jordânia', acronym: 'JOR')
129
+ Addresses::Country.create(id: '128', name: 'Kiribati', acronym: 'KIR')
130
+ Addresses::Country.create(id: '129', name: 'São Cristóvão Nevis', acronym: 'KNA')
131
+ Addresses::Country.create(id: '130', name: 'Kuweit', acronym: 'KWT')
132
+ Addresses::Country.create(id: '131', name: 'Laos', acronym: 'LAO')
133
+ Addresses::Country.create(id: '132', name: 'Líbano', acronym: 'LBN')
134
+ Addresses::Country.create(id: '133', name: 'Libéria', acronym: 'LBR')
135
+ Addresses::Country.create(id: '134', name: 'Santa Lúcia', acronym: 'LCA')
136
+ Addresses::Country.create(id: '135', name: 'Lesoto', acronym: 'LES')
137
+ Addresses::Country.create(id: '136', name: 'Letônia', acronym: 'LET')
138
+ Addresses::Country.create(id: '137', name: 'Líbia', acronym: 'LIB')
139
+ Addresses::Country.create(id: '138', name: 'Liechtenstein', acronym: 'LIE')
140
+ Addresses::Country.create(id: '139', name: 'Lituânia', acronym: 'LIT')
141
+ Addresses::Country.create(id: '140', name: 'Luxemburgo', acronym: 'LUX')
142
+ Addresses::Country.create(id: '141', name: 'Macau', acronym: 'MAC')
143
+ Addresses::Country.create(id: '142', name: 'Madagascar', acronym: 'MAD')
144
+ Addresses::Country.create(id: '143', name: 'Malásia', acronym: 'MAL')
145
+ Addresses::Country.create(id: '144', name: 'Marrocos', acronym: 'MAR')
146
+ Addresses::Country.create(id: '145', name: 'Maurício', acronym: 'MAU')
147
+ Addresses::Country.create(id: '146', name: 'Moçambique', acronym: 'MBQ')
148
+ Addresses::Country.create(id: '147', name: 'Macedônia', acronym: 'MCD')
149
+ Addresses::Country.create(id: '148', name: 'Maldivas', acronym: 'MDV')
150
+ Addresses::Country.create(id: '149', name: 'México', acronym: 'MEX')
151
+ Addresses::Country.create(id: '150', name: 'Mongólia', acronym: 'MGL')
152
+ Addresses::Country.create(id: '151', name: 'Ilhas Midway', acronym: 'MID')
153
+ Addresses::Country.create(id: '152', name: 'Mali', acronym: 'MLI')
154
+ Addresses::Country.create(id: '153', name: 'Malta', acronym: 'MLT')
155
+ Addresses::Country.create(id: '154', name: 'Malavi', acronym: 'MLV')
156
+ Addresses::Country.create(id: '155', name: 'Mianmar', acronym: 'MMR')
157
+ Addresses::Country.create(id: '156', name: 'Moldova', acronym: 'MOL')
158
+ Addresses::Country.create(id: '157', name: 'Mônaco', acronym: 'MON')
159
+ Addresses::Country.create(id: '158', name: 'Martinica', acronym: 'MRT')
160
+ Addresses::Country.create(id: '159', name: 'Montserrat', acronym: 'MSR')
161
+ Addresses::Country.create(id: '160', name: 'Mauritânia', acronym: 'MTN')
162
+ Addresses::Country.create(id: '161', name: 'Namíbia', acronym: 'NAM')
163
+ Addresses::Country.create(id: '162', name: 'Nova Caledônia', acronym: 'NCL')
164
+ Addresses::Country.create(id: '163', name: 'Ilhas Norfolk', acronym: 'NFK')
165
+ Addresses::Country.create(id: '164', name: 'Nigéria', acronym: 'NGA')
166
+ Addresses::Country.create(id: '165', name: 'Nicarágua', acronym: 'NIC')
167
+ Addresses::Country.create(id: '166', name: 'Niger', acronym: 'NIG')
168
+ Addresses::Country.create(id: '167', name: 'Niue', acronym: 'NIU')
169
+ Addresses::Country.create(id: '168', name: 'Noruega', acronym: 'NOR')
170
+ Addresses::Country.create(id: '169', name: 'Nepal', acronym: 'NPL')
171
+ Addresses::Country.create(id: '170', name: 'Nauru', acronym: 'NRU')
172
+ Addresses::Country.create(id: '171', name: 'Nova Zelândia', acronym: 'NZL')
173
+ Addresses::Country.create(id: '172', name: 'Oma', acronym: 'OMA')
174
+ Addresses::Country.create(id: '173', name: 'Panamá', acronym: 'PAN')
175
+ Addresses::Country.create(id: '174', name: 'Paquistão', acronym: 'PAQ')
176
+ Addresses::Country.create(id: '175', name: 'Pacific Islands', acronym: 'PCI')
177
+ Addresses::Country.create(id: '176', name: 'Pitcairn', acronym: 'PCN')
178
+ Addresses::Country.create(id: '177', name: 'Peru', acronym: 'PER')
179
+ Addresses::Country.create(id: '178', name: 'Polinésia Francesa', acronym: 'PLF')
180
+ Addresses::Country.create(id: '179', name: 'Palau', acronym: 'PLU')
181
+ Addresses::Country.create(id: '180', name: 'Papua Nova Guiné', acronym: 'PNG')
182
+ Addresses::Country.create(id: '181', name: 'Polônia', acronym: 'POL')
183
+ Addresses::Country.create(id: '182', name: 'Portugal', acronym: 'POR')
184
+ Addresses::Country.create(id: '183', name: 'Paraguai', acronym: 'PRG')
185
+ Addresses::Country.create(id: '184', name: 'Porto Rico', acronym: 'PTR')
186
+ Addresses::Country.create(id: '185', name: 'Quênia', acronym: 'QUE')
187
+ Addresses::Country.create(id: '186', name: 'Quirgistão', acronym: 'QUI')
188
+ Addresses::Country.create(id: '187', name: 'Rep.Centro-Africana', acronym: 'RCA')
189
+ Addresses::Country.create(id: '188', name: 'Reunião', acronym: 'REU')
190
+ Addresses::Country.create(id: '189', name: 'Alemanha', acronym: 'RFA')
191
+ Addresses::Country.create(id: '190', name: 'Romênia', acronym: 'ROM')
192
+ Addresses::Country.create(id: '191', name: 'Rússia', acronym: 'RSS')
193
+ Addresses::Country.create(id: '192', name: 'Ruanda', acronym: 'RUA')
194
+ Addresses::Country.create(id: '193', name: 'Samoa Ocidental', acronym: 'SAM')
195
+ Addresses::Country.create(id: '194', name: 'Senegal', acronym: 'SEN')
196
+ Addresses::Country.create(id: '195', name: 'Ilhas Santa Helena', acronym: 'SHN')
197
+ Addresses::Country.create(id: '196', name: 'Síria', acronym: 'SIR')
198
+ Addresses::Country.create(id: '197', name: 'Ilhas Salamão', acronym: 'SLB')
199
+ Addresses::Country.create(id: '198', name: 'San Marino', acronym: 'SMR')
200
+ Addresses::Country.create(id: '199', name: 'Somália', acronym: 'SOM')
201
+ Addresses::Country.create(id: '200', name: 'São Pedro Miquelon', acronym: 'SPM')
202
+ Addresses::Country.create(id: '201', name: 'Sri Lanka', acronym: 'SRI')
203
+ Addresses::Country.create(id: '202', name: 'Serra Leoa', acronym: 'SRL')
204
+ Addresses::Country.create(id: '203', name: 'São Tomé e Príncipe', acronym: 'STP')
205
+ Addresses::Country.create(id: '204', name: 'Suazilândia', acronym: 'SUA')
206
+ Addresses::Country.create(id: '205', name: 'Sudão', acronym: 'SUD')
207
+ Addresses::Country.create(id: '206', name: 'Suécia', acronym: 'SUE')
208
+ Addresses::Country.create(id: '207', name: 'Suiça', acronym: 'SUI')
209
+ Addresses::Country.create(id: '208', name: 'Suriname', acronym: 'SUR')
210
+ Addresses::Country.create(id: '209', name: 'Eslováquia', acronym: 'SVK')
211
+ Addresses::Country.create(id: '210', name: 'Eslovênia', acronym: 'SVN')
212
+ Addresses::Country.create(id: '211', name: 'Seychelles', acronym: 'SYC')
213
+ Addresses::Country.create(id: '212', name: 'Tadjaquistão', acronym: 'TAD')
214
+ Addresses::Country.create(id: '213', name: 'Tailândia', acronym: 'TAI')
215
+ Addresses::Country.create(id: '214', name: 'Tanzânia', acronym: 'TAN')
216
+ Addresses::Country.create(id: '215', name: 'Ilhas Turcas Caicos', acronym: 'TCA')
217
+ Addresses::Country.create(id: '216', name: 'República Tcheca', acronym: 'TCH')
218
+ Addresses::Country.create(id: '217', name: 'Togo', acronym: 'TGO')
219
+ Addresses::Country.create(id: '218', name: 'Tokelau', acronym: 'TKL')
220
+ Addresses::Country.create(id: '219', name: 'Timor', acronym: 'TMP')
221
+ Addresses::Country.create(id: '220', name: 'Tonga', acronym: 'TON')
222
+ Addresses::Country.create(id: '221', name: 'Trinidad e Tobago', acronym: 'TRT')
223
+ Addresses::Country.create(id: '222', name: 'Turcomenistão', acronym: 'TUC')
224
+ Addresses::Country.create(id: '223', name: 'Tunísia', acronym: 'TUN')
225
+ Addresses::Country.create(id: '224', name: 'Turquia', acronym: 'TUR')
226
+ Addresses::Country.create(id: '225', name: 'Tuvalu', acronym: 'TUV')
227
+ Addresses::Country.create(id: '226', name: 'Ucrânia', acronym: 'UCR')
228
+ Addresses::Country.create(id: '227', name: 'Uganda', acronym: 'UGA')
229
+ Addresses::Country.create(id: '228', name: 'União Soviética', acronym: 'URS')
230
+ Addresses::Country.create(id: '229', name: 'Uruguai', acronym: 'URU')
231
+ Addresses::Country.create(id: '230', name: 'Uzbekistan', acronym: 'UZB')
232
+ Addresses::Country.create(id: '231', name: 'Vaticano', acronym: 'VAT')
233
+ Addresses::Country.create(id: '232', name: 'São Vicente Granadi', acronym: 'VCT')
234
+ Addresses::Country.create(id: '233', name: 'Venezuela', acronym: 'VEN')
235
+ Addresses::Country.create(id: '234', name: 'Ilhas Vírgens GBR', acronym: 'VGB')
236
+ Addresses::Country.create(id: '235', name: 'Vietnã', acronym: 'VTN')
237
+ Addresses::Country.create(id: '236', name: 'Vanuatu', acronym: 'VUT')
238
+ Addresses::Country.create(id: '237', name: 'Ilhas Wake', acronym: 'WAK')
239
+ Addresses::Country.create(id: '238', name: 'Ilhas Wallis Futuna', acronym: 'WLF')
240
+ Addresses::Country.create(id: '239', name: 'Zâmbia', acronym: 'ZAN')
241
+ Addresses::Country.create(id: '240', name: 'Zaire', acronym: 'ZAR')
242
+ Addresses::Country.create(id: '241', name: 'Zimbabue', acronym: 'ZIN')
243
+ end