worldwide 1.6.2 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/Gemfile.lock +1 -1
  4. data/db/data/regions/AC.yml +6 -1
  5. data/db/data/regions/AD.yml +8 -3
  6. data/db/data/regions/AE.yml +8 -2
  7. data/db/data/regions/AF.yml +7 -1
  8. data/db/data/regions/AG.yml +7 -1
  9. data/db/data/regions/AI.yml +7 -1
  10. data/db/data/regions/AL.yml +10 -4
  11. data/db/data/regions/AM.yml +8 -3
  12. data/db/data/regions/AO.yml +6 -1
  13. data/db/data/regions/AR.yml +7 -1
  14. data/db/data/regions/AT.yml +7 -2
  15. data/db/data/regions/AU.yml +6 -1
  16. data/db/data/regions/AW.yml +5 -1
  17. data/db/data/regions/AX.yml +7 -2
  18. data/db/data/regions/AZ.yml +8 -3
  19. data/db/data/regions/BA.yml +8 -3
  20. data/db/data/regions/BB.yml +6 -1
  21. data/db/data/regions/BD.yml +7 -2
  22. data/db/data/regions/BE.yml +9 -4
  23. data/db/data/regions/BF.yml +7 -1
  24. data/db/data/regions/BG.yml +7 -2
  25. data/db/data/regions/BH.yml +7 -2
  26. data/db/data/regions/BI.yml +7 -3
  27. data/db/data/regions/BJ.yml +8 -3
  28. data/db/data/regions/BL.yml +7 -1
  29. data/db/data/regions/BM.yml +6 -1
  30. data/db/data/regions/BN.yml +8 -2
  31. data/db/data/regions/BO.yml +5 -1
  32. data/db/data/regions/BQ.yml +5 -1
  33. data/db/data/regions/BR.yml +8 -1
  34. data/db/data/regions/BS.yml +6 -1
  35. data/db/data/regions/BT.yml +7 -1
  36. data/db/data/regions/BW.yml +5 -1
  37. data/db/data/regions/BY.yml +7 -2
  38. data/db/data/regions/BZ.yml +7 -2
  39. data/db/data/regions/CA.yml +8 -2
  40. data/db/data/regions/CC.yml +7 -2
  41. data/db/data/regions/CD.yml +7 -5
  42. data/db/data/regions/CF.yml +7 -2
  43. data/db/data/regions/CG.yml +6 -1
  44. data/db/data/regions/CH.yml +10 -5
  45. data/db/data/regions/CI.yml +5 -1
  46. data/db/data/regions/CK.yml +6 -2
  47. data/db/data/regions/CL.yml +8 -1
  48. data/db/data/regions/CM.yml +8 -3
  49. data/db/data/regions/CN.yml +8 -1
  50. data/db/data/regions/CO.yml +8 -1
  51. data/db/data/regions/CR.yml +9 -1
  52. data/db/data/regions/CU.yml +6 -1
  53. data/db/data/regions/CV.yml +8 -2
  54. data/db/data/regions/CW.yml +6 -2
  55. data/db/data/regions/CX.yml +8 -3
  56. data/db/data/regions/CY.yml +9 -3
  57. data/db/data/regions/CZ.yml +6 -1
  58. data/db/data/regions/DE.yml +7 -2
  59. data/db/data/regions/DJ.yml +9 -4
  60. data/db/data/regions/DK.yml +7 -2
  61. data/db/data/regions/DM.yml +8 -2
  62. data/db/data/regions/DO.yml +6 -1
  63. data/db/data/regions/DZ.yml +7 -2
  64. data/db/data/regions/EC.yml +7 -1
  65. data/db/data/regions/EE.yml +6 -1
  66. data/db/data/regions/EG.yml +11 -3
  67. data/db/data/regions/EH.yml +7 -2
  68. data/db/data/regions/ER.yml +7 -3
  69. data/db/data/regions/ES.yml +7 -1
  70. data/db/data/regions/ET.yml +12 -5
  71. data/db/data/regions/FI.yml +6 -1
  72. data/db/data/regions/FJ.yml +8 -3
  73. data/db/data/regions/FK.yml +7 -1
  74. data/db/data/regions/FO.yml +7 -2
  75. data/db/data/regions/FR.yml +6 -1
  76. data/db/data/regions/GA.yml +7 -2
  77. data/db/data/regions/GB.yml +8 -2
  78. data/db/data/regions/GD.yml +8 -2
  79. data/db/data/regions/GE.yml +8 -3
  80. data/db/data/regions/GF.yml +6 -1
  81. data/db/data/regions/GG.yml +8 -2
  82. data/db/data/regions/GH.yml +8 -4
  83. data/db/data/regions/GI.yml +8 -2
  84. data/db/data/regions/GL.yml +8 -3
  85. data/db/data/regions/GM.yml +6 -1
  86. data/db/data/regions/GN.yml +9 -4
  87. data/db/data/regions/GP.yml +6 -1
  88. data/db/data/regions/GQ.yml +8 -3
  89. data/db/data/regions/GR.yml +7 -2
  90. data/db/data/regions/GS.yml +6 -1
  91. data/db/data/regions/GT.yml +8 -1
  92. data/db/data/regions/GW.yml +8 -4
  93. data/db/data/regions/GY.yml +5 -1
  94. data/db/data/regions/HK.yml +8 -2
  95. data/db/data/regions/HN.yml +8 -1
  96. data/db/data/regions/HR.yml +6 -1
  97. data/db/data/regions/HT.yml +7 -1
  98. data/db/data/regions/HU.yml +6 -1
  99. data/db/data/regions/ID.yml +9 -2
  100. data/db/data/regions/IE.yml +9 -2
  101. data/db/data/regions/IL.yml +8 -2
  102. data/db/data/regions/IM.yml +6 -1
  103. data/db/data/regions/IN.yml +23 -16
  104. data/db/data/regions/IQ.yml +8 -2
  105. data/db/data/regions/IR.yml +8 -3
  106. data/db/data/regions/IS.yml +6 -1
  107. data/db/data/regions/IT.yml +7 -1
  108. data/db/data/regions/JE.yml +7 -2
  109. data/db/data/regions/JM.yml +5 -1
  110. data/db/data/regions/JO.yml +7 -1
  111. data/db/data/regions/JP.yml +8 -2
  112. data/db/data/regions/KE.yml +8 -2
  113. data/db/data/regions/KG.yml +7 -2
  114. data/db/data/regions/KH.yml +7 -2
  115. data/db/data/regions/KI.yml +6 -1
  116. data/db/data/regions/KM.yml +6 -2
  117. data/db/data/regions/KN.yml +7 -1
  118. data/db/data/regions/KP.yml +6 -1
  119. data/db/data/regions/KR.yml +7 -1
  120. data/db/data/regions/KW.yml +8 -1
  121. data/db/data/regions/KY.yml +6 -1
  122. data/db/data/regions/KZ.yml +8 -2
  123. data/db/data/regions/LA.yml +7 -2
  124. data/db/data/regions/LB.yml +8 -2
  125. data/db/data/regions/LC.yml +8 -2
  126. data/db/data/regions/LI.yml +6 -1
  127. data/db/data/regions/LK.yml +9 -3
  128. data/db/data/regions/LR.yml +7 -1
  129. data/db/data/regions/LS.yml +8 -2
  130. data/db/data/regions/LT.yml +6 -1
  131. data/db/data/regions/LU.yml +8 -3
  132. data/db/data/regions/LV.yml +7 -1
  133. data/db/data/regions/LY.yml +7 -2
  134. data/db/data/regions/MA.yml +7 -2
  135. data/db/data/regions/MC.yml +6 -1
  136. data/db/data/regions/MD.yml +9 -4
  137. data/db/data/regions/ME.yml +9 -4
  138. data/db/data/regions/MF.yml +6 -1
  139. data/db/data/regions/MG.yml +8 -2
  140. data/db/data/regions/MK.yml +7 -2
  141. data/db/data/regions/ML.yml +7 -2
  142. data/db/data/regions/MM.yml +6 -1
  143. data/db/data/regions/MN.yml +6 -1
  144. data/db/data/regions/MO.yml +6 -2
  145. data/db/data/regions/MQ.yml +6 -1
  146. data/db/data/regions/MR.yml +8 -2
  147. data/db/data/regions/MS.yml +6 -1
  148. data/db/data/regions/MT.yml +8 -2
  149. data/db/data/regions/MU.yml +8 -2
  150. data/db/data/regions/MV.yml +9 -2
  151. data/db/data/regions/MW.yml +10 -3
  152. data/db/data/regions/MX.yml +9 -1
  153. data/db/data/regions/MY.yml +11 -4
  154. data/db/data/regions/MZ.yml +7 -2
  155. data/db/data/regions/NA.yml +10 -4
  156. data/db/data/regions/NC.yml +7 -1
  157. data/db/data/regions/NE.yml +5 -1
  158. data/db/data/regions/NF.yml +6 -1
  159. data/db/data/regions/NG.yml +8 -1
  160. data/db/data/regions/NI.yml +6 -1
  161. data/db/data/regions/NL.yml +7 -2
  162. data/db/data/regions/NO.yml +8 -3
  163. data/db/data/regions/NP.yml +6 -1
  164. data/db/data/regions/NR.yml +8 -2
  165. data/db/data/regions/NU.yml +7 -1
  166. data/db/data/regions/NZ.yml +8 -2
  167. data/db/data/regions/OM.yml +7 -1
  168. data/db/data/regions/PA.yml +9 -1
  169. data/db/data/regions/PE.yml +9 -1
  170. data/db/data/regions/PF.yml +6 -1
  171. data/db/data/regions/PG.yml +8 -2
  172. data/db/data/regions/PH.yml +9 -2
  173. data/db/data/regions/PK.yml +11 -4
  174. data/db/data/regions/PL.yml +7 -2
  175. data/db/data/regions/PM.yml +6 -1
  176. data/db/data/regions/PN.yml +5 -1
  177. data/db/data/regions/PS.yml +6 -1
  178. data/db/data/regions/PT.yml +7 -1
  179. data/db/data/regions/PY.yml +6 -1
  180. data/db/data/regions/QA.yml +6 -1
  181. data/db/data/regions/RE.yml +6 -1
  182. data/db/data/regions/RO.yml +8 -2
  183. data/db/data/regions/RS.yml +6 -1
  184. data/db/data/regions/RU.yml +7 -1
  185. data/db/data/regions/RW.yml +8 -4
  186. data/db/data/regions/SA.yml +8 -2
  187. data/db/data/regions/SB.yml +5 -1
  188. data/db/data/regions/SC.yml +7 -2
  189. data/db/data/regions/SD.yml +7 -2
  190. data/db/data/regions/SE.yml +7 -2
  191. data/db/data/regions/SG.yml +9 -3
  192. data/db/data/regions/SH.yml +7 -1
  193. data/db/data/regions/SI.yml +8 -3
  194. data/db/data/regions/SJ.yml +6 -1
  195. data/db/data/regions/SK.yml +7 -2
  196. data/db/data/regions/SL.yml +6 -2
  197. data/db/data/regions/SM.yml +6 -1
  198. data/db/data/regions/SN.yml +6 -1
  199. data/db/data/regions/SO.yml +8 -4
  200. data/db/data/regions/SR.yml +6 -1
  201. data/db/data/regions/SS.yml +8 -2
  202. data/db/data/regions/ST.yml +7 -2
  203. data/db/data/regions/SV.yml +8 -1
  204. data/db/data/regions/SX.yml +6 -2
  205. data/db/data/regions/SY.yml +5 -1
  206. data/db/data/regions/SZ.yml +8 -2
  207. data/db/data/regions/TA.yml +5 -1
  208. data/db/data/regions/TC.yml +6 -1
  209. data/db/data/regions/TD.yml +7 -2
  210. data/db/data/regions/TG.yml +10 -5
  211. data/db/data/regions/TH.yml +9 -1
  212. data/db/data/regions/TJ.yml +7 -2
  213. data/db/data/regions/TK.yml +5 -1
  214. data/db/data/regions/TL.yml +5 -1
  215. data/db/data/regions/TM.yml +7 -2
  216. data/db/data/regions/TN.yml +7 -2
  217. data/db/data/regions/TO.yml +7 -2
  218. data/db/data/regions/TR.yml +7 -1
  219. data/db/data/regions/TT.yml +5 -1
  220. data/db/data/regions/TV.yml +7 -1
  221. data/db/data/regions/TW.yml +7 -1
  222. data/db/data/regions/TZ.yml +8 -2
  223. data/db/data/regions/UA.yml +7 -2
  224. data/db/data/regions/UG.yml +7 -2
  225. data/db/data/regions/US.yml +8 -2
  226. data/db/data/regions/UY.yml +7 -1
  227. data/db/data/regions/UZ.yml +7 -2
  228. data/db/data/regions/VA.yml +7 -2
  229. data/db/data/regions/VC.yml +7 -1
  230. data/db/data/regions/VE.yml +7 -1
  231. data/db/data/regions/VG.yml +8 -1
  232. data/db/data/regions/VN.yml +7 -2
  233. data/db/data/regions/VU.yml +8 -3
  234. data/db/data/regions/WF.yml +8 -1
  235. data/db/data/regions/WS.yml +8 -2
  236. data/db/data/regions/XK.yml +7 -2
  237. data/db/data/regions/YE.yml +6 -1
  238. data/db/data/regions/YT.yml +6 -1
  239. data/db/data/regions/ZA.yml +14 -7
  240. data/db/data/regions/ZM.yml +6 -1
  241. data/db/data/regions/ZW.yml +11 -6
  242. data/lib/worldwide/region.rb +5 -0
  243. data/lib/worldwide/regions_loader.rb +1 -0
  244. data/lib/worldwide/version.rb +1 -1
  245. metadata +3 -3
