countries 8.0.1 → 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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/countries/country/finder_methods.rb +1 -1
  3. data/lib/countries/data/countries/AE.yaml +1 -1
  4. data/lib/countries/data/countries/BS.yaml +1 -1
  5. data/lib/countries/data/countries/CC.yaml +1 -1
  6. data/lib/countries/data/countries/CD.yaml +1 -1
  7. data/lib/countries/data/countries/CF.yaml +1 -1
  8. data/lib/countries/data/countries/CG.yaml +1 -1
  9. data/lib/countries/data/countries/CK.yaml +1 -1
  10. data/lib/countries/data/countries/DO.yaml +1 -1
  11. data/lib/countries/data/countries/FK.yaml +1 -1
  12. data/lib/countries/data/countries/FO.yaml +1 -1
  13. data/lib/countries/data/countries/GB.yaml +1 -1
  14. data/lib/countries/data/countries/GM.yaml +1 -1
  15. data/lib/countries/data/countries/IO.yaml +1 -1
  16. data/lib/countries/data/countries/KM.yaml +1 -1
  17. data/lib/countries/data/countries/KP.yaml +1 -1
  18. data/lib/countries/data/countries/KR.yaml +1 -1
  19. data/lib/countries/data/countries/KY.yaml +1 -1
  20. data/lib/countries/data/countries/LA.yaml +1 -1
  21. data/lib/countries/data/countries/MD.yaml +1 -1
  22. data/lib/countries/data/countries/MH.yaml +1 -1
  23. data/lib/countries/data/countries/MP.yaml +1 -1
  24. data/lib/countries/data/countries/NE.yaml +1 -1
  25. data/lib/countries/data/countries/NL.yaml +1 -1
  26. data/lib/countries/data/countries/PH.yaml +1 -1
  27. data/lib/countries/data/countries/RU.yaml +1 -1
  28. data/lib/countries/data/countries/SD.yaml +1 -1
  29. data/lib/countries/data/countries/TC.yaml +1 -1
  30. data/lib/countries/data/countries/TF.yaml +1 -1
  31. data/lib/countries/data/countries/TW.yaml +1 -1
  32. data/lib/countries/data/countries/UM.yaml +1 -1
  33. data/lib/countries/data/countries/US.yaml +1 -1
  34. data/lib/countries/data/countries/VA.yaml +1 -1
  35. data/lib/countries/version.rb +1 -1
  36. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2780baa833cb6b56f76be407c9173ca8265fc4c05bd6e438ec94949e2ca35a2
4
- data.tar.gz: aae17dcda05370cb652f022534fa4ee1c7a49d799893d0be1bed225ef856962b
3
+ metadata.gz: 7176ade80514b055b295c264241686e2f54b31b09feefca6f1eda0be5f62f789
4
+ data.tar.gz: a0a0a5aa120450d5924b509a5914723426d9a7ae9b5d631084d52e2b10e983ed
5
5
  SHA512:
6
- metadata.gz: dc58a617fcdec78f0a41e5acb5b02200279d26bb20a1022d1a2439265e7c07429957b0b1927a41d59e8d93a2e1dd1b43b8f47ebc35d05a63566a2d79b98f5b97
7
- data.tar.gz: f9922f026bcc5e2fb7247a08d253bd1a981adc844b2334aae72d114c517f2a646b68ab4e0be735283902c634dfecac07efd5ccb5298d8412e0d2b8240589f222
6
+ metadata.gz: a0ee885e639d6f0e45f92bbf9b855c0660a506a22fa79cf255c616db420f2a60b3f9c69dbe9a360dab49a16ec83cb34c88845bc667388b9e8f4ee7079110a3d5
7
+ data.tar.gz: aef68454b1f529fe63236426af6b2fc0245fd0f3967b76ff887e903252640c6683bfdaeb0034d72bebdd1ef7e4e5b366b3d2bc7902c5feac9cd29384219368fe
@@ -8,7 +8,7 @@ module ISO3166
8
8
  # :reek:FeatureEnvy
9
9
  def search(query)
10
10
  query = query.to_s if query.is_a?(Symbol)
11
- query = query.upcase if query.match?(/[a-z]/)
11
+ query = query.upcase if query&.match?(/[a-z]/)
12
12
 
13
13
  country = new(query)
14
14
  country&.valid? ? country : nil
@@ -29,7 +29,7 @@ AE:
29
29
  international_prefix: '00'
30
30
  ioc: UAE
31
31
  iso_long_name: The United Arab Emirates
32
- iso_short_name: United Arab Emirates
32
+ iso_short_name: United Arab Emirates (the)
33
33
  languages_official:
34
34
  - ar
35
35
  languages_spoken:
@@ -24,7 +24,7 @@ BS:
24
24
  international_prefix: '011'
25
25
  ioc: BAH
