countries 8.0.0 → 8.0.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.
- checksums.yaml +4 -4
- data/lib/countries/country/class_methods.rb +1 -1
- data/lib/countries/country/finder_methods.rb +1 -1
- data/lib/countries/data/countries/AE.yaml +1 -1
- data/lib/countries/data/countries/BS.yaml +1 -1
- data/lib/countries/data/countries/CC.yaml +1 -1
- data/lib/countries/data/countries/CD.yaml +1 -1
- data/lib/countries/data/countries/CF.yaml +1 -1
- data/lib/countries/data/countries/CG.yaml +1 -1
- data/lib/countries/data/countries/CK.yaml +1 -1
- data/lib/countries/data/countries/DO.yaml +1 -1
- data/lib/countries/data/countries/FK.yaml +1 -1
- data/lib/countries/data/countries/FO.yaml +1 -1
- data/lib/countries/data/countries/GB.yaml +1 -1
- data/lib/countries/data/countries/GM.yaml +1 -1
- data/lib/countries/data/countries/IO.yaml +1 -1
- data/lib/countries/data/countries/KM.yaml +1 -1
- data/lib/countries/data/countries/KP.yaml +1 -1
- data/lib/countries/data/countries/KR.yaml +1 -1
- data/lib/countries/data/countries/KY.yaml +1 -1
- data/lib/countries/data/countries/LA.yaml +1 -1
- data/lib/countries/data/countries/MD.yaml +1 -1
- data/lib/countries/data/countries/MH.yaml +1 -1
- data/lib/countries/data/countries/MP.yaml +1 -1
- data/lib/countries/data/countries/NE.yaml +1 -1
- data/lib/countries/data/countries/NL.yaml +1 -1
- data/lib/countries/data/countries/PH.yaml +1 -1
- data/lib/countries/data/countries/RU.yaml +1 -1
- data/lib/countries/data/countries/SD.yaml +1 -1
- data/lib/countries/data/countries/TC.yaml +1 -1
- data/lib/countries/data/countries/TF.yaml +1 -1
- data/lib/countries/data/countries/TW.yaml +1 -1
- data/lib/countries/data/countries/UM.yaml +1 -1
- data/lib/countries/data/countries/US.yaml +1 -1
- data/lib/countries/data/countries/VA.yaml +1 -1
- data/lib/countries/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7176ade80514b055b295c264241686e2f54b31b09feefca6f1eda0be5f62f789
|
4
|
+
data.tar.gz: a0a0a5aa120450d5924b509a5914723426d9a7ae9b5d631084d52e2b10e983ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ee885e639d6f0e45f92bbf9b855c0660a506a22fa79cf255c616db420f2a60b3f9c69dbe9a360dab49a16ec83cb34c88845bc667388b9e8f4ee7079110a3d5
|
7
|
+
data.tar.gz: aef68454b1f529fe63236426af6b2fc0245fd0f3967b76ff887e903252640c6683bfdaeb0034d72bebdd1ef7e4e5b366b3d2bc7902c5feac9cd29384219368fe
|
@@ -74,7 +74,7 @@ module ISO3166
|
|
74
74
|
def collect_countries_with(query_val, query_method = :alpha2, result_method = :itself)
|
75
75
|
return nil unless [query_method, result_method].map { |method| method_defined? method }.all?
|
76
76
|
|
77
|
-
all.select { |country| country.send(query_method)
|
77
|
+
all.select { |country| country.send(query_method)&.include? query_val }
|
78
78
|
.map { |country| country.send(result_method) }
|
79
79
|
end
|
80
80
|
|
@@ -35,7 +35,7 @@ GB:
|
|
35
35
|
international_prefix: '00'
|
36
36
|
ioc: GBR
|
37
37
|
iso_long_name: The United Kingdom of Great Britain and Northern Ireland
|
38
|
-
iso_short_name: United Kingdom of Great Britain and Northern Ireland
|
38
|
+
iso_short_name: United Kingdom of Great Britain and Northern Ireland (the)
|
39
39
|
languages_official:
|
40
40
|
- en
|
41
41
|
languages_spoken:
|
@@ -24,7 +24,7 @@ KP:
|
|
24
24
|
international_prefix: '00'
|
25
25
|
ioc: PRK
|
26
26
|
iso_long_name: The Democratic People's Republic of Korea
|
27
|
-
iso_short_name: Korea (Democratic People's Republic of)
|
27
|
+
iso_short_name: Korea (the Democratic People's Republic of)
|
28
28
|
languages_official:
|
29
29
|
- ko
|
30
30
|
languages_spoken:
|
@@ -24,7 +24,7 @@ LA:
|
|
24
24
|
international_prefix: '00'
|
25
25
|
ioc: LAO
|
26
26
|
iso_long_name: The Lao People's Democratic Republic
|
27
|
-
iso_short_name: Lao People's Democratic Republic
|
27
|
+
iso_short_name: Lao People's Democratic Republic (the)
|
28
28
|
languages_official:
|
29
29
|
- lo
|
30
30
|
languages_spoken:
|
@@ -21,7 +21,7 @@ UM:
|
|
21
21
|
lat: -0.3824678
|
22
22
|
lng: 166.5989221
|
23
23
|
iso_long_name: United States Minor Outlying Islands
|
24
|
-
iso_short_name: United States Minor Outlying Islands
|
24
|
+
iso_short_name: United States Minor Outlying Islands (the)
|
25
25
|
languages_official:
|
26
26
|
- en
|
27
27
|
languages_spoken:
|
data/lib/countries/version.rb
CHANGED