@@ -19,6 +19,11 @@ format:
19
19
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
20
20
  emoji: 🇹🇯
21
21
  languages:
22
- - ru
23
- - tg
22
+ - ru
23
+ - tg
24
+ example_address:
25
+ address1: Academics Rajabov Street 7
26
+ city: Dushanbe
27
+ zip: '735101'
28
+ phone: "+992 372 27 1350"
24
29
  timezone: Asia/Dushanbe
@@ -12,5 +12,9 @@ format:
12
12
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
13
13
  emoji: 🇹🇰
14
14
  languages:
15
- - en
15
+ - en
16
+ example_address:
17
+ address1: Taupulega Office
18
+ city: Nukunonu
19
+ phone: "+690 4227"
16
20
  timezone: Pacific/Fakaofo
@@ -13,5 +13,9 @@ format:
13
13
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
14
14
  emoji: 🇹🇱
15
15
  languages:
16
- - "pt-PT"
16
+ - pt-PT
17
+ example_address:
18
+ address1: R. Formosa 4
19
+ city: Díli
20
+ phone: "+670 333 1159"
17
21
  timezone: Asia/Dili
@@ -15,6 +15,11 @@ format:
15
15
  show: "{zip} {city}_{country}_{firstName} {lastName}_{company}_{address1}_{address2}_{phone}"
