countries 7.0.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. checksums.yaml +4 -4
  2. data/lib/countries/cache/countries.json +1 -1
  3. data/lib/countries/country.rb +9 -1
  4. data/lib/countries/data/countries/AD.yaml +2 -0
  5. data/lib/countries/data/countries/AE.yaml +2 -0
  6. data/lib/countries/data/countries/AF.yaml +2 -0
  7. data/lib/countries/data/countries/AG.yaml +2 -0
  8. data/lib/countries/data/countries/AI.yaml +2 -0
  9. data/lib/countries/data/countries/AL.yaml +2 -0
  10. data/lib/countries/data/countries/AM.yaml +2 -0
  11. data/lib/countries/data/countries/AO.yaml +2 -0
  12. data/lib/countries/data/countries/AQ.yaml +1 -0
  13. data/lib/countries/data/countries/AR.yaml +2 -0
  14. data/lib/countries/data/countries/AS.yaml +1 -0
  15. data/lib/countries/data/countries/AT.yaml +2 -0
  16. data/lib/countries/data/countries/AU.yaml +2 -0
  17. data/lib/countries/data/countries/AW.yaml +2 -0
  18. data/lib/countries/data/countries/AX.yaml +2 -0
  19. data/lib/countries/data/countries/AZ.yaml +2 -0
  20. data/lib/countries/data/countries/BA.yaml +2 -0
  21. data/lib/countries/data/countries/BB.yaml +2 -0
  22. data/lib/countries/data/countries/BD.yaml +2 -0
  23. data/lib/countries/data/countries/BE.yaml +2 -0
  24. data/lib/countries/data/countries/BF.yaml +2 -0
  25. data/lib/countries/data/countries/BG.yaml +2 -0
  26. data/lib/countries/data/countries/BH.yaml +2 -0
  27. data/lib/countries/data/countries/BI.yaml +2 -0
  28. data/lib/countries/data/countries/BJ.yaml +2 -0
  29. data/lib/countries/data/countries/BL.yaml +1 -0
  30. data/lib/countries/data/countries/BM.yaml +1 -0
  31. data/lib/countries/data/countries/BN.yaml +2 -0
  32. data/lib/countries/data/countries/BO.yaml +2 -0
  33. data/lib/countries/data/countries/BQ.yaml +1 -0
  34. data/lib/countries/data/countries/BR.yaml +2 -0
  35. data/lib/countries/data/countries/BS.yaml +2 -0
  36. data/lib/countries/data/countries/BT.yaml +2 -0
  37. data/lib/countries/data/countries/BV.yaml +1 -0
  38. data/lib/countries/data/countries/BW.yaml +2 -0
  39. data/lib/countries/data/countries/BY.yaml +2 -0
  40. data/lib/countries/data/countries/BZ.yaml +2 -0
  41. data/lib/countries/data/countries/CA.yaml +3 -1
  42. data/lib/countries/data/countries/CC.yaml +1 -0
  43. data/lib/countries/data/countries/CD.yaml +2 -0
  44. data/lib/countries/data/countries/CF.yaml +2 -0
  45. data/lib/countries/data/countries/CG.yaml +2 -0
  46. data/lib/countries/data/countries/CH.yaml +2 -0
  47. data/lib/countries/data/countries/CI.yaml +2 -0
  48. data/lib/countries/data/countries/CK.yaml +1 -0
  49. data/lib/countries/data/countries/CL.yaml +2 -0
  50. data/lib/countries/data/countries/CM.yaml +2 -0
  51. data/lib/countries/data/countries/CN.yaml +2 -0
  52. data/lib/countries/data/countries/CO.yaml +2 -0
  53. data/lib/countries/data/countries/CR.yaml +2 -0
  54. data/lib/countries/data/countries/CU.yaml +2 -0
  55. data/lib/countries/data/countries/CV.yaml +2 -0
  56. data/lib/countries/data/countries/CW.yaml +1 -0
  57. data/lib/countries/data/countries/CX.yaml +1 -0
  58. data/lib/countries/data/countries/CY.yaml +2 -0
  59. data/lib/countries/data/countries/CZ.yaml +2 -0
  60. data/lib/countries/data/countries/DE.yaml +3 -1
  61. data/lib/countries/data/countries/DJ.yaml +2 -0
  62. data/lib/countries/data/countries/DK.yaml +2 -0
  63. data/lib/countries/data/countries/DM.yaml +2 -0
  64. data/lib/countries/data/countries/DO.yaml +3 -0
  65. data/lib/countries/data/countries/DZ.yaml +2 -0
  66. data/lib/countries/data/countries/EC.yaml +2 -0
  67. data/lib/countries/data/countries/EE.yaml +2 -0
  68. data/lib/countries/data/countries/EG.yaml +2 -0
  69. data/lib/countries/data/countries/EH.yaml +2 -0
  70. data/lib/countries/data/countries/ER.yaml +2 -0
  71. data/lib/countries/data/countries/ES.yaml +2 -0
  72. data/lib/countries/data/countries/ET.yaml +2 -0
  73. data/lib/countries/data/countries/FI.yaml +2 -0
  74. data/lib/countries/data/countries/FJ.yaml +2 -0
  75. data/lib/countries/data/countries/FK.yaml +1 -0
  76. data/lib/countries/data/countries/FM.yaml +2 -0
  77. data/lib/countries/data/countries/FO.yaml +2 -0
  78. data/lib/countries/data/countries/FR.yaml +3 -1
  79. data/lib/countries/data/countries/GA.yaml +2 -0
  80. data/lib/countries/data/countries/GB.yaml +3 -1
  81. data/lib/countries/data/countries/GD.yaml +2 -0
  82. data/lib/countries/data/countries/GE.yaml +2 -0
  83. data/lib/countries/data/countries/GF.yaml +1 -0
  84. data/lib/countries/data/countries/GG.yaml +2 -0
  85. data/lib/countries/data/countries/GH.yaml +2 -0
  86. data/lib/countries/data/countries/GI.yaml +2 -0
  87. data/lib/countries/data/countries/GL.yaml +2 -0
  88. data/lib/countries/data/countries/GM.yaml +2 -0
  89. data/lib/countries/data/countries/GN.yaml +2 -0
  90. data/lib/countries/data/countries/GP.yaml +1 -0
  91. data/lib/countries/data/countries/GQ.yaml +2 -0
  92. data/lib/countries/data/countries/GR.yaml +2 -0
  93. data/lib/countries/data/countries/GS.yaml +1 -0
  94. data/lib/countries/data/countries/GT.yaml +2 -0
  95. data/lib/countries/data/countries/GU.yaml +1 -0
  96. data/lib/countries/data/countries/GW.yaml +2 -0
  97. data/lib/countries/data/countries/GY.yaml +2 -0
  98. data/lib/countries/data/countries/HK.yaml +2 -0
  99. data/lib/countries/data/countries/HM.yaml +1 -0
  100. data/lib/countries/data/countries/HN.yaml +2 -0
  101. data/lib/countries/data/countries/HR.yaml +2 -0
  102. data/lib/countries/data/countries/HT.yaml +2 -0
  103. data/lib/countries/data/countries/HU.yaml +2 -0
  104. data/lib/countries/data/countries/ID.yaml +2 -0
  105. data/lib/countries/data/countries/IE.yaml +2 -0
  106. data/lib/countries/data/countries/IL.yaml +6 -4
  107. data/lib/countries/data/countries/IM.yaml +2 -0
  108. data/lib/countries/data/countries/IN.yaml +2 -0
  109. data/lib/countries/data/countries/IO.yaml +1 -0
  110. data/lib/countries/data/countries/IQ.yaml +2 -0
  111. data/lib/countries/data/countries/IR.yaml +2 -0
  112. data/lib/countries/data/countries/IS.yaml +2 -0
  113. data/lib/countries/data/countries/IT.yaml +3 -1
  114. data/lib/countries/data/countries/JE.yaml +2 -0
  115. data/lib/countries/data/countries/JM.yaml +2 -0
  116. data/lib/countries/data/countries/JO.yaml +2 -0
  117. data/lib/countries/data/countries/JP.yaml +3 -1
  118. data/lib/countries/data/countries/KE.yaml +2 -0
  119. data/lib/countries/data/countries/KG.yaml +2 -0
  120. data/lib/countries/data/countries/KH.yaml +2 -0
  121. data/lib/countries/data/countries/KI.yaml +2 -0
  122. data/lib/countries/data/countries/KM.yaml +2 -0
  123. data/lib/countries/data/countries/KN.yaml +2 -0
  124. data/lib/countries/data/countries/KP.yaml +2 -0
  125. data/lib/countries/data/countries/KR.yaml +2 -0
  126. data/lib/countries/data/countries/KW.yaml +2 -0
  127. data/lib/countries/data/countries/KY.yaml +1 -0
  128. data/lib/countries/data/countries/KZ.yaml +2 -0
  129. data/lib/countries/data/countries/LA.yaml +2 -0
  130. data/lib/countries/data/countries/LB.yaml +2 -0
  131. data/lib/countries/data/countries/LC.yaml +2 -0
  132. data/lib/countries/data/countries/LI.yaml +2 -0
  133. data/lib/countries/data/countries/LK.yaml +2 -0
  134. data/lib/countries/data/countries/LR.yaml +2 -0
  135. data/lib/countries/data/countries/LS.yaml +2 -0
  136. data/lib/countries/data/countries/LT.yaml +2 -0
  137. data/lib/countries/data/countries/LU.yaml +2 -0
  138. data/lib/countries/data/countries/LV.yaml +2 -0
  139. data/lib/countries/data/countries/LY.yaml +2 -0
  140. data/lib/countries/data/countries/MA.yaml +2 -0
  141. data/lib/countries/data/countries/MC.yaml +2 -0
  142. data/lib/countries/data/countries/MD.yaml +2 -0
  143. data/lib/countries/data/countries/ME.yaml +2 -0
  144. data/lib/countries/data/countries/MF.yaml +1 -0
  145. data/lib/countries/data/countries/MG.yaml +2 -0
  146. data/lib/countries/data/countries/MH.yaml +2 -0
  147. data/lib/countries/data/countries/MK.yaml +2 -0
  148. data/lib/countries/data/countries/ML.yaml +2 -0
  149. data/lib/countries/data/countries/MM.yaml +2 -0
  150. data/lib/countries/data/countries/MN.yaml +2 -0
  151. data/lib/countries/data/countries/MO.yaml +1 -0
  152. data/lib/countries/data/countries/MP.yaml +2 -0
  153. data/lib/countries/data/countries/MQ.yaml +1 -0
  154. data/lib/countries/data/countries/MR.yaml +2 -0
  155. data/lib/countries/data/countries/MS.yaml +1 -0
  156. data/lib/countries/data/countries/MT.yaml +2 -0
  157. data/lib/countries/data/countries/MU.yaml +2 -0
  158. data/lib/countries/data/countries/MV.yaml +2 -0
  159. data/lib/countries/data/countries/MW.yaml +2 -0
  160. data/lib/countries/data/countries/MX.yaml +2 -0
  161. data/lib/countries/data/countries/MY.yaml +2 -0
  162. data/lib/countries/data/countries/MZ.yaml +2 -0
  163. data/lib/countries/data/countries/NA.yaml +2 -0
  164. data/lib/countries/data/countries/NC.yaml +2 -0
  165. data/lib/countries/data/countries/NE.yaml +2 -0
  166. data/lib/countries/data/countries/NF.yaml +1 -0
  167. data/lib/countries/data/countries/NG.yaml +2 -0
  168. data/lib/countries/data/countries/NI.yaml +2 -0
  169. data/lib/countries/data/countries/NL.yaml +2 -0
  170. data/lib/countries/data/countries/NO.yaml +2 -0
  171. data/lib/countries/data/countries/NP.yaml +2 -0
  172. data/lib/countries/data/countries/NR.yaml +2 -0
  173. data/lib/countries/data/countries/NU.yaml +1 -0
  174. data/lib/countries/data/countries/NZ.yaml +2 -0
  175. data/lib/countries/data/countries/OM.yaml +2 -0
  176. data/lib/countries/data/countries/PA.yaml +2 -0
  177. data/lib/countries/data/countries/PE.yaml +2 -0
  178. data/lib/countries/data/countries/PF.yaml +1 -0
  179. data/lib/countries/data/countries/PG.yaml +2 -0
  180. data/lib/countries/data/countries/PH.yaml +2 -0
  181. data/lib/countries/data/countries/PK.yaml +2 -0
  182. data/lib/countries/data/countries/PL.yaml +2 -0
  183. data/lib/countries/data/countries/PM.yaml +1 -0
  184. data/lib/countries/data/countries/PN.yaml +1 -0
  185. data/lib/countries/data/countries/PR.yaml +3 -0
  186. data/lib/countries/data/countries/PS.yaml +2 -0
  187. data/lib/countries/data/countries/PT.yaml +2 -0
  188. data/lib/countries/data/countries/PW.yaml +2 -0
  189. data/lib/countries/data/countries/PY.yaml +2 -0
  190. data/lib/countries/data/countries/QA.yaml +2 -0
  191. data/lib/countries/data/countries/RE.yaml +1 -0
  192. data/lib/countries/data/countries/RO.yaml +2 -0
  193. data/lib/countries/data/countries/RS.yaml +2 -0
  194. data/lib/countries/data/countries/RU.yaml +2 -0
  195. data/lib/countries/data/countries/RW.yaml +2 -0
  196. data/lib/countries/data/countries/SA.yaml +7 -5
  197. data/lib/countries/data/countries/SB.yaml +2 -0
  198. data/lib/countries/data/countries/SC.yaml +2 -0
  199. data/lib/countries/data/countries/SD.yaml +2 -0
  200. data/lib/countries/data/countries/SE.yaml +2 -0
  201. data/lib/countries/data/countries/SG.yaml +2 -0
  202. data/lib/countries/data/countries/SH.yaml +1 -0
  203. data/lib/countries/data/countries/SI.yaml +2 -0
  204. data/lib/countries/data/countries/SJ.yaml +1 -0
  205. data/lib/countries/data/countries/SK.yaml +2 -0
  206. data/lib/countries/data/countries/SL.yaml +2 -0
  207. data/lib/countries/data/countries/SM.yaml +2 -0
  208. data/lib/countries/data/countries/SN.yaml +2 -0
  209. data/lib/countries/data/countries/SO.yaml +2 -0
  210. data/lib/countries/data/countries/SR.yaml +2 -0
  211. data/lib/countries/data/countries/SS.yaml +2 -0
  212. data/lib/countries/data/countries/ST.yaml +2 -0
  213. data/lib/countries/data/countries/SV.yaml +2 -0
  214. data/lib/countries/data/countries/SX.yaml +1 -0
  215. data/lib/countries/data/countries/SY.yaml +2 -0
  216. data/lib/countries/data/countries/SZ.yaml +2 -0
  217. data/lib/countries/data/countries/TC.yaml +1 -0
  218. data/lib/countries/data/countries/TD.yaml +2 -0
  219. data/lib/countries/data/countries/TF.yaml +1 -0
  220. data/lib/countries/data/countries/TG.yaml +2 -0
  221. data/lib/countries/data/countries/TH.yaml +2 -0
  222. data/lib/countries/data/countries/TJ.yaml +2 -0
  223. data/lib/countries/data/countries/TK.yaml +1 -0
  224. data/lib/countries/data/countries/TL.yaml +2 -0
  225. data/lib/countries/data/countries/TM.yaml +2 -0
  226. data/lib/countries/data/countries/TN.yaml +2 -0
  227. data/lib/countries/data/countries/TO.yaml +2 -0
  228. data/lib/countries/data/countries/TR.yaml +2 -0
  229. data/lib/countries/data/countries/TT.yaml +2 -0
  230. data/lib/countries/data/countries/TV.yaml +2 -0
  231. data/lib/countries/data/countries/TW.yaml +11 -9
  232. data/lib/countries/data/countries/TZ.yaml +2 -0
  233. data/lib/countries/data/countries/UA.yaml +2 -0
  234. data/lib/countries/data/countries/UG.yaml +2 -0
  235. data/lib/countries/data/countries/UM.yaml +2 -0
  236. data/lib/countries/data/countries/US.yaml +3 -1
  237. data/lib/countries/data/countries/UY.yaml +2 -0
  238. data/lib/countries/data/countries/UZ.yaml +2 -0
  239. data/lib/countries/data/countries/VA.yaml +3 -0
  240. data/lib/countries/data/countries/VC.yaml +2 -0
  241. data/lib/countries/data/countries/VE.yaml +2 -0
  242. data/lib/countries/data/countries/VG.yaml +2 -0
  243. data/lib/countries/data/countries/VI.yaml +2 -0
  244. data/lib/countries/data/countries/VN.yaml +2 -0
  245. data/lib/countries/data/countries/VU.yaml +2 -0
  246. data/lib/countries/data/countries/WF.yaml +1 -0
  247. data/lib/countries/data/countries/WS.yaml +2 -0
  248. data/lib/countries/data/countries/YE.yaml +2 -0
  249. data/lib/countries/data/countries/YT.yaml +1 -0
  250. data/lib/countries/data/countries/ZA.yaml +2 -0
  251. data/lib/countries/data/countries/ZM.yaml +2 -0
  252. data/lib/countries/data/countries/ZW.yaml +2 -0
  253. data/lib/countries/data/subdivisions/NP.yaml +70 -33
  254. data/lib/countries/structure.rb +1 -0
  255. data/lib/countries/version.rb +1 -1
  256. metadata +4 -6
