countries 3.0.0 → 3.0.1
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.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +38 -0
- data/README.markdown +5 -5
- data/Rakefile +3 -2
- data/countries.gemspec +1 -2
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/ab.json +1 -0
- data/lib/countries/cache/locales/af.json +1 -1
- data/lib/countries/cache/locales/ak.json +1 -0
- data/lib/countries/cache/locales/am.json +1 -1
- data/lib/countries/cache/locales/an.json +1 -0
- data/lib/countries/cache/locales/ar.json +1 -1
- data/lib/countries/cache/locales/as.json +1 -1
- data/lib/countries/cache/locales/ay.json +1 -0
- data/lib/countries/cache/locales/az.json +1 -1
- data/lib/countries/cache/locales/ba.json +1 -0
- data/lib/countries/cache/locales/be.json +1 -1
- data/lib/countries/cache/locales/bg.json +1 -1
- data/lib/countries/cache/locales/bi.json +1 -0
- data/lib/countries/cache/locales/bn-in.json +1 -0
- data/lib/countries/cache/locales/bn.json +1 -1
- data/lib/countries/cache/locales/br.json +1 -1
- data/lib/countries/cache/locales/bs.json +1 -1
- data/lib/countries/cache/locales/ca.json +1 -1
- data/lib/countries/cache/locales/ce.json +1 -0
- data/lib/countries/cache/locales/ch.json +1 -0
- data/lib/countries/cache/locales/cs.json +1 -1
- data/lib/countries/cache/locales/cv.json +1 -0
- data/lib/countries/cache/locales/cy.json +1 -1
- data/lib/countries/cache/locales/da.json +1 -1
- data/lib/countries/cache/locales/de.json +1 -1
- data/lib/countries/cache/locales/dv.json +1 -0
- data/lib/countries/cache/locales/dz.json +1 -1
- data/lib/countries/cache/locales/ee.json +1 -0
- data/lib/countries/cache/locales/el.json +1 -1
- data/lib/countries/cache/locales/en.json +1 -1
- data/lib/countries/cache/locales/eo.json +1 -1
- data/lib/countries/cache/locales/es.json +1 -1
- data/lib/countries/cache/locales/et.json +1 -1
- data/lib/countries/cache/locales/eu.json +1 -1
- data/lib/countries/cache/locales/fa.json +1 -1
- data/lib/countries/cache/locales/ff.json +1 -0
- data/lib/countries/cache/locales/fi.json +1 -1
- data/lib/countries/cache/locales/fo.json +1 -1
- data/lib/countries/cache/locales/fr.json +1 -1
- data/lib/countries/cache/locales/fy.json +1 -0
- data/lib/countries/cache/locales/ga.json +1 -1
- data/lib/countries/cache/locales/gl.json +1 -1
- data/lib/countries/cache/locales/gn.json +1 -0
- data/lib/countries/cache/locales/gu.json +1 -1
- data/lib/countries/cache/locales/gv.json +1 -0
- data/lib/countries/cache/locales/ha.json +1 -0
- data/lib/countries/cache/locales/he.json +1 -1
- data/lib/countries/cache/locales/hi.json +1 -1
- data/lib/countries/cache/locales/hr.json +1 -1
- data/lib/countries/cache/locales/ht.json +1 -0
- data/lib/countries/cache/locales/hu.json +1 -1
- data/lib/countries/cache/locales/hy.json +1 -1
- data/lib/countries/cache/locales/ia.json +1 -1
- data/lib/countries/cache/locales/id.json +1 -1
- data/lib/countries/cache/locales/io.json +1 -0
- data/lib/countries/cache/locales/is.json +1 -1
- data/lib/countries/cache/locales/it.json +1 -1
- data/lib/countries/cache/locales/iu.json +1 -0
- data/lib/countries/cache/locales/ja.json +1 -1
- data/lib/countries/cache/locales/ka.json +1 -1
- data/lib/countries/cache/locales/ki.json +1 -0
- data/lib/countries/cache/locales/kk.json +1 -1
- data/lib/countries/cache/locales/kl.json +1 -0
- data/lib/countries/cache/locales/km.json +1 -1
- data/lib/countries/cache/locales/kn.json +1 -1
- data/lib/countries/cache/locales/ko.json +1 -1
- data/lib/countries/cache/locales/ku.json +1 -1
- data/lib/countries/cache/locales/kv.json +1 -0
- data/lib/countries/cache/locales/kw.json +1 -0
- data/lib/countries/cache/locales/ky.json +1 -0
- data/lib/countries/cache/locales/lo.json +1 -0
- data/lib/countries/cache/locales/lt.json +1 -1
- data/lib/countries/cache/locales/lv.json +1 -1
- data/lib/countries/cache/locales/mi.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/ml.json +1 -1
- data/lib/countries/cache/locales/mn.json +1 -1
- data/lib/countries/cache/locales/mr.json +1 -1
- data/lib/countries/cache/locales/ms.json +1 -1
- data/lib/countries/cache/locales/mt.json +1 -1
- data/lib/countries/cache/locales/my.json +1 -0
- data/lib/countries/cache/locales/na.json +1 -0
- data/lib/countries/cache/locales/nb.json +1 -1
- data/lib/countries/cache/locales/ne.json +1 -1
- data/lib/countries/cache/locales/nl.json +1 -1
- data/lib/countries/cache/locales/nn.json +1 -1
- data/lib/countries/cache/locales/nv.json +1 -0
- data/lib/countries/cache/locales/oc.json +1 -1
- data/lib/countries/cache/locales/or.json +1 -1
- data/lib/countries/cache/locales/pa.json +1 -1
- data/lib/countries/cache/locales/pi.json +1 -0
- data/lib/countries/cache/locales/pl.json +1 -1
- data/lib/countries/cache/locales/ps.json +1 -1
- data/lib/countries/cache/locales/pt-br.json +1 -0
- data/lib/countries/cache/locales/pt.json +1 -1
- data/lib/countries/cache/locales/ro.json +1 -1
- data/lib/countries/cache/locales/ru.json +1 -1
- data/lib/countries/cache/locales/rw.json +1 -1
- data/lib/countries/cache/locales/sc.json +1 -0
- data/lib/countries/cache/locales/sd.json +1 -0
- data/lib/countries/cache/locales/si.json +1 -1
- data/lib/countries/cache/locales/sk.json +1 -1
- data/lib/countries/cache/locales/sl.json +1 -1
- data/lib/countries/cache/locales/so.json +1 -1
- data/lib/countries/cache/locales/sq.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/cache/locales/sv.json +1 -1
- data/lib/countries/cache/locales/sw.json +1 -1
- data/lib/countries/cache/locales/ta.json +1 -1
- data/lib/countries/cache/locales/te.json +1 -1
- data/lib/countries/cache/locales/tg.json +1 -0
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/cache/locales/ti.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/cache/locales/tl.json +1 -1
- data/lib/countries/cache/locales/tr.json +1 -1
- data/lib/countries/cache/locales/tt.json +1 -1
- data/lib/countries/cache/locales/ug.json +1 -1
- data/lib/countries/cache/locales/uk.json +1 -1
- data/lib/countries/cache/locales/ur.json +1 -0
- data/lib/countries/cache/locales/uz.json +1 -0
- data/lib/countries/cache/locales/ve.json +1 -1
- data/lib/countries/cache/locales/vi.json +1 -1
- data/lib/countries/cache/locales/wa.json +1 -1
- data/lib/countries/cache/locales/wo.json +1 -1
- data/lib/countries/cache/locales/xh.json +1 -1
- data/lib/countries/cache/locales/yo.json +1 -0
- data/lib/countries/cache/locales/zh-cn.json +1 -0
- data/lib/countries/cache/locales/zh-hk.json +1 -0
- data/lib/countries/cache/locales/zh-tw.json +1 -0
- data/lib/countries/cache/locales/zh.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/country/class_methods.rb +21 -1
- data/lib/countries/data/countries/CZ.yaml +1 -0
- data/lib/countries/data/countries/GB.yaml +2 -2
- data/lib/countries/data/countries/MK.yaml +2 -1
- data/lib/countries/data/countries/MR.yaml +1 -1
- data/lib/countries/data/countries/NL.yaml +1 -0
- data/lib/countries/data/countries/SZ.yaml +1 -1
- data/lib/countries/data/countries/US.yaml +1 -0
- data/lib/countries/data/countries/WS.yaml +1 -1
- data/lib/countries/data/subdivisions/CL.yaml +37 -0
- data/lib/countries/data/subdivisions/FO.yaml +1 -1
- data/lib/countries/data/subdivisions/IE.yaml +85 -50
- data/lib/countries/data/subdivisions/SD.yaml +1 -1
- data/lib/countries/data/translation_corrections.yaml +2 -0
- data/lib/countries/version.rb +1 -1
- data/spec/country_spec.rb +37 -7
- data/spec/subdivision_spec.rb +14 -0
- metadata +46 -8
data/lib/countries/version.rb
CHANGED
data/spec/country_spec.rb
CHANGED
|
@@ -48,7 +48,7 @@ describe ISO3166::Country do
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
it 'should return alternate names' do
|
|
51
|
-
expect(country.names).to eq(['United States', 'Vereinigte Staaten von Amerika', 'États-Unis', 'Estados Unidos', 'アメリカ合衆国', 'Verenigde Staten'])
|
|
51
|
+
expect(country.names).to eq(['United States', 'Murica', 'Vereinigte Staaten von Amerika', 'États-Unis', 'Estados Unidos', 'アメリカ合衆国', 'Verenigde Staten'])
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
it 'should return translations' do
|
|
@@ -322,7 +322,7 @@ describe ISO3166::Country do
|
|
|
322
322
|
countries = ISO3166::Country.all_translated('fr')
|
|
323
323
|
expect(countries).to be_an(Array)
|
|
324
324
|
expect(countries.first).to be_a(String)
|
|
325
|
-
expect(countries.first).to eq('
|
|
325
|
+
expect(countries.first).to eq('Aruba')
|
|
326
326
|
# countries missing the desired locale will not be added to the list
|
|
327
327
|
# so all 250 countries may not be returned, 'fr' returns 249, for example
|
|
328
328
|
expect(countries.size).to eq(NUM_OF_COUNTRIES)
|
|
@@ -332,7 +332,7 @@ describe ISO3166::Country do
|
|
|
332
332
|
countries = ISO3166::Country.all_translated
|
|
333
333
|
expect(countries).to be_an(Array)
|
|
334
334
|
expect(countries.first).to be_a(String)
|
|
335
|
-
expect(countries.first).to eq('
|
|
335
|
+
expect(countries.first).to eq('Aruba')
|
|
336
336
|
expect(countries.size).to eq(NUM_OF_COUNTRIES)
|
|
337
337
|
end
|
|
338
338
|
end
|
|
@@ -397,14 +397,31 @@ describe ISO3166::Country do
|
|
|
397
397
|
countries = ISO3166::Country.new(:de).translation('xxx')
|
|
398
398
|
expect(countries).to be_nil
|
|
399
399
|
end
|
|
400
|
+
|
|
401
|
+
context 'should return variant locales' do
|
|
402
|
+
it 'should return different value for Chinese variants' do
|
|
403
|
+
ISO3166.configuration.locales = [:'zh-cn', :'zh-hk', :'zh-tw']
|
|
404
|
+
name_cn = ISO3166::Country['TW'].translation('zh-cn')
|
|
405
|
+
name_hk = ISO3166::Country['TW'].translation('zh-hk')
|
|
406
|
+
name_tw = ISO3166::Country['TW'].translation('zh-tw')
|
|
407
|
+
expect([name_cn, name_hk, name_tw].uniq.size).to eql 3
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
it 'should return different value for Portuguese variants' do
|
|
411
|
+
ISO3166.configuration.locales = [:pt, :'pt-br']
|
|
412
|
+
name_pt = ISO3166::Country['SG'].translation('pt')
|
|
413
|
+
name_br = ISO3166::Country['SG'].translation('pt-br')
|
|
414
|
+
expect([name_pt, name_br].uniq.size).to eql 2
|
|
415
|
+
end
|
|
416
|
+
end
|
|
400
417
|
end
|
|
401
418
|
|
|
402
419
|
describe 'translations' do
|
|
403
420
|
it 'should return an hash of all country names translated to the selected locale' do
|
|
404
421
|
countries = ISO3166::Country.translations('fr')
|
|
405
422
|
expect(countries).to be_an(Hash)
|
|
406
|
-
expect(countries.first[0]).to eq('
|
|
407
|
-
expect(countries.first).to eq(%w(
|
|
423
|
+
expect(countries.first[0]).to eq('AW')
|
|
424
|
+
expect(countries.first).to eq(%w(AW Aruba))
|
|
408
425
|
# countries missing the desired locale will not be added to the list
|
|
409
426
|
# so all 250 countries may not be returned, 'fr' returns 249, for example
|
|
410
427
|
expect(countries.size).to eq(NUM_OF_COUNTRIES)
|
|
@@ -413,8 +430,8 @@ describe ISO3166::Country do
|
|
|
413
430
|
it 'should return an hash of all country names in English if no locale is passed' do
|
|
414
431
|
countries = ISO3166::Country.translations
|
|
415
432
|
expect(countries).to be_an(Hash)
|
|
416
|
-
expect(countries.first[0]).to eq('
|
|
417
|
-
expect(countries.first).to eq(%w(
|
|
433
|
+
expect(countries.first[0]).to eq('AW')
|
|
434
|
+
expect(countries.first).to eq(%w(AW Aruba))
|
|
418
435
|
expect(countries.size).to eq(NUM_OF_COUNTRIES)
|
|
419
436
|
end
|
|
420
437
|
end
|
|
@@ -502,6 +519,19 @@ describe ISO3166::Country do
|
|
|
502
519
|
expect(spain_data).to be_a Hash
|
|
503
520
|
expect(spain_data.keys).to eq(['ES'])
|
|
504
521
|
end
|
|
522
|
+
|
|
523
|
+
it 'performs reasonably' do
|
|
524
|
+
start = Time.now
|
|
525
|
+
250.times do
|
|
526
|
+
lookup = ['ZM', 'ZMB', 'Zambia', 'US', 'USA', 'United States'].sample
|
|
527
|
+
case lookup.length
|
|
528
|
+
when 2 then ISO3166::Country.find_all_by(:alpha2, lookup)
|
|
529
|
+
when 3 then ISO3166::Country.find_all_by(:alpha3, lookup)
|
|
530
|
+
else ISO3166::Country.find_all_by(:name, lookup)
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
expect(Time.now - start).to be < 1
|
|
534
|
+
end
|
|
505
535
|
end
|
|
506
536
|
|
|
507
537
|
describe 'hash finder methods' do
|
data/spec/subdivision_spec.rb
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
require 'spec_helper'
|
|
4
4
|
|
|
5
5
|
describe ISO3166::Subdivision do
|
|
6
|
+
before do
|
|
7
|
+
ISO3166::Data.reset
|
|
8
|
+
end
|
|
9
|
+
|
|
6
10
|
let(:countries) { ISO3166::Country.all }
|
|
7
11
|
let(:available_types) { [Hash, NilClass] }
|
|
8
12
|
|
|
@@ -15,4 +19,14 @@ describe ISO3166::Subdivision do
|
|
|
15
19
|
end
|
|
16
20
|
end
|
|
17
21
|
end
|
|
22
|
+
|
|
23
|
+
describe 'state codes' do
|
|
24
|
+
it 'should all be strings' do
|
|
25
|
+
countries.each do |country|
|
|
26
|
+
expect(country.subdivisions.keys).to all(be_a(String)), \
|
|
27
|
+
"Expected #{country.alpha2.inspect} to have string subdivision" \
|
|
28
|
+
"codes but had #{country.subdivisions.keys.inspect}"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
18
32
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: countries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Robinson
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: i18n_data
|
|
@@ -18,14 +18,14 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - "~>"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0.
|
|
21
|
+
version: 0.10.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - "~>"
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 0.
|
|
28
|
+
version: 0.10.0
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
30
|
name: unicode_utils
|
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -101,8 +101,7 @@ description: All sorts of useful information about every country packaged as pre
|
|
|
101
101
|
email:
|
|
102
102
|
- hexorx@gmail.com
|
|
103
103
|
- russell@burningpony.com
|
|
104
|
-
executables:
|
|
105
|
-
- console
|
|
104
|
+
executables: []
|
|
106
105
|
extensions: []
|
|
107
106
|
extra_rdoc_files: []
|
|
108
107
|
files:
|
|
@@ -120,22 +119,34 @@ files:
|
|
|
120
119
|
- countries.gemspec
|
|
121
120
|
- lib/countries.rb
|
|
122
121
|
- lib/countries/cache/countries.json
|
|
122
|
+
- lib/countries/cache/locales/ab.json
|
|
123
123
|
- lib/countries/cache/locales/af.json
|
|
124
|
+
- lib/countries/cache/locales/ak.json
|
|
124
125
|
- lib/countries/cache/locales/am.json
|
|
126
|
+
- lib/countries/cache/locales/an.json
|
|
125
127
|
- lib/countries/cache/locales/ar.json
|
|
126
128
|
- lib/countries/cache/locales/as.json
|
|
129
|
+
- lib/countries/cache/locales/ay.json
|
|
127
130
|
- lib/countries/cache/locales/az.json
|
|
131
|
+
- lib/countries/cache/locales/ba.json
|
|
128
132
|
- lib/countries/cache/locales/be.json
|
|
129
133
|
- lib/countries/cache/locales/bg.json
|
|
134
|
+
- lib/countries/cache/locales/bi.json
|
|
135
|
+
- lib/countries/cache/locales/bn-in.json
|
|
130
136
|
- lib/countries/cache/locales/bn.json
|
|
131
137
|
- lib/countries/cache/locales/br.json
|
|
132
138
|
- lib/countries/cache/locales/bs.json
|
|
133
139
|
- lib/countries/cache/locales/ca.json
|
|
140
|
+
- lib/countries/cache/locales/ce.json
|
|
141
|
+
- lib/countries/cache/locales/ch.json
|
|
134
142
|
- lib/countries/cache/locales/cs.json
|
|
143
|
+
- lib/countries/cache/locales/cv.json
|
|
135
144
|
- lib/countries/cache/locales/cy.json
|
|
136
145
|
- lib/countries/cache/locales/da.json
|
|
137
146
|
- lib/countries/cache/locales/de.json
|
|
147
|
+
- lib/countries/cache/locales/dv.json
|
|
138
148
|
- lib/countries/cache/locales/dz.json
|
|
149
|
+
- lib/countries/cache/locales/ee.json
|
|
139
150
|
- lib/countries/cache/locales/el.json
|
|
140
151
|
- lib/countries/cache/locales/en.json
|
|
141
152
|
- lib/countries/cache/locales/eo.json
|
|
@@ -143,28 +154,42 @@ files:
|
|
|
143
154
|
- lib/countries/cache/locales/et.json
|
|
144
155
|
- lib/countries/cache/locales/eu.json
|
|
145
156
|
- lib/countries/cache/locales/fa.json
|
|
157
|
+
- lib/countries/cache/locales/ff.json
|
|
146
158
|
- lib/countries/cache/locales/fi.json
|
|
147
159
|
- lib/countries/cache/locales/fo.json
|
|
148
160
|
- lib/countries/cache/locales/fr.json
|
|
161
|
+
- lib/countries/cache/locales/fy.json
|
|
149
162
|
- lib/countries/cache/locales/ga.json
|
|
150
163
|
- lib/countries/cache/locales/gl.json
|
|
164
|
+
- lib/countries/cache/locales/gn.json
|
|
151
165
|
- lib/countries/cache/locales/gu.json
|
|
166
|
+
- lib/countries/cache/locales/gv.json
|
|
167
|
+
- lib/countries/cache/locales/ha.json
|
|
152
168
|
- lib/countries/cache/locales/he.json
|
|
153
169
|
- lib/countries/cache/locales/hi.json
|
|
154
170
|
- lib/countries/cache/locales/hr.json
|
|
171
|
+
- lib/countries/cache/locales/ht.json
|
|
155
172
|
- lib/countries/cache/locales/hu.json
|
|
156
173
|
- lib/countries/cache/locales/hy.json
|
|
157
174
|
- lib/countries/cache/locales/ia.json
|
|
158
175
|
- lib/countries/cache/locales/id.json
|
|
176
|
+
- lib/countries/cache/locales/io.json
|
|
159
177
|
- lib/countries/cache/locales/is.json
|
|
160
178
|
- lib/countries/cache/locales/it.json
|
|
179
|
+
- lib/countries/cache/locales/iu.json
|
|
161
180
|
- lib/countries/cache/locales/ja.json
|
|
162
181
|
- lib/countries/cache/locales/ka.json
|
|
182
|
+
- lib/countries/cache/locales/ki.json
|
|
163
183
|
- lib/countries/cache/locales/kk.json
|
|
184
|
+
- lib/countries/cache/locales/kl.json
|
|
164
185
|
- lib/countries/cache/locales/km.json
|
|
165
186
|
- lib/countries/cache/locales/kn.json
|
|
166
187
|
- lib/countries/cache/locales/ko.json
|
|
167
188
|
- lib/countries/cache/locales/ku.json
|
|
189
|
+
- lib/countries/cache/locales/kv.json
|
|
190
|
+
- lib/countries/cache/locales/kw.json
|
|
191
|
+
- lib/countries/cache/locales/ky.json
|
|
192
|
+
- lib/countries/cache/locales/lo.json
|
|
168
193
|
- lib/countries/cache/locales/lt.json
|
|
169
194
|
- lib/countries/cache/locales/lv.json
|
|
170
195
|
- lib/countries/cache/locales/mi.json
|
|
@@ -174,19 +199,26 @@ files:
|
|
|
174
199
|
- lib/countries/cache/locales/mr.json
|
|
175
200
|
- lib/countries/cache/locales/ms.json
|
|
176
201
|
- lib/countries/cache/locales/mt.json
|
|
202
|
+
- lib/countries/cache/locales/my.json
|
|
203
|
+
- lib/countries/cache/locales/na.json
|
|
177
204
|
- lib/countries/cache/locales/nb.json
|
|
178
205
|
- lib/countries/cache/locales/ne.json
|
|
179
206
|
- lib/countries/cache/locales/nl.json
|
|
180
207
|
- lib/countries/cache/locales/nn.json
|
|
208
|
+
- lib/countries/cache/locales/nv.json
|
|
181
209
|
- lib/countries/cache/locales/oc.json
|
|
182
210
|
- lib/countries/cache/locales/or.json
|
|
183
211
|
- lib/countries/cache/locales/pa.json
|
|
212
|
+
- lib/countries/cache/locales/pi.json
|
|
184
213
|
- lib/countries/cache/locales/pl.json
|
|
185
214
|
- lib/countries/cache/locales/ps.json
|
|
215
|
+
- lib/countries/cache/locales/pt-br.json
|
|
186
216
|
- lib/countries/cache/locales/pt.json
|
|
187
217
|
- lib/countries/cache/locales/ro.json
|
|
188
218
|
- lib/countries/cache/locales/ru.json
|
|
189
219
|
- lib/countries/cache/locales/rw.json
|
|
220
|
+
- lib/countries/cache/locales/sc.json
|
|
221
|
+
- lib/countries/cache/locales/sd.json
|
|
190
222
|
- lib/countries/cache/locales/si.json
|
|
191
223
|
- lib/countries/cache/locales/sk.json
|
|
192
224
|
- lib/countries/cache/locales/sl.json
|
|
@@ -197,6 +229,7 @@ files:
|
|
|
197
229
|
- lib/countries/cache/locales/sw.json
|
|
198
230
|
- lib/countries/cache/locales/ta.json
|
|
199
231
|
- lib/countries/cache/locales/te.json
|
|
232
|
+
- lib/countries/cache/locales/tg.json
|
|
200
233
|
- lib/countries/cache/locales/th.json
|
|
201
234
|
- lib/countries/cache/locales/ti.json
|
|
202
235
|
- lib/countries/cache/locales/tk.json
|
|
@@ -205,11 +238,17 @@ files:
|
|
|
205
238
|
- lib/countries/cache/locales/tt.json
|
|
206
239
|
- lib/countries/cache/locales/ug.json
|
|
207
240
|
- lib/countries/cache/locales/uk.json
|
|
241
|
+
- lib/countries/cache/locales/ur.json
|
|
242
|
+
- lib/countries/cache/locales/uz.json
|
|
208
243
|
- lib/countries/cache/locales/ve.json
|
|
209
244
|
- lib/countries/cache/locales/vi.json
|
|
210
245
|
- lib/countries/cache/locales/wa.json
|
|
211
246
|
- lib/countries/cache/locales/wo.json
|
|
212
247
|
- lib/countries/cache/locales/xh.json
|
|
248
|
+
- lib/countries/cache/locales/yo.json
|
|
249
|
+
- lib/countries/cache/locales/zh-cn.json
|
|
250
|
+
- lib/countries/cache/locales/zh-hk.json
|
|
251
|
+
- lib/countries/cache/locales/zh-tw.json
|
|
213
252
|
- lib/countries/cache/locales/zh.json
|
|
214
253
|
- lib/countries/cache/locales/zu.json
|
|
215
254
|
- lib/countries/configuration.rb
|
|
@@ -737,8 +776,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
737
776
|
- !ruby/object:Gem::Version
|
|
738
777
|
version: '0'
|
|
739
778
|
requirements: []
|
|
740
|
-
|
|
741
|
-
rubygems_version: 2.7.3
|
|
779
|
+
rubygems_version: 3.0.3
|
|
742
780
|
signing_key:
|
|
743
781
|
specification_version: 4
|
|
744
782
|
summary: Gives you a country object full of all sorts of useful information.
|