16
16
  emoji: "\U0001F1F9\U0001F1F2"
17
17
  languages:
18
- - ru
19
- - tk
18
+ - ru
19
+ - tk
20
+ example_address:
21
+ address1: Galkynysh St 4
22
+ city: Ashgabat
23
+ zip: '744000'
24
+ phone: "+993 65 379162"
20
25
  timezone: Asia/Ashgabat
@@ -17,6 +17,11 @@ format:
17
17
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
18
18
  emoji: "\U0001F1F9\U0001F1F3"
19
19
  languages:
20
- - ar
21
- - fr
20
+ - ar
21
+ - fr
22
+ example_address:
23
+ address1: 94 Boulevard du 9 Avril 1938
24
+ city: Tunis
25
+ zip: '1007'
26
+ phone: "+216 71 560 840"
22
27
  timezone: Africa/Tunis
@@ -16,6 +16,11 @@ format:
16
16
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
17
17
  emoji: 🇹🇴
18
18
  languages:
19
- - en
20
- - to
19
+ - en
20
+ - to
21
+ example_address:
22
+ company: Royal Palace of Tonga
23
+ address1: Vuna Rd
24
+ city: Nuku'alofa
25
+ phone: "+676 843 5051"
21
26
  timezone: Pacific/Tongatapu
