decoder 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/decoder.gemspec +4 -4
- data/lib/common_methods.rb +1 -1
- data/lib/decoder.rb +6 -6
- data/lib/decoder/countries.rb +3 -3
- data/lib/decoder/country.rb +5 -5
- data/lib/decoder/state.rb +1 -1
- data/lib/locales/en.yml +257 -256
- data/test/common_methods_test.rb +2 -2
- data/test/countries/countries_test.rb +5 -5
- data/test/countries/country_test.rb +12 -12
- data/test/decoder_test.rb +3 -3
- data/test/states/state_test.rb +2 -2
- metadata +11 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.2
|
data/decoder.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{decoder}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brian Cardarella"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-07-23}
|
13
13
|
s.description = %q{Decoder}
|
14
14
|
s.email = %q{bcardarella@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.homepage = %q{http://github.com/bcardarella/decoder}
|
41
41
|
s.rdoc_options = ["--charset=UTF-8"]
|
42
42
|
s.require_paths = ["lib"]
|
43
|
-
s.rubygems_version = %q{1.3.
|
43
|
+
s.rubygems_version = %q{1.3.7}
|
44
44
|
s.summary = %q{Decoder}
|
45
45
|
s.test_files = [
|
46
46
|
"test/common_methods_test.rb",
|
@@ -55,7 +55,7 @@ Gem::Specification.new do |s|
|
|
55
55
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
56
56
|
s.specification_version = 3
|
57
57
|
|
58
|
-
if Gem::Version.new(Gem::
|
58
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
59
59
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
60
60
|
else
|
61
61
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
data/lib/common_methods.rb
CHANGED
data/lib/decoder.rb
CHANGED
@@ -4,28 +4,28 @@ require 'decoder/country'
|
|
4
4
|
require 'decoder/state'
|
5
5
|
|
6
6
|
module Decoder
|
7
|
-
|
7
|
+
|
8
8
|
def self.i18n
|
9
9
|
@i18n ||= :en
|
10
10
|
end
|
11
|
-
|
11
|
+
|
12
12
|
def self.i18n=(code)
|
13
13
|
@i18n = code
|
14
14
|
self.locale = nil
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
def self.locale
|
18
18
|
@locale || self.locale = self.load_yaml
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
def self.locale=(_locale)
|
22
22
|
@locale = _locale
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
def self.load_yaml
|
26
26
|
Decoder.locale = YAML.load_file(yaml_file_name)
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
29
|
def self.yaml_file_name
|
30
30
|
"#{File.dirname(__FILE__)}/locales/#{Decoder.i18n}.yml"
|
31
31
|
end
|
data/lib/decoder/countries.rb
CHANGED
@@ -4,7 +4,7 @@ module Decoder
|
|
4
4
|
def initialize
|
5
5
|
self.countries = Decoder.locale[Decoder.i18n]
|
6
6
|
end
|
7
|
-
|
7
|
+
|
8
8
|
def inspect
|
9
9
|
%{#<#{self.class}>}
|
10
10
|
end
|
@@ -12,7 +12,7 @@ module Decoder
|
|
12
12
|
def countries=(_countries)
|
13
13
|
@countries = _countries
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
def countries
|
17
17
|
@countries
|
18
18
|
end
|
@@ -22,7 +22,7 @@ module Decoder
|
|
22
22
|
country = countries[_code]
|
23
23
|
Decoder::Country.new(:code => _code, :name => country[:name])
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
def self.[](_code)
|
27
27
|
self.new[_code]
|
28
28
|
end
|
data/lib/decoder/country.rb
CHANGED
@@ -2,25 +2,25 @@ module Decoder
|
|
2
2
|
class Country
|
3
3
|
include ::CommonMethods
|
4
4
|
attr_accessor :code, :name
|
5
|
-
|
5
|
+
|
6
6
|
def initialize(args)
|
7
7
|
self.code = args[:code].to_s
|
8
8
|
self.name = args[:name]
|
9
9
|
self.states = Decoder.locale[Decoder.i18n][self.code][:states]
|
10
10
|
end
|
11
|
-
|
11
|
+
|
12
12
|
def states
|
13
13
|
@states
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
def states=(_states)
|
17
17
|
@states = _states
|
18
18
|
end
|
19
19
|
|
20
|
-
alias_method :counties, :states
|
20
|
+
alias_method :counties, :states
|
21
21
|
alias_method :provinces, :states
|
22
22
|
alias_method :territories, :states
|
23
|
-
|
23
|
+
|
24
24
|
def [](_code)
|
25
25
|
_code = _code.to_s.upcase
|
26
26
|
state = states[_code]
|
data/lib/decoder/state.rb
CHANGED
data/lib/locales/en.yml
CHANGED
@@ -1,342 +1,342 @@
|
|
1
|
-
---
|
2
|
-
:en:
|
3
|
-
VA:
|
1
|
+
---
|
2
|
+
:en:
|
3
|
+
VA:
|
4
4
|
:name: Vatican City State (Holy See)
|
5
5
|
:states: {}
|
6
6
|
|
7
|
-
ZR:
|
7
|
+
ZR:
|
8
8
|
:name: Zaire
|
9
9
|
:states: {}
|
10
10
|
|
11
|
-
CC:
|
11
|
+
CC:
|
12
12
|
:name: Cocos (Keeling) Islands
|
13
13
|
:states: {}
|
14
14
|
|
15
|
-
GT:
|
15
|
+
GT:
|
16
16
|
:name: Guatemala
|
17
17
|
:states: {}
|
18
18
|
|
19
|
-
JP:
|
19
|
+
JP:
|
20
20
|
:name: Japan
|
21
21
|
:states: {}
|
22
22
|
|
23
|
-
"NO":
|
23
|
+
"NO":
|
24
24
|
:name: Norway
|
25
25
|
:states: {}
|
26
26
|
|
27
|
-
SE:
|
27
|
+
SE:
|
28
28
|
:name: Sweden
|
29
29
|
:states: {}
|
30
30
|
|
31
|
-
TZ:
|
31
|
+
TZ:
|
32
32
|
:name: Tanzania
|
33
33
|
:states: {}
|
34
34
|
|
35
|
-
CD:
|
35
|
+
CD:
|
36
36
|
:name: Congo, Democratic Republic
|
37
37
|
:states: {}
|
38
38
|
|
39
|
-
GU:
|
39
|
+
GU:
|
40
40
|
:name: Guam
|
41
41
|
:states: {}
|
42
42
|
|
43
|
-
MM:
|
43
|
+
MM:
|
44
44
|
:name: Myanmar
|
45
45
|
:states: {}
|
46
46
|
|
47
|
-
DZ:
|
47
|
+
DZ:
|
48
48
|
:name: Algeria
|
49
49
|
:states: {}
|
50
50
|
|
51
|
-
MN:
|
51
|
+
MN:
|
52
52
|
:name: Mongolia
|
53
53
|
:states: {}
|
54
54
|
|
55
|
-
PK:
|
55
|
+
PK:
|
56
56
|
:name: Pakistan
|
57
57
|
:states: {}
|
58
58
|
|
59
|
-
SG:
|
59
|
+
SG:
|
60
60
|
:name: Singapore
|
61
61
|
:states: {}
|
62
62
|
|
63
|
-
VC:
|
63
|
+
VC:
|
64
64
|
:name: Saint Vincent & the Grenadines
|
65
65
|
:states: {}
|
66
66
|
|
67
|
-
CF:
|
67
|
+
CF:
|
68
68
|
:name: Central African Republic
|
69
69
|
:states: {}
|
70
70
|
|
71
|
-
GW:
|
71
|
+
GW:
|
72
72
|
:name: Guinea-Bissau
|
73
73
|
:states: {}
|
74
74
|
|
75
|
-
MO:
|
75
|
+
MO:
|
76
76
|
:name: Macau
|
77
77
|
:states: {}
|
78
78
|
|
79
|
-
PL:
|
79
|
+
PL:
|
80
80
|
:name: Poland
|
81
81
|
:states: {}
|
82
82
|
|
83
|
-
SH:
|
83
|
+
SH:
|
84
84
|
:name: St. Helena
|
85
85
|
:states: {}
|
86
86
|
|
87
|
-
CG:
|
87
|
+
CG:
|
88
88
|
:name: Congo
|
89
89
|
:states: {}
|
90
90
|
|
91
|
-
MP:
|
91
|
+
MP:
|
92
92
|
:name: Northern Mariana Islands
|
93
93
|
:states: {}
|
94
94
|
|
95
|
-
PM:
|
95
|
+
PM:
|
96
96
|
:name: St. Pierre and Miquelon
|
97
97
|
:states: {}
|
98
98
|
|
99
|
-
SI:
|
99
|
+
SI:
|
100
100
|
:name: Slovenia
|
101
101
|
:states: {}
|
102
102
|
|
103
|
-
VE:
|
103
|
+
VE:
|
104
104
|
:name: Venezuela
|
105
105
|
:states: {}
|
106
106
|
|
107
|
-
ZW:
|
107
|
+
ZW:
|
108
108
|
:name: Zimbabwe
|
109
109
|
:states: {}
|
110
110
|
|
111
|
-
CH:
|
111
|
+
CH:
|
112
112
|
:name: Switzerland
|
113
113
|
:states: {}
|
114
114
|
|
115
|
-
GY:
|
115
|
+
GY:
|
116
116
|
:name: Guyana
|
117
117
|
:states: {}
|
118
118
|
|
119
|
-
MQ:
|
119
|
+
MQ:
|
120
120
|
:name: Martinique
|
121
121
|
:states: {}
|
122
122
|
|
123
|
-
PN:
|
123
|
+
PN:
|
124
124
|
:name: Pitcairn
|
125
125
|
:states: {}
|
126
126
|
|
127
|
-
SJ:
|
127
|
+
SJ:
|
128
128
|
:name: Svalbard & Jan Mayen Islands
|
129
129
|
:states: {}
|
130
130
|
|
131
|
-
CI:
|
131
|
+
CI:
|
132
132
|
:name: Cote D'Ivoire (Ivory Coast)
|
133
133
|
:states: {}
|
134
134
|
|
135
|
-
MR:
|
135
|
+
MR:
|
136
136
|
:name: Mauritania
|
137
137
|
:states: {}
|
138
138
|
|
139
|
-
SK:
|
139
|
+
SK:
|
140
140
|
:name: Slovak Republic
|
141
141
|
:states: {}
|
142
142
|
|
143
|
-
VG:
|
143
|
+
VG:
|
144
144
|
:name: British Virgin Islands
|
145
145
|
:states: {}
|
146
146
|
|
147
|
-
MS:
|
147
|
+
MS:
|
148
148
|
:name: Montserrat
|
149
149
|
:states: {}
|
150
150
|
|
151
|
-
SL:
|
151
|
+
SL:
|
152
152
|
:name: Sierra Leone
|
153
153
|
:states: {}
|
154
154
|
|
155
|
-
CK:
|
155
|
+
CK:
|
156
156
|
:name: Cook Islands
|
157
157
|
:states: {}
|
158
158
|
|
159
|
-
ID:
|
159
|
+
ID:
|
160
160
|
:name: Indonesia
|
161
161
|
:states: {}
|
162
162
|
|
163
|
-
MT:
|
163
|
+
MT:
|
164
164
|
:name: Malta
|
165
165
|
:states: {}
|
166
166
|
|
167
|
-
SM:
|
167
|
+
SM:
|
168
168
|
:name: San Marino
|
169
169
|
:states: {}
|
170
170
|
|
171
|
-
VI:
|
171
|
+
VI:
|
172
172
|
:name: Virgin Islands (U.S.)
|
173
173
|
:states: {}
|
174
174
|
|
175
|
-
YE:
|
175
|
+
YE:
|
176
176
|
:name: Yemen
|
177
177
|
:states: {}
|
178
178
|
|
179
|
-
CL:
|
179
|
+
CL:
|
180
180
|
:name: Chile
|
181
181
|
:states: {}
|
182
182
|
|
183
|
-
IE:
|
183
|
+
IE:
|
184
184
|
:name: Ireland
|
185
185
|
:states: {}
|
186
186
|
|
187
|
-
LA:
|
187
|
+
LA:
|
188
188
|
:name: Laos
|
189
189
|
:states: {}
|
190
190
|
|
191
|
-
MU:
|
191
|
+
MU:
|
192
192
|
:name: Mauritius
|
193
193
|
:states: {}
|
194
194
|
|
195
|
-
SN:
|
195
|
+
SN:
|
196
196
|
:name: Senegal
|
197
197
|
:states: {}
|
198
198
|
|
199
|
-
CM:
|
199
|
+
CM:
|
200
200
|
:name: Cameroon
|
201
201
|
:states: {}
|
202
202
|
|
203
|
-
FI:
|
203
|
+
FI:
|
204
204
|
:name: Finland
|
205
205
|
:states: {}
|
206
206
|
|
207
|
-
LB:
|
207
|
+
LB:
|
208
208
|
:name: Lebanon
|
209
209
|
:states: {}
|
210
210
|
|
211
|
-
MV:
|
211
|
+
MV:
|
212
212
|
:name: Maldives
|
213
213
|
:states: {}
|
214
214
|
|
215
|
-
PR:
|
215
|
+
PR:
|
216
216
|
:name: Puerto Rico
|
217
217
|
:states: {}
|
218
218
|
|
219
|
-
SO:
|
219
|
+
SO:
|
220
220
|
:name: Somalia
|
221
221
|
:states: {}
|
222
222
|
|
223
|
-
CN:
|
223
|
+
CN:
|
224
224
|
:name: China
|
225
225
|
:states: {}
|
226
226
|
|
227
|
-
FJ:
|
227
|
+
FJ:
|
228
228
|
:name: Fiji
|
229
229
|
:states: {}
|
230
230
|
|
231
|
-
LC:
|
231
|
+
LC:
|
232
232
|
:name: Saint Lucia
|
233
233
|
:states: {}
|
234
234
|
|
235
|
-
MW:
|
235
|
+
MW:
|
236
236
|
:name: Malawi
|
237
237
|
:states: {}
|
238
238
|
|
239
|
-
PS:
|
239
|
+
PS:
|
240
240
|
:name: Palestinian Territory, Occupied
|
241
241
|
:states: {}
|
242
242
|
|
243
|
-
CO:
|
243
|
+
CO:
|
244
244
|
:name: Colombia
|
245
245
|
:states: {}
|
246
246
|
|
247
|
-
FK:
|
247
|
+
FK:
|
248
248
|
:name: Falkland Islands (Malvinas)
|
249
249
|
:states: {}
|
250
250
|
|
251
|
-
MX:
|
251
|
+
MX:
|
252
252
|
:name: Mexico
|
253
253
|
:states: {}
|
254
254
|
|
255
|
-
PT:
|
255
|
+
PT:
|
256
256
|
:name: Portugal
|
257
257
|
:states: {}
|
258
258
|
|
259
|
-
MY:
|
259
|
+
MY:
|
260
260
|
:name: Malaysia
|
261
261
|
:states: {}
|
262
262
|
|
263
|
-
SR:
|
263
|
+
SR:
|
264
264
|
:name: Suriname
|
265
265
|
:states: {}
|
266
266
|
|
267
|
-
VN:
|
267
|
+
VN:
|
268
268
|
:name: Viet Nam
|
269
269
|
:states: {}
|
270
270
|
|
271
|
-
FM:
|
271
|
+
FM:
|
272
272
|
:name: Micronesia
|
273
273
|
:states: {}
|
274
274
|
|
275
|
-
MZ:
|
275
|
+
MZ:
|
276
276
|
:name: Mozambique
|
277
277
|
:states: {}
|
278
278
|
|
279
|
-
CR:
|
279
|
+
CR:
|
280
280
|
:name: Costa Rica
|
281
281
|
:states: {}
|
282
282
|
|
283
|
-
PW:
|
283
|
+
PW:
|
284
284
|
:name: Palau
|
285
285
|
:states: {}
|
286
286
|
|
287
|
-
CS:
|
287
|
+
CS:
|
288
288
|
:name: Czechoslovakia (former)
|
289
289
|
:states: {}
|
290
290
|
|
291
|
-
FO:
|
291
|
+
FO:
|
292
292
|
:name: Faroe Islands
|
293
293
|
:states: {}
|
294
294
|
|
295
|
-
ST:
|
295
|
+
ST:
|
296
296
|
:name: Sao Tome and Principe
|
297
297
|
:states: {}
|
298
298
|
|
299
|
-
IL:
|
299
|
+
IL:
|
300
300
|
:name: Israel
|
301
301
|
:states: {}
|
302
302
|
|
303
|
-
LI:
|
303
|
+
LI:
|
304
304
|
:name: Liechtenstein
|
305
305
|
:states: {}
|
306
306
|
|
307
|
-
PY:
|
307
|
+
PY:
|
308
308
|
:name: Paraguay
|
309
309
|
:states: {}
|
310
310
|
|
311
|
-
SU:
|
311
|
+
SU:
|
312
312
|
:name: USSR (former)
|
313
313
|
:states: {}
|
314
314
|
|
315
|
-
BA:
|
315
|
+
BA:
|
316
316
|
:name: Bosnia and Herzegovina
|
317
317
|
:states: {}
|
318
318
|
|
319
|
-
CU:
|
319
|
+
CU:
|
320
320
|
:name: Cuba
|
321
321
|
:states: {}
|
322
322
|
|
323
|
-
IM:
|
323
|
+
IM:
|
324
324
|
:name: Isle of Man
|
325
325
|
:states: {}
|
326
326
|
|
327
|
-
SV:
|
327
|
+
SV:
|
328
328
|
:name: El Salvador
|
329
329
|
:states: {}
|
330
330
|
|
331
|
-
CV:
|
331
|
+
CV:
|
332
332
|
:name: Cape Verde
|
333
333
|
:states: {}
|
334
334
|
|
335
|
-
FR:
|
335
|
+
FR:
|
336
336
|
:name: France
|
337
337
|
:states: {}
|
338
338
|
|
339
|
-
IN:
|
339
|
+
IN:
|
340
340
|
:name: India
|
341
341
|
:states:
|
342
342
|
AP: Andhra Pradesh
|
@@ -368,245 +368,245 @@
|
|
368
368
|
UP: Uttar Pradesh
|
369
369
|
WB: West Bengal
|
370
370
|
|
371
|
-
LK:
|
371
|
+
LK:
|
372
372
|
:name: Sri Lanka
|
373
373
|
:states: {}
|
374
374
|
|
375
|
-
BB:
|
375
|
+
BB:
|
376
376
|
:name: Barbados
|
377
377
|
:states: {}
|
378
378
|
|
379
|
-
IO:
|
379
|
+
IO:
|
380
380
|
:name: British Indian Ocean Territory
|
381
381
|
:states: {}
|
382
382
|
|
383
|
-
VU:
|
383
|
+
VU:
|
384
384
|
:name: Vanuatu
|
385
385
|
:states: {}
|
386
386
|
|
387
|
-
CX:
|
387
|
+
CX:
|
388
388
|
:name: Christmas Island
|
389
389
|
:states: {}
|
390
390
|
|
391
|
-
RE:
|
391
|
+
RE:
|
392
392
|
:name: Reunion
|
393
393
|
:states: {}
|
394
394
|
|
395
|
-
UA:
|
395
|
+
UA:
|
396
396
|
:name: Ukraine
|
397
397
|
:states: {}
|
398
398
|
|
399
|
-
SY:
|
399
|
+
SY:
|
400
400
|
:name: Syria
|
401
401
|
:states: {}
|
402
402
|
|
403
|
-
CY:
|
403
|
+
CY:
|
404
404
|
:name: Cyprus
|
405
405
|
:states: {}
|
406
406
|
|
407
|
-
IQ:
|
407
|
+
IQ:
|
408
408
|
:name: Iraq
|
409
409
|
:states: {}
|
410
410
|
|
411
|
-
SZ:
|
411
|
+
SZ:
|
412
412
|
:name: Swaziland
|
413
413
|
:states: {}
|
414
414
|
|
415
|
-
BD:
|
415
|
+
BD:
|
416
416
|
:name: Bangladesh
|
417
417
|
:states: {}
|
418
418
|
|
419
|
-
CZ:
|
419
|
+
CZ:
|
420
420
|
:name: Czech Republic
|
421
421
|
:states: {}
|
422
422
|
|
423
|
-
IR:
|
423
|
+
IR:
|
424
424
|
:name: Iran
|
425
425
|
:states: {}
|
426
426
|
|
427
|
-
YT:
|
427
|
+
YT:
|
428
428
|
:name: Mayotte
|
429
429
|
:states: {}
|
430
430
|
|
431
|
-
BE:
|
431
|
+
BE:
|
432
432
|
:name: Belgium
|
433
433
|
:states: {}
|
434
434
|
|
435
|
-
IS:
|
435
|
+
IS:
|
436
436
|
:name: Iceland
|
437
437
|
:states: {}
|
438
438
|
|
439
|
-
YU:
|
439
|
+
YU:
|
440
440
|
:name: Yugoslavia (former)
|
441
441
|
:states: {}
|
442
442
|
|
443
|
-
BF:
|
443
|
+
BF:
|
444
444
|
:name: Burkina Faso
|
445
445
|
:states: {}
|
446
446
|
|
447
|
-
EC:
|
447
|
+
EC:
|
448
448
|
:name: Ecuador
|
449
449
|
:states: {}
|
450
450
|
|
451
|
-
FX:
|
451
|
+
FX:
|
452
452
|
:name: France, Metropolitan
|
453
453
|
:states: {}
|
454
454
|
|
455
|
-
IT:
|
455
|
+
IT:
|
456
456
|
:name: Italy
|
457
457
|
:states: {}
|
458
458
|
|
459
|
-
OM:
|
459
|
+
OM:
|
460
460
|
:name: Oman
|
461
461
|
:states: {}
|
462
462
|
|
463
|
-
BG:
|
463
|
+
BG:
|
464
464
|
:name: Bulgaria
|
465
465
|
:states: {}
|
466
466
|
|
467
|
-
BH:
|
467
|
+
BH:
|
468
468
|
:name: Bahrain
|
469
469
|
:states: {}
|
470
470
|
|
471
|
-
LR:
|
471
|
+
LR:
|
472
472
|
:name: Liberia
|
473
473
|
:states: {}
|
474
474
|
|
475
|
-
UG:
|
475
|
+
UG:
|
476
476
|
:name: Uganda
|
477
477
|
:states: {}
|
478
478
|
|
479
|
-
BI:
|
479
|
+
BI:
|
480
480
|
:name: Burundi
|
481
481
|
:states: {}
|
482
482
|
|
483
|
-
EE:
|
483
|
+
EE:
|
484
484
|
:name: Estonia
|
485
485
|
:states: {}
|
486
486
|
|
487
|
-
LS:
|
487
|
+
LS:
|
488
488
|
:name: Lesotho
|
489
489
|
:states: {}
|
490
490
|
|
491
|
-
BJ:
|
491
|
+
BJ:
|
492
492
|
:name: Benin
|
493
493
|
:states: {}
|
494
494
|
|
495
|
-
LT:
|
495
|
+
LT:
|
496
496
|
:name: Lithuania
|
497
497
|
:states: {}
|
498
498
|
|
499
|
-
EG:
|
499
|
+
EG:
|
500
500
|
:name: Egypt
|
501
501
|
:states: {}
|
502
502
|
|
503
|
-
EH:
|
503
|
+
EH:
|
504
504
|
:name: Western Sahara
|
505
505
|
:states: {}
|
506
506
|
|
507
|
-
LU:
|
507
|
+
LU:
|
508
508
|
:name: Luxembourg
|
509
509
|
:states: {}
|
510
510
|
|
511
|
-
RO:
|
511
|
+
RO:
|
512
512
|
:name: Romania
|
513
513
|
:states: {}
|
514
514
|
|
515
|
-
UK:
|
515
|
+
UK:
|
516
516
|
:name: United Kingdom
|
517
517
|
:states: {}
|
518
518
|
|
519
|
-
BM:
|
519
|
+
BM:
|
520
520
|
:name: Bermuda
|
521
521
|
:states: {}
|
522
522
|
|
523
|
-
LV:
|
523
|
+
LV:
|
524
524
|
:name: Latvia
|
525
525
|
:states: {}
|
526
526
|
|
527
|
-
BN:
|
527
|
+
BN:
|
528
528
|
:name: Brunei Darussalam
|
529
529
|
:states: {}
|
530
530
|
|
531
|
-
UM:
|
531
|
+
UM:
|
532
532
|
:name: US Minor Outlying Islands
|
533
533
|
:states: {}
|
534
534
|
|
535
|
-
BO:
|
535
|
+
BO:
|
536
536
|
:name: Bolivia
|
537
537
|
:states: {}
|
538
538
|
|
539
|
-
KE:
|
539
|
+
KE:
|
540
540
|
:name: Kenya
|
541
541
|
:states: {}
|
542
542
|
|
543
|
-
NA:
|
543
|
+
NA:
|
544
544
|
:name: Namibia
|
545
545
|
:states: {}
|
546
546
|
|
547
|
-
LY:
|
547
|
+
LY:
|
548
548
|
:name: Libya
|
549
549
|
:states: {}
|
550
550
|
|
551
|
-
BR:
|
551
|
+
BR:
|
552
552
|
:name: Brazil
|
553
553
|
:states: {}
|
554
554
|
|
555
|
-
KG:
|
555
|
+
KG:
|
556
556
|
:name: Kyrgyzstan
|
557
557
|
:states: {}
|
558
558
|
|
559
|
-
NC:
|
559
|
+
NC:
|
560
560
|
:name: New Caledonia
|
561
561
|
:states: {}
|
562
562
|
|
563
|
-
RS:
|
563
|
+
RS:
|
564
564
|
:name: Serbia
|
565
565
|
:states: {}
|
566
566
|
|
567
|
-
BS:
|
567
|
+
BS:
|
568
568
|
:name: Bahamas
|
569
569
|
:states: {}
|
570
570
|
|
571
|
-
HK:
|
571
|
+
HK:
|
572
572
|
:name: Hong Kong
|
573
573
|
:states: {}
|
574
574
|
|
575
|
-
KH:
|
575
|
+
KH:
|
576
576
|
:name: Cambodia
|
577
577
|
:states: {}
|
578
578
|
|
579
|
-
BT:
|
579
|
+
BT:
|
580
580
|
:name: Bhutan
|
581
581
|
:states: {}
|
582
582
|
|
583
|
-
KI:
|
583
|
+
KI:
|
584
584
|
:name: Kiribati
|
585
585
|
:states: {}
|
586
586
|
|
587
|
-
NE:
|
587
|
+
NE:
|
588
588
|
:name: Niger
|
589
589
|
:states: {}
|
590
590
|
|
591
|
-
QA:
|
591
|
+
QA:
|
592
592
|
:name: Qatar
|
593
593
|
:states: {}
|
594
594
|
|
595
|
-
RU:
|
595
|
+
RU:
|
596
596
|
:name: Russian Federation
|
597
597
|
:states: {}
|
598
598
|
|
599
|
-
HM:
|
599
|
+
HM:
|
600
600
|
:name: Heard and McDonald Islands
|
601
601
|
:states: {}
|
602
602
|
|
603
|
-
NF:
|
603
|
+
NF:
|
604
604
|
:name: Norfolk Island
|
605
605
|
:states: {}
|
606
606
|
|
607
|
-
US:
|
607
|
+
US:
|
608
608
|
:name: United States
|
609
|
-
:states:
|
609
|
+
:states:
|
610
610
|
VA: Virginia
|
611
611
|
NY: New York
|
612
612
|
ND: North Dakota
|
@@ -666,127 +666,128 @@
|
|
666
666
|
AK: Alaska
|
667
667
|
LA: Louisiana
|
668
668
|
NC: North Carolina
|
669
|
-
|
669
|
+
AE: Armed Forces
|
670
|
+
BV:
|
670
671
|
:name: Bouvet Island
|
671
672
|
:states: {}
|
672
673
|
|
673
|
-
ER:
|
674
|
+
ER:
|
674
675
|
:name: Eritrea
|
675
676
|
:states: {}
|
676
677
|
|
677
|
-
HN:
|
678
|
+
HN:
|
678
679
|
:name: Honduras
|
679
680
|
:states: {}
|
680
681
|
|
681
|
-
NG:
|
682
|
+
NG:
|
682
683
|
:name: Nigeria
|
683
684
|
:states: {}
|
684
685
|
|
685
|
-
RW:
|
686
|
+
RW:
|
686
687
|
:name: Rwanda
|
687
688
|
:states: {}
|
688
689
|
|
689
|
-
BW:
|
690
|
+
BW:
|
690
691
|
:name: Botswana
|
691
692
|
:states: {}
|
692
693
|
|
693
|
-
ES:
|
694
|
+
ES:
|
694
695
|
:name: Spain
|
695
696
|
:states: {}
|
696
697
|
|
697
|
-
AC:
|
698
|
+
AC:
|
698
699
|
:name: Ascension Island
|
699
700
|
:states: {}
|
700
701
|
|
701
|
-
ET:
|
702
|
+
ET:
|
702
703
|
:name: Ethiopia
|
703
704
|
:states: {}
|
704
705
|
|
705
|
-
NI:
|
706
|
+
NI:
|
706
707
|
:name: Nicaragua
|
707
708
|
:states: {}
|
708
709
|
|
709
|
-
AD:
|
710
|
+
AD:
|
710
711
|
:name: Andorra
|
711
712
|
:states: {}
|
712
713
|
|
713
|
-
BY:
|
714
|
+
BY:
|
714
715
|
:name: Belarus
|
715
716
|
:states: {}
|
716
717
|
|
717
|
-
KM:
|
718
|
+
KM:
|
718
719
|
:name: Comoros
|
719
720
|
:states: {}
|
720
721
|
|
721
|
-
AE:
|
722
|
+
AE:
|
722
723
|
:name: United Arab Emirates
|
723
724
|
:states: {}
|
724
725
|
|
725
|
-
BZ:
|
726
|
+
BZ:
|
726
727
|
:name: Belize
|
727
728
|
:states: {}
|
728
729
|
|
729
|
-
HR:
|
730
|
+
HR:
|
730
731
|
:name: Croatia (Hrvatska)
|
731
732
|
:states: {}
|
732
733
|
|
733
|
-
KN:
|
734
|
+
KN:
|
734
735
|
:name: Saint Kitts and Nevis
|
735
736
|
:states: {}
|
736
737
|
|
737
|
-
TC:
|
738
|
+
TC:
|
738
739
|
:name: Turks and Caicos Islands
|
739
740
|
:states: {}
|
740
741
|
|
741
|
-
AF:
|
742
|
+
AF:
|
742
743
|
:name: Afghanistan
|
743
744
|
:states: {}
|
744
745
|
|
745
|
-
NL:
|
746
|
+
NL:
|
746
747
|
:name: Netherlands
|
747
748
|
:states: {}
|
748
749
|
|
749
|
-
TD:
|
750
|
+
TD:
|
750
751
|
:name: Chad
|
751
752
|
:states: {}
|
752
753
|
|
753
|
-
AG:
|
754
|
+
AG:
|
754
755
|
:name: Antigua and Barbuda
|
755
756
|
:states: {}
|
756
757
|
|
757
|
-
HT:
|
758
|
+
HT:
|
758
759
|
:name: Haiti
|
759
760
|
:states: {}
|
760
761
|
|
761
|
-
KP:
|
762
|
+
KP:
|
762
763
|
:name: Korea (North)
|
763
764
|
:states: {}
|
764
765
|
|
765
|
-
UY:
|
766
|
+
UY:
|
766
767
|
:name: Uruguay
|
767
768
|
:states: {}
|
768
769
|
|
769
|
-
GA:
|
770
|
+
GA:
|
770
771
|
:name: Gabon
|
771
772
|
:states: {}
|
772
773
|
|
773
|
-
HU:
|
774
|
+
HU:
|
774
775
|
:name: Hungary
|
775
776
|
:states: {}
|
776
777
|
|
777
|
-
TF:
|
778
|
+
TF:
|
778
779
|
:name: French Southern Territories
|
779
780
|
:states: {}
|
780
781
|
|
781
|
-
UZ:
|
782
|
+
UZ:
|
782
783
|
:name: Uzbekistan
|
783
784
|
:states: {}
|
784
785
|
|
785
|
-
AI:
|
786
|
+
AI:
|
786
787
|
:name: Anguilla
|
787
788
|
:states: {}
|
788
789
|
|
789
|
-
DE:
|
790
|
+
DE:
|
790
791
|
:name: Germany
|
791
792
|
:states:
|
792
793
|
BW: Baden-Württemberg
|
@@ -806,193 +807,193 @@
|
|
806
807
|
SH: Schleswig-Holstein
|
807
808
|
TH: Thuringia
|
808
809
|
|
809
|
-
GB:
|
810
|
+
GB:
|
810
811
|
:name: Great Britain (UK)
|
811
812
|
:states: {}
|
812
813
|
|
813
|
-
KR:
|
814
|
+
KR:
|
814
815
|
:name: Korea (South)
|
815
816
|
:states: {}
|
816
817
|
|
817
|
-
TG:
|
818
|
+
TG:
|
818
819
|
:name: Togo
|
819
820
|
:states: {}
|
820
821
|
|
821
|
-
TH:
|
822
|
+
TH:
|
822
823
|
:name: Thailand
|
823
824
|
:states: {}
|
824
825
|
|
825
|
-
GD:
|
826
|
+
GD:
|
826
827
|
:name: Grenada
|
827
828
|
:states: {}
|
828
829
|
|
829
|
-
NP:
|
830
|
+
NP:
|
830
831
|
:name: Nepal
|
831
832
|
:states: {}
|
832
833
|
|
833
|
-
ZA:
|
834
|
+
ZA:
|
834
835
|
:name: South Africa
|
835
836
|
:states: {}
|
836
837
|
|
837
|
-
AL:
|
838
|
+
AL:
|
838
839
|
:name: Albania
|
839
840
|
:states: {}
|
840
841
|
|
841
|
-
GE:
|
842
|
+
GE:
|
842
843
|
:name: Georgia
|
843
844
|
:states: {}
|
844
845
|
|
845
|
-
TJ:
|
846
|
+
TJ:
|
846
847
|
:name: Tajikistan
|
847
848
|
:states: {}
|
848
849
|
|
849
|
-
WF:
|
850
|
+
WF:
|
850
851
|
:name: Wallis and Futuna Islands
|
851
852
|
:states: {}
|
852
853
|
|
853
|
-
AM:
|
854
|
+
AM:
|
854
855
|
:name: Armenia
|
855
856
|
:states: {}
|
856
857
|
|
857
|
-
GF:
|
858
|
+
GF:
|
858
859
|
:name: French Guiana
|
859
860
|
:states: {}
|
860
861
|
|
861
|
-
NR:
|
862
|
+
NR:
|
862
863
|
:name: Nauru
|
863
864
|
:states: {}
|
864
865
|
|
865
|
-
TK:
|
866
|
+
TK:
|
866
867
|
:name: Tokelau
|
867
868
|
:states: {}
|
868
869
|
|
869
|
-
AN:
|
870
|
+
AN:
|
870
871
|
:name: Netherlands Antilles
|
871
872
|
:states: {}
|
872
873
|
|
873
|
-
DJ:
|
874
|
+
DJ:
|
874
875
|
:name: Djibouti
|
875
876
|
:states: {}
|
876
877
|
|
877
|
-
KW:
|
878
|
+
KW:
|
878
879
|
:name: Kuwait
|
879
880
|
:states: {}
|
880
881
|
|
881
|
-
AO:
|
882
|
+
AO:
|
882
883
|
:name: Angola
|
883
884
|
:states: {}
|
884
885
|
|
885
|
-
DK:
|
886
|
+
DK:
|
886
887
|
:name: Denmark
|
887
888
|
:states: {}
|
888
889
|
|
889
|
-
NT:
|
890
|
+
NT:
|
890
891
|
:name: Neutral Zone
|
891
892
|
:states: {}
|
892
893
|
|
893
|
-
TM:
|
894
|
+
TM:
|
894
895
|
:name: Turkmenistan
|
895
896
|
:states: {}
|
896
897
|
|
897
|
-
GH:
|
898
|
+
GH:
|
898
899
|
:name: Ghana
|
899
900
|
:states: {}
|
900
901
|
|
901
|
-
JE:
|
902
|
+
JE:
|
902
903
|
:name: Jersey
|
903
904
|
:states: {}
|
904
905
|
|
905
|
-
MA:
|
906
|
+
MA:
|
906
907
|
:name: Morocco
|
907
908
|
:states: {}
|
908
909
|
|
909
|
-
KY:
|
910
|
+
KY:
|
910
911
|
:name: Cayman Islands
|
911
912
|
:states: {}
|
912
913
|
|
913
|
-
NU:
|
914
|
+
NU:
|
914
915
|
:name: Niue
|
915
916
|
:states: {}
|
916
917
|
|
917
|
-
TN:
|
918
|
+
TN:
|
918
919
|
:name: Tunisia
|
919
920
|
:states: {}
|
920
921
|
|
921
|
-
DM:
|
922
|
+
DM:
|
922
923
|
:name: Dominica
|
923
924
|
:states: {}
|
924
925
|
|
925
|
-
GI:
|
926
|
+
GI:
|
926
927
|
:name: Gibraltar
|
927
928
|
:states: {}
|
928
929
|
|
929
|
-
KZ:
|
930
|
+
KZ:
|
930
931
|
:name: Kazakhstan
|
931
932
|
:states: {}
|
932
933
|
|
933
|
-
TO:
|
934
|
+
TO:
|
934
935
|
:name: Tonga
|
935
936
|
:states: {}
|
936
937
|
|
937
|
-
AQ:
|
938
|
+
AQ:
|
938
939
|
:name: Antarctica
|
939
940
|
:states: {}
|
940
941
|
|
941
|
-
MC:
|
942
|
+
MC:
|
942
943
|
:name: Monaco
|
943
944
|
:states: {}
|
944
945
|
|
945
|
-
TP:
|
946
|
+
TP:
|
946
947
|
:name: East Timor
|
947
948
|
:states: {}
|
948
949
|
|
949
|
-
AR:
|
950
|
+
AR:
|
950
951
|
:name: Argentina
|
951
952
|
:states: {}
|
952
953
|
|
953
|
-
MD:
|
954
|
+
MD:
|
954
955
|
:name: Moldova
|
955
956
|
:states: {}
|
956
957
|
|
957
|
-
AS:
|
958
|
+
AS:
|
958
959
|
:name: American Samoa
|
959
960
|
:states: {}
|
960
961
|
|
961
|
-
DO:
|
962
|
+
DO:
|
962
963
|
:name: Dominican Republic
|
963
964
|
:states: {}
|
964
965
|
|
965
|
-
ME:
|
966
|
+
ME:
|
966
967
|
:name: Montenegro
|
967
968
|
:states: {}
|
968
969
|
|
969
|
-
PA:
|
970
|
+
PA:
|
970
971
|
:name: Panama
|
971
972
|
:states: {}
|
972
973
|
|
973
|
-
TR:
|
974
|
+
TR:
|
974
975
|
:name: Turkey
|
975
976
|
:states: {}
|
976
977
|
|
977
|
-
AT:
|
978
|
+
AT:
|
978
979
|
:name: Austria
|
979
980
|
:states: {}
|
980
981
|
|
981
|
-
GL:
|
982
|
+
GL:
|
982
983
|
:name: Greenland
|
983
984
|
:states: {}
|
984
985
|
|
985
|
-
GM:
|
986
|
+
GM:
|
986
987
|
:name: Gambia
|
987
988
|
:states: {}
|
988
989
|
|
989
|
-
NZ:
|
990
|
+
NZ:
|
990
991
|
:name: New Zealand (Aotearoa)
|
991
992
|
:states: {}
|
992
993
|
|
993
|
-
AU:
|
994
|
+
AU:
|
994
995
|
:name: Australia
|
995
|
-
:states:
|
996
|
+
:states:
|
996
997
|
N T: Northern Territory
|
997
998
|
W A: Western Australia
|
998
999
|
SA: South Australia
|
@@ -1001,57 +1002,57 @@
|
|
1001
1002
|
ACT: Australian Capital Territory
|
1002
1003
|
NSW: New South Wales
|
1003
1004
|
QLD: Queensland
|
1004
|
-
GN:
|
1005
|
+
GN:
|
1005
1006
|
:name: Guinea
|
1006
1007
|
:states: {}
|
1007
1008
|
|
1008
|
-
MG:
|
1009
|
+
MG:
|
1009
1010
|
:name: Madagascar
|
1010
1011
|
:states: {}
|
1011
1012
|
|
1012
|
-
ZM:
|
1013
|
+
ZM:
|
1013
1014
|
:name: Zambia
|
1014
1015
|
:states: {}
|
1015
1016
|
|
1016
|
-
MH:
|
1017
|
+
MH:
|
1017
1018
|
:name: Marshall Islands
|
1018
1019
|
:states: {}
|
1019
1020
|
|
1020
|
-
TT:
|
1021
|
+
TT:
|
1021
1022
|
:name: Trinidad and Tobago
|
1022
1023
|
:states: {}
|
1023
1024
|
|
1024
|
-
AW:
|
1025
|
+
AW:
|
1025
1026
|
:name: Aruba
|
1026
1027
|
:states: {}
|
1027
1028
|
|
1028
|
-
GP:
|
1029
|
+
GP:
|
1029
1030
|
:name: Guadeloupe
|
1030
1031
|
:states: {}
|
1031
1032
|
|
1032
|
-
AX:
|
1033
|
+
AX:
|
1033
1034
|
:name: Aland Islands
|
1034
1035
|
:states: {}
|
1035
1036
|
|
1036
|
-
SA:
|
1037
|
+
SA:
|
1037
1038
|
:name: Saudi Arabia
|
1038
1039
|
:states: {}
|
1039
1040
|
|
1040
|
-
PE:
|
1041
|
+
PE:
|
1041
1042
|
:name: Peru
|
1042
1043
|
:states: {}
|
1043
1044
|
|
1044
|
-
JM:
|
1045
|
+
JM:
|
1045
1046
|
:name: Jamaica
|
1046
1047
|
:states: {}
|
1047
1048
|
|
1048
|
-
GQ:
|
1049
|
+
GQ:
|
1049
1050
|
:name: Equatorial Guinea
|
1050
1051
|
:states: {}
|
1051
1052
|
|
1052
|
-
CA:
|
1053
|
+
CA:
|
1053
1054
|
:name: Canada
|
1054
|
-
:states:
|
1055
|
+
:states:
|
1055
1056
|
AB: Alberta
|
1056
1057
|
BC: British Columbia
|
1057
1058
|
"ON": Ontario
|
@@ -1065,63 +1066,63 @@
|
|
1065
1066
|
NB: New Brunswick
|
1066
1067
|
PE: Prince Edward Island
|
1067
1068
|
MB: Manitoba
|
1068
|
-
WS:
|
1069
|
+
WS:
|
1069
1070
|
:name: Samoa
|
1070
1071
|
:states: {}
|
1071
1072
|
|
1072
|
-
TV:
|
1073
|
+
TV:
|
1073
1074
|
:name: Tuvalu
|
1074
1075
|
:states: {}
|
1075
1076
|
|
1076
|
-
SB:
|
1077
|
+
SB:
|
1077
1078
|
:name: Solomon Islands
|
1078
1079
|
:states: {}
|
1079
1080
|
|
1080
|
-
PF:
|
1081
|
+
PF:
|
1081
1082
|
:name: French Polynesia
|
1082
1083
|
:states: {}
|
1083
1084
|
|
1084
|
-
PG:
|
1085
|
+
PG:
|
1085
1086
|
:name: Papua New Guinea
|
1086
1087
|
:states: {}
|
1087
1088
|
|
1088
|
-
MK:
|
1089
|
+
MK:
|
1089
1090
|
:name: F.Y.R.O.M. (Macedonia)
|
1090
1091
|
:states: {}
|
1091
1092
|
|
1092
|
-
GR:
|
1093
|
+
GR:
|
1093
1094
|
:name: Greece
|
1094
1095
|
:states: {}
|
1095
1096
|
|
1096
|
-
AZ:
|
1097
|
+
AZ:
|
1097
1098
|
:name: Azerbaijan
|
1098
1099
|
:states: {}
|
1099
1100
|
|
1100
|
-
TW:
|
1101
|
+
TW:
|
1101
1102
|
:name: Taiwan
|
1102
1103
|
:states: {}
|
1103
1104
|
|
1104
|
-
SC:
|
1105
|
+
SC:
|
1105
1106
|
:name: Seychelles
|
1106
1107
|
:states: {}
|
1107
1108
|
|
1108
|
-
PH:
|
1109
|
+
PH:
|
1109
1110
|
:name: Philippines
|
1110
1111
|
:states: {}
|
1111
1112
|
|
1112
|
-
JO:
|
1113
|
+
JO:
|
1113
1114
|
:name: Jordan
|
1114
1115
|
:states: {}
|
1115
1116
|
|
1116
|
-
SD:
|
1117
|
+
SD:
|
1117
1118
|
:name: Sudan
|
1118
1119
|
:states: {}
|
1119
1120
|
|
1120
|
-
GS:
|
1121
|
+
GS:
|
1121
1122
|
:name: S. Georgia and S. Sandwich Isls.
|
1122
1123
|
:states: {}
|
1123
1124
|
|
1124
|
-
ML:
|
1125
|
+
ML:
|
1125
1126
|
:name: Mali
|
1126
1127
|
:states: {}
|
1127
1128
|
|