@@ -797,78 +797,115 @@ NA:
797
797
  comments:
798
798
  type: zone
799
799
  P1:
800
- name: Province 1
800
+ name: Koshi Province
801
801
  code: P1
802
- unofficial_names:
802
+ unofficial_names: [Koshi]
803
803
  geo:
804
+ latitude: 27.226594
805
+ longitude: 87.134487
806
+ min_latitude: 26.3473741
807
+ min_longitude: 86.5015001
808
+ max_latitude: 28.346008
809
+ max_longitude: 88.2018297
804
810
  translations:
805
- en: Province 1
811
+ en: Koshi Province
812
+ ne: कोशी प्रदेश
806
813
  comments:
807
814
  type: province
808
815
  P2:
809
- name: Province 2
816
+ name: Madhesh Province
810
817
  code: P2
811
- unofficial_names:
818
+ unofficial_names: [Madhesh]
812
819
  geo:
820
+ latitude: 26.726581
821
+ longitude: 85.878288
822
+ min_latitude: 26.33333
823
+ min_longitude: 84.646302
824
+ max_latitude: 27.066774
825
+ max_longitude: 86.9457
813
826
  translations:
814
- en: Province 2
827
+ en: Madhesh Province
828
+ ne: मधेश प्रदेश
815
829
  comments:
816
830
  type: province
817
831
  P3:
818
- name: Province 3
832
+ name: Bagmati Province
819
833
  code: P3
820
- unofficial_names:
834
+ unofficial_names: [Bagmati]
821
835
  geo:
836
+ latitude: 27.923508
837
+ longitude: 85.237122
838
+ min_latitude: 27.316666
839
+ min_longitude: 84.45634
840
+ max_latitude: 28.766666
841
+ max_longitude: 86.7
822
842
  translations:
823
- en: Province 3
843
+ en: Bagmati Province
844
+ ne: बागमती प्रदेश
824
845
  comments:
825
846
  type: province
826
847
  P4:
827
- name: Gandaki²
848
+ name: Gandaki Province
828
849
  code: P4
829
- unofficial_names:
850
+ unofficial_names: [Gandaki]
830
851
  geo:
831
- latitude: 28.394857
832
- longitude: 84.12400799999999
833
- min_latitude: 26.3473741
834
- min_longitude: 80.05846980000001
835
- max_latitude: 30.4473898
836
- max_longitude: 88.20182969999999
852
+ latitude: 28.243426
853
+ longitude: 83.896532
854
+ min_latitude: 27.328852
855
+ min_longitude: 83.05629
856
+ max_latitude: 28.88339
857
+ max_longitude: 85.194321
837
858
  translations:
838
- en: Gandaki²
859
+ en: Gandaki Province
860
+ ne: गण्डकी प्रदेश
839
861
  comments:
840
862
  type: province
841
863
  P5:
842
- name: Province 5
864
+ name: Lumbini Province
843
865
  code: P5
844
- unofficial_names:
866
+ unofficial_names: [Lumbini]
845
867
  geo:
868
+ latitude: 27.610125
869
+ longitude: 83.393209
870
+ min_latitude: 26.733333
871
+ min_longitude: 81.65873
872
+ max_latitude: 28.633333
873
+ max_longitude: 84.621499
846
874
  translations:
847
- en: Province 5
875
+ en: Lumbini Province
876
+ ne: लुम्बिनी प्रदेश
848
877
  comments:
849
878
  type: province
850
879
  P6:
851
- name: Karnali²
880
+ name: Karnali Province
852
881
  code: P6
853
- unofficial_names:
882
+ unofficial_names: [Karnali]
854
883
  geo:
855
- latitude: 28.394857
856
- longitude: 84.12400799999999
857
- min_latitude: 26.3473741
858
- min_longitude: 80.05846980000001
859
- max_latitude: 30.4473898
860
- max_longitude: 88.20182969999999
884
+ latitude: 28.820317
885
+ longitude: 82.200189
886
+ min_latitude: 27.856192
887
+ min_longitude: 80.98909
888
+ max_latitude: 30.246437
889
+ max_longitude: 83.6897499
861
890
  translations:
862
- en: Karnali²
891
+ en: Karnali Province
892
+ ne: कर्णाली प्रदेश
863
893
  comments:
864
894
  type: province
865
895
  P7:
866
- name: Province 7
896
+ name: Sudurpashchim Province
867
897
  code: P7
868
- unofficial_names:
898
+ unofficial_names: [Sudurpashchim]
869
899
  geo:
900
+ latitude: 29.056774
901
+ longitude: 81.10252
902
+ min_latitude: 28.2037
903
+ min_longitude: 80.0584698
904
+ max_latitude: 30.133331
905
+ max_longitude: 81.806982
870
906
  translations:
871
- en: Province 7
907
+ en: Sudurpashchim Province
908
+ ne: सुदूरपश्चिम प्रदेश
872
909
  comments:
873
910
  type: province
874
911
  RA:
@@ -54,6 +54,7 @@ module ISO3166
54
54
  'super_reduced' => nil,
55
55
  'parking' => nil
56
56
  },
57
+ 'vehicle_registration_code' => nil,
57
58
  'world_region' => nil
58
59
  }.freeze
59
60
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Countries
4
- VERSION = '7.0.0'
4
+ VERSION = '7.1.0'
5
5
  end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countries
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Robinson
8
8
  - Joe Corcoran
9
9
  - Russell Osborne
10
10
  - Pedro Moreira
11
- autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2024-09-29 00:00:00.000000000 Z
13
+ date: 2025-01-04 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: unaccent
@@ -840,8 +839,8 @@ metadata:
840
839
  changelog_uri: https://github.com/countries/countries/blob/master/CHANGELOG.md
841
840
  source_code_uri: https://github.com/countries/countries
842
841
  wiki_uri: https://github.com/countries/countries/wiki
842
+ funding_uri: https://github.com/sponsors/pmor
843
843
  rubygems_mfa_required: 'true'
844
- post_install_message:
845
844
  rdoc_options: []
846
845
  require_paths:
847
846
  - lib
@@ -856,8 +855,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
856
855
  - !ruby/object:Gem::Version
857
856
  version: '0'
858
857
  requirements: []
859
- rubygems_version: 3.5.16
860
- signing_key:
858
+ rubygems_version: 3.6.2
861
859
  specification_version: 4
862
860
  summary: Gives you a country object full of all sorts of useful information.
863
861
  test_files: []