@@ -30,5 +30,11 @@ combined_address_format:
30
30
  decorator: " "
31
31
  emoji: "\U0001F1F9\U0001F1F7"
32
32
  languages:
33
- - tr
33
+ - tr
34
+ example_address:
35
+ address1: Küçük Ayasofya Mahallesi
36
+ address2: Camii Sokagi No:20 ⁠Küçük Ayasofya
37
+ city: Fatih/İstanbul
38
+ zip: '34122'
39
+ phone: "+90 212 491 16 63"
34
40
  timezone: Europe/Istanbul
@@ -16,5 +16,9 @@ format:
16
16
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city} {zip}_{country}_{phone}"
17
17
  emoji: "\U0001F1F9\U0001F1F9"
18
18
  languages:
19
- - en
19
+ - en
20
+ example_address:
21
+ address1: 2 Carib Street
22
+ city: San Fernando
23
+ phone: "+1 (868) 652-2311"
20
24
  timezone: America/Puerto_Rico
@@ -12,5 +12,11 @@ format:
12
12
  emoji: 🇹🇻
13
13
  currency: AUD
14
14
  languages:
15
- - en
15
+ - en
16
+ example_address:
17
+ company: Government House
18
+ address1: Te Auala O Valaku
19
+ address2: Vaiaku
20
+ city: Funafuti
21
+ phone: "+688 7 102 050"
16
22
  timezone: Pacific/Tarawa