26
26
  iso_long_name: The Commonwealth of The Bahamas
27
- iso_short_name: Bahamas
27
+ iso_short_name: Bahamas (the)
28
28
  languages_official:
29
29
  - en
30
30
  languages_spoken:
@@ -23,7 +23,7 @@ CC:
23
23
  lng: 96.8134118
24
24
  international_prefix: '0011'
25
25
  iso_long_name: The Territory of Cocos (Keeling) Islands
26
- iso_short_name: Cocos (Keeling) Islands
26
+ iso_short_name: Cocos (Keeling) Islands (the)
27
27
  languages_official:
28
28
  - en
29
29
  languages_spoken:
@@ -24,7 +24,7 @@ CD:
24
24
  international_prefix: '00'
25
25
  ioc: COD
26
26
  iso_long_name: The Democratic Republic of the Congo
27
- iso_short_name: Congo (Democratic Republic of the)
27
+ iso_short_name: Congo (the Democratic Republic of the)
28
28
  languages_official:
29
29
  - fr
30
30
  - ln
@@ -24,7 +24,7 @@ CF:
24
24
  international_prefix: '00'
25
25
  ioc: CAF
26
26
  iso_long_name: The Central African Republic
27
- iso_short_name: Central African Republic
27
+ iso_short_name: Central African Republic (the)
28
28
  languages_official:
29
29
  - fr
30
30
  - sg
@@ -24,7 +24,7 @@ CG:
24
24
  international_prefix: '00'
25
25
  ioc: CGO
26
26
  iso_long_name: The Republic of the Congo
27
- iso_short_name: Congo
27
+ iso_short_name: Congo (the)
28
28
  languages_official:
29
29
  - fr
30
30
  - ln
@@ -24,7 +24,7 @@ CK:
24
24
  international_prefix: '00'
25
25
  ioc: COK
26
26
  iso_long_name: The Cook Islands
27
- iso_short_name: Cook Islands
27
+ iso_short_name: Cook Islands (the)
28
28
  languages_official:
29
29
  - en
30
30
  languages_spoken:
@@ -24,7 +24,7 @@ DO:
24
24
  international_prefix: '011'
25
25
  ioc: DOM
26
26
  iso_long_name: The Dominican Republic
27
- iso_short_name: Dominican Republic
27
+ iso_short_name: Dominican Republic (the)
28
28
  languages_official:
29
29
  - es
30
30
  languages_spoken:
@@ -23,7 +23,7 @@ FK:
23
23
  lng: -61.3792419
24
24
  international_prefix: '00'
25
25
  iso_long_name: The Falkland Islands
26
- iso_short_name: Falkland Islands (Malvinas)
26
+ iso_short_name: Falkland Islands (the) [Malvinas]
27
27
  languages_official:
28
28
  - en
29
29
  languages_spoken:
@@ -24,7 +24,7 @@ FO:
24
24
  international_prefix: '00'
25
25
  ioc: FRO
26
26
  iso_long_name: The Faroe Islands
27
- iso_short_name: Faroe Islands
27
+ iso_short_name: Faroe Islands (the)
28
28
  languages_official:
29
29
  - fo
30
30
  languages_spoken:
@@ -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 @@ GM:
24
24
  international_prefix: '00'
25
25
  ioc: GAM
26
26
  iso_long_name: The Republic of The Gambia
27
- iso_short_name: Gambia
27
+ iso_short_name: Gambia (the)
28
28
  languages_official:
29
29
  - en
30
30
  languages_spoken:
@@ -22,7 +22,7 @@ IO:
22
22
  lat: -7.4891118
23
23
  lng: 71.1859131
24
24
  iso_long_name: The British Indian Ocean Territory
25
- iso_short_name: British Indian Ocean Territory
25
+ iso_short_name: British Indian Ocean Territory (the)
26
26
  languages_official:
27
27
  - en
28
28
  languages_spoken:
@@ -24,7 +24,7 @@ KM:
24
24
  international_prefix: '00'
25
25
  ioc: COM
26
26
  iso_long_name: The Union of the Comoros
27
- iso_short_name: Comoros
27
+ iso_short_name: Comoros (the)
28
28
  languages_official:
29
29
  - ar
30
30
  - fr
@@ -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:
@@ -31,7 +31,7 @@ KR:
31
31
  international_prefix: '001'
32
32
  ioc: KOR
33
33
  iso_long_name: The Republic of Korea
34
- iso_short_name: Korea (Republic of)
34
+ iso_short_name: Korea (the Republic of)
35
35
  languages_official:
36
36
  - ko
37
37
  languages_spoken:
@@ -24,7 +24,7 @@ KY:
24
24
  international_prefix: '011'
25
25
  ioc: CAY
26
26
  iso_long_name: The Cayman Islands
27
- iso_short_name: Cayman Islands
27
+ iso_short_name: Cayman Islands (the)
28
28
  languages_official:
29
29
  - en
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:
@@ -24,7 +24,7 @@ MD:
24
24
  international_prefix: '00'
25
25
  ioc: MDA
26
26
  iso_long_name: The Republic of Moldova
27
- iso_short_name: Moldova (Republic of)
27
+ iso_short_name: Moldova (the Republic of)
28
28
  languages_official:
29
29
  - ro
30
30
  languages_spoken:
@@ -24,7 +24,7 @@ MH:
24
24
  international_prefix: '00'
25
25
  ioc: MHL
26
26
  iso_long_name: The Republic of the Marshall Islands
27
- iso_short_name: Marshall Islands
27
+ iso_short_name: Marshall Islands (the)
28
28
  languages_official:
29
29
  - en
30
30
  - mh
@@ -23,7 +23,7 @@ MP:
23
23
  lng: 144.7668457
24
24
  international_prefix: '011'
25
25
  iso_long_name: The Commonwealth of the Northern Mariana Islands
26
- iso_short_name: Northern Mariana Islands
26
+ iso_short_name: Northern Mariana Islands (the)
27
27
  languages_official:
28
28
  - en
29
29
  - ch
@@ -24,7 +24,7 @@ NE:
24
24
  international_prefix: '00'
25
25
  ioc: NIG
26
26
  iso_long_name: The Republic of the Niger
27
- iso_short_name: Niger
27
+ iso_short_name: Niger (the)
28
28
  languages_official:
29
29
  - fr
30
30
  languages_spoken:
@@ -31,7 +31,7 @@ NL:
31
31
  international_prefix: '00'
32
32
  ioc: NED
33
33
  iso_long_name: The Kingdom of the Netherlands
34
- iso_short_name: Netherlands
34
+ iso_short_name: Netherlands (the)
35
35
  languages_official:
36
36
  - nl
37
37
  languages_spoken:
@@ -29,7 +29,7 @@ PH:
29
29
  international_prefix: '00'
30
30
  ioc: PHI
31
31
  iso_long_name: The Republic of the Philippines
32
- iso_short_name: Philippines
32
+ iso_short_name: Philippines (the)
33
33
  languages_official:
34
34
  - tl
35
35
  - en
@@ -30,7 +30,7 @@ RU:
30
30
  international_prefix: '810'
31
31
  ioc: RUS
32
32
  iso_long_name: The Russian Federation
33
- iso_short_name: Russian Federation
33
+ iso_short_name: Russian Federation (the)
34
34
  languages_official:
35
35
  - ru
36
36
  languages_spoken:
@@ -24,7 +24,7 @@ SD:
24
24
  international_prefix: '00'
25
25
  ioc: SUD
26
26
  iso_long_name: The Republic of the Sudan
27
- iso_short_name: Sudan
27
+ iso_short_name: Sudan (the)
28
28
  languages_official:
29
29
  - ar
30
30
  - en
@@ -23,7 +23,7 @@ TC:
23
23
  lng: -72.52069999999999
24
24
  international_prefix: '011'
25
25
  iso_long_name: The Turks and Caicos Islands
26
- iso_short_name: Turks and Caicos Islands
26
+ iso_short_name: Turks and Caicos Islands (the)
27
27
  languages_official:
28
28
  - en
29
29
  languages_spoken:
@@ -22,7 +22,7 @@ TF:
22
22
  lat: -50.0641918
23
23
  lng: 49.8519168
24
24
  iso_long_name: The French Southern and Antarctic Lands
25
- iso_short_name: French Southern Territories
25
+ iso_short_name: French Southern Territories (the)
26
26
  languages_official:
27
27
  - fr
28
28
  languages_spoken:
@@ -29,7 +29,7 @@ TW:
29
29
  international_prefix: '002'
30
30
  ioc: TPE
31
31
  iso_long_name: Taiwan, Province of China
32
- iso_short_name: Taiwan, Province of China
32
+ iso_short_name: Taiwan (Province of China)
33
33
  languages_official:
34
34
  - zh
35
35
  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:
@@ -31,7 +31,7 @@ US:
31
31
  international_prefix: '011'
32
32
  ioc: USA
33
33
  iso_long_name: The United States of America
34
- iso_short_name: United States of America
34
+ iso_short_name: United States of America (the)
35
35
  languages_official:
36
36
  - en
37
37
  languages_spoken:
@@ -23,7 +23,7 @@ VA:
23
23
  lng: 12.4457286
24
24
  international_prefix: '00'
25
25
  iso_long_name: The Holy See
26
- iso_short_name: Holy See
26
+ iso_short_name: Holy See (the)
27
27
  languages_official:
28
28
  - it
29
29
  - la
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Countries
4
- VERSION = '8.0.1'
4
+ VERSION = '8.0.2'
5
5
  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: 8.0.1
4
+ version: 8.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Robinson