@@ -35,5 +35,11 @@ combined_address_format:
35
35
  decorator: ", "
36
36
  emoji: "\U0001F1F9\U0001F1FC"
37
37
  languages:
38
- - "zh-TW"
38
+ - zh-TW
39
+ example_address:
40
+ address1: No. 45 號, City Hall Rd
41
+ address2: "⁠Xinyi District"
42
+ city: Taipei City
43
+ zip: '110'
44
+ phone: "+886 2 8101 8800"
39
45
  timezone: Asia/Taipei
@@ -14,6 +14,12 @@ format:
14
14
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
15
15
  emoji: "\U0001F1F9\U0001F1FF"
16
16
  languages:
17
- - en
18
- - sw
17
+ - en
18
+ - sw
19
+ example_address:
20
+ address1: Utumishi Block-8 Kivukoni Road, Kivukoni
21
+ address2: P.O. Box 6388
22
+ city: Dar es Salaam
23
+ zip: '11404'
24
+ phone: "+255 738 015 013"
19
25
  timezone: Africa/Nairobi
@@ -17,6 +17,11 @@ format:
17
17
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{zip}_{country}_{phone}"
18
18
  emoji: "\U0001F1FA\U0001F1E6"
19
19
  languages:
20
- - ru
21
- - uk
20
+ - ru
21
+ - uk
22
+ example_address:
23
+ address1: Lavrska St, 15
24
+ city: Kyiv
25
+ zip: '01015'
26
+ phone: "+380 44 255 1105"
22
27
  timezone: Europe/Kyiv
@@ -13,6 +13,11 @@ format:
13
13
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
14
14
  emoji: "\U0001F1FA\U0001F1EC"
15
15
  languages:
16
- - en
17
- - sw
16
+ - en
17
+ - sw
18
+ example_address:
19
+ address1: Plot 5, Gejorge Street
20
+ address2: Georgian House
21
+ city: Kampala
22
+ phone: "+256 414 233 219"
18
23
  timezone: Africa/Nairobi
@@ -22,8 +22,14 @@ format:
22
22
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city} {province} {zip}_{country}_{phone}"
23
23
  emoji: "\U0001F1FA\U0001F1F8"
24
24
  languages:
25
- - en
26
- - es
25
+ - en
26
+ - es
27
+ example_address:
28
+ address1: 1600 Pennsylvania Avenue NW
29
+ city: Washington
30
+ province_code: DC
31
+ zip: 20500-0005
32
+ phone: "+1 (202) 456-1414"
27
33
  use_zone_code_as_short_name: true
28
34
  zones:
29
35
  - tax: 0.04
@@ -15,7 +15,13 @@ format:
15
15
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}, {province}_{country}_{phone}"
16
16
  emoji: "\U0001F1FA\U0001F1FE"
17
17
  languages:
18
- - es
18
+ - es
19
+ example_address:
20
+ address1: Av. Gonzalo Ramírez 1926
21
+ city: Montevideo
22
+ province_code: UY-MO
23
+ zip: '11200'
24
+ phone: "+598 2411 8839"
19
25
  zones:
20
26
  - name: Artigas
21
27
  code: UY-AR
@@ -17,6 +17,11 @@ format:
17
17
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{zip}_{country}_{phone}"
18
18
  emoji: "\U0001F1FA\U0001F1FF"
19
19
  languages:
20
- - ru
21
- - uz
20
+ - ru
21
+ - uz
22
+ example_address:
23
+ address1: 9 Amir Temur St
24
+ city: Samarkand
25
+ zip: '140100'
26
+ phone: "+998 66 233 38 72"
22
27
  timezone: Asia/Samarkand
@@ -19,6 +19,11 @@ format:
19
19
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {country}_{phone}"
20
20
  emoji: 🇻🇦
21
21
  languages:
22
- - it
23
- - la
22
+ - it
23
+ - la
24
+ example_address:
25
+ address1: Cortile del Belvedere
26
+ city: Città del Vaticano
27
+ zip: '00120'
28
+ phone: "+39 06 6988 3314"
24
29
  timezone: Europe/Rome
@@ -16,5 +16,11 @@ format:
16
16
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
17
17
  emoji: "\U0001F1FB\U0001F1E8"
18
18
  languages:
19
- - en
19
+ - en
20
+ example_address:
21
+ address1: Box 750
22
+ address2: Richmond Hill
23
+ city: Kingstown
24
+ zip: VC0100
25
+ phone: "+1 (784) 457-1111"
20
26
  timezone: America/Puerto_Rico
@@ -16,7 +16,13 @@ format:
16
16
  emoji: "\U0001F1FB\U0001F1EA"
17
17
  ignore_zones: false
18
18
  languages:
19
- - es
19
+ - es
20
+ example_address:
21
+ address1: C. Real de La Cañada
22
+ city: Caracas
23
+ province_code: VE-A
24
+ zip: '1030'
25
+ phone: "+58 800-7246300"
20
26
  zones:
21
27
  - name: Amazonas
22
28
  code: VE-Z
@@ -15,5 +15,12 @@ format:
15
15
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{zip}_{country}_{phone}"
16
16
  emoji: "\U0001F1FB\U0001F1EC"
17
17
  languages:
18
- - en
18
+ - en
19
+ example_address:
20
+ company: Governor's Office
21
+ address1: Waterfront Drive
22
+ address2: Road Town
23
+ city: Tortola
24
+ zip: VG1110
25
+ phone: "+1 (284) 494-2345"
19
26
  timezone: America/Puerto_Rico
@@ -27,6 +27,11 @@ combined_address_format:
27
27
  decorator: ", "
28
28
  emoji: "\U0001F1FB\U0001F1F3"
29
29
  languages:
30
- - fr
31
- - vn
30
+ - fr
31
+ - vn
32
+ example_address:
33
+ address1: No. 33, 294/2, Kim Ma Street
34
+ address2: "⁠Ba Dinh District"
35
+ city: Hanoi
36
+ phone: "+84 (24) 382 36 908"
32
37
  timezone: Asia/Bangkok
@@ -14,7 +14,12 @@ format:
14
14
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
15
15
  emoji: "\U0001F1FB\U0001F1FA"
16
16
  languages:
17
- - bi
18
- - en
19
- - fr
17
+ - bi
18
+ - en
19
+ - fr
20
+ example_address:
21
+ address1: PMB 9056
22
+ address2: 1st Floor, Pilioko Building
23
+ city: Port Vila
24
+ phone: "+678 33414"
20
25
  timezone: Pacific/Efate
@@ -20,5 +20,12 @@ format:
20
20
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
21
21
  emoji: 🇼🇫
22
22
  languages:
23
- - fr
23
+ - fr
24
+ example_address:
25
+ company: Service des Poste et Télécommunications
26
+ address1: BP 00
27
+ address2: SIGAVE
28
+ city: Léava
29
+ zip: '98600'
30
+ phone: "+681 72 20 14"
24
31
  timezone: Pacific/Wallis
@@ -16,6 +16,12 @@ format:
16
16
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
17
17
  emoji: "\U0001F1FC\U0001F1F8"
18
18
  languages:
19
- - en
20
- - sm
19
+ - en
20
+ - sm
21
+ example_address:
22
+ company: National University of Samoa
23
+ address1: To'omatagi
24
+ city: Apia
25
+ zip: WS1322
26
+ phone: "+685 20072"
21
27
  timezone: Pacific/Apia
@@ -20,6 +20,11 @@ format:
20
20
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
21
21
  emoji: 🇽🇰
22
22
  languages:
23
- - bs
24
- - tr
23
+ - bs
24
+ - tr
25
+ example_address:
26
+ address1: Ulica "Luan Haradinaj" b.b.
27
+ city: Pristina
28
+ zip: '10000'
29
+ phone: "+383 (0) 38 521 033"
25
30
  timezone: Europe/Belgrade
@@ -14,5 +14,10 @@ format:
14
14
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
15
15
  emoji: "\U0001F1FE\U0001F1EA"
16
16
  languages:
17
- - ar
17
+ - ar
18
+ example_address:
19
+ company: Ministry of Culture
20
+ address1: Tahreer Square
21
+ city: Sana'a
22
+ phone: "+967 777 665 437"
18
23
  timezone: Asia/Riyadh
@@ -22,5 +22,10 @@ format:
22
22
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
23
23
  emoji: "\U0001F1FE\U0001F1F9"
24
24
  languages:
25
- - fr
25
+ - fr
26
+ example_address:
27
+ address1: 23 Rue du Commerce
28
+ city: Dzaoudzi
29
+ zip: '97615'
30
+ phone: "+262 800 00 36 31"
26
31
  timezone: Africa/Nairobi
@@ -18,13 +18,20 @@ format:
18
18
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{province}_{zip}_{country}_{phone}"
19
19
  emoji: "\U0001F1FF\U0001F1E6"
20
20
  languages:
21
- - af
22
- - en
23
- - nr
24
- - ss
25
- - st
26
- - xh
27
- - zu
21
+ - af
22
+ - en
23
+ - nr
24
+ - ss
25
+ - st
26
+ - xh
27
+ - zu
28
+ example_address:
29
+ address1: 71 Wale St
30
+ address2: Schotsche Kloof
31
+ city: Cape Town
32
+ province_code: WC
33
+ zip: '8001'
34
+ phone: "+27 21 481 3938"
28
35
  zones:
29
36
  - name: Eastern Cape
30
37
  code: EC
@@ -14,5 +14,10 @@ format:
14
14
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
15
15
  emoji: "\U0001F1FF\U0001F1F2"
16
16
  languages:
17
- - en
17
+ - en
18
+ example_address:
19
+ address1: Plot No. 8471, PACRA House Haile Selassie Avenue
20
+ address2: P.O. Box 32020
21
+ city: Longacres
22
+ phone: "+260 (211) 255 127"
18
23
  timezone: Africa/Maputo
@@ -14,10 +14,15 @@ format:
14
14
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
15
15
  emoji: "\U0001F1FF\U0001F1FC"
16
16
  languages:
17
- - en
18
- - nd
19
- - sn
20
- - tn
21
- - ts
22
- - xh
17
+ - en
18
+ - nd
19
+ - sn
20
+ - tn
21
+ - ts
22
+ - xh
23
+ example_address:
24
+ address1: 38 Nelson Mandela Avenue
25
+ address2: P.O Box CY 177, Causeway
26
+ city: Harare
27
+ phone: "+263 (4) 775 544"
23
28
  timezone: Africa/Maputo
@@ -17,6 +17,7 @@ module Worldwide
17
17
  :building_number_required,
18
18
  :currency,
19
19
  :example_city,
20
+ :example_address,
20
21
  :flag,
21
22
  :format,
22
23
  :format_extended,
@@ -65,6 +66,9 @@ module Worldwide
65
66
  # A major city in the given region that can be used as an example
66
67
  attr_accessor :example_city
67
68
 
69
+ # A full address in the given region that can be used as an example
70
+ attr_accessor :example_address
71
+
68
72
  # Unicode codepoints for this region's flag emoji
69
73
  attr_accessor :flag
70
74
 
@@ -262,6 +266,7 @@ module Worldwide
262
266
  @zip_example = nil
263
267
  @zip_prefixes = []
264
268
  @zip_regex = nil
269
+ @example_address = nil
265
270
 
266
271
  @parents = [].to_set
267
272
  @zones = []
@@ -105,6 +105,7 @@ module Worldwide
105
105
  region.flag = spec["emoji"]
106
106
  region.format = spec["format"]
107
107
  region.format_extended = spec["format_extended"] || {}
108
+ region.example_address = spec["example_address"] || nil
108
109
  region.group = spec["group"]
109
110
  region.group_name = spec["group_name"]
110
111
  region.hide_provinces_from_addresses = spec["hide_provinces_from_addresses"] || false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.6.2"
4
+ VERSION = "1.7.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: worldwide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-10 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -8505,7 +8505,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
8505
8505
  - !ruby/object:Gem::Version
8506
8506
  version: '0'
8507
8507
  requirements: []
8508
- rubygems_version: 3.5.14
8508
+ rubygems_version: 3.5.15
8509
8509
  signing_key:
8510
8510
  specification_version: 4
8511
8511
  summary: Internationalization and localization APIs