worldwide 1.6.2 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/db/data/regions/AC.yml +6 -1
- data/db/data/regions/AD.yml +8 -3
- data/db/data/regions/AE.yml +8 -2
- data/db/data/regions/AF.yml +7 -1
- data/db/data/regions/AG.yml +7 -1
- data/db/data/regions/AI.yml +7 -1
- data/db/data/regions/AL.yml +10 -4
- data/db/data/regions/AM.yml +8 -3
- data/db/data/regions/AO.yml +6 -1
- data/db/data/regions/AR.yml +7 -1
- data/db/data/regions/AT.yml +7 -2
- data/db/data/regions/AU.yml +6 -1
- data/db/data/regions/AW.yml +5 -1
- data/db/data/regions/AX.yml +7 -2
- data/db/data/regions/AZ.yml +8 -3
- data/db/data/regions/BA.yml +8 -3
- data/db/data/regions/BB.yml +6 -1
- data/db/data/regions/BD.yml +7 -2
- data/db/data/regions/BE.yml +9 -4
- data/db/data/regions/BF.yml +7 -1
- data/db/data/regions/BG.yml +7 -2
- data/db/data/regions/BH.yml +7 -2
- data/db/data/regions/BI.yml +7 -3
- data/db/data/regions/BJ.yml +8 -3
- data/db/data/regions/BL.yml +7 -1
- data/db/data/regions/BM.yml +6 -1
- data/db/data/regions/BN.yml +8 -2
- data/db/data/regions/BO.yml +5 -1
- data/db/data/regions/BQ.yml +5 -1
- data/db/data/regions/BR.yml +8 -1
- data/db/data/regions/BS.yml +6 -1
- data/db/data/regions/BT.yml +7 -1
- data/db/data/regions/BW.yml +5 -1
- data/db/data/regions/BY.yml +7 -2
- data/db/data/regions/BZ.yml +7 -2
- data/db/data/regions/CA.yml +8 -2
- data/db/data/regions/CC.yml +7 -2
- data/db/data/regions/CD.yml +7 -5
- data/db/data/regions/CF.yml +7 -2
- data/db/data/regions/CG.yml +6 -1
- data/db/data/regions/CH.yml +10 -5
- data/db/data/regions/CI.yml +5 -1
- data/db/data/regions/CK.yml +6 -2
- data/db/data/regions/CL.yml +8 -1
- data/db/data/regions/CM.yml +8 -3
- data/db/data/regions/CN.yml +8 -1
- data/db/data/regions/CO.yml +8 -1
- data/db/data/regions/CR.yml +9 -1
- data/db/data/regions/CU.yml +6 -1
- data/db/data/regions/CV.yml +8 -2
- data/db/data/regions/CW.yml +6 -2
- data/db/data/regions/CX.yml +8 -3
- data/db/data/regions/CY.yml +9 -3
- data/db/data/regions/CZ.yml +6 -1
- data/db/data/regions/DE.yml +7 -2
- data/db/data/regions/DJ.yml +9 -4
- data/db/data/regions/DK.yml +7 -2
- data/db/data/regions/DM.yml +8 -2
- data/db/data/regions/DO.yml +6 -1
- data/db/data/regions/DZ.yml +7 -2
- data/db/data/regions/EC.yml +7 -1
- data/db/data/regions/EE.yml +6 -1
- data/db/data/regions/EG.yml +11 -3
- data/db/data/regions/EH.yml +7 -2
- data/db/data/regions/ER.yml +7 -3
- data/db/data/regions/ES.yml +7 -1
- data/db/data/regions/ET.yml +12 -5
- data/db/data/regions/FI.yml +6 -1
- data/db/data/regions/FJ.yml +8 -3
- data/db/data/regions/FK.yml +7 -1
- data/db/data/regions/FO.yml +7 -2
- data/db/data/regions/FR.yml +6 -1
- data/db/data/regions/GA.yml +7 -2
- data/db/data/regions/GB.yml +8 -2
- data/db/data/regions/GD.yml +8 -2
- data/db/data/regions/GE.yml +8 -3
- data/db/data/regions/GF.yml +6 -1
- data/db/data/regions/GG.yml +8 -2
- data/db/data/regions/GH.yml +8 -4
- data/db/data/regions/GI.yml +8 -2
- data/db/data/regions/GL.yml +8 -3
- data/db/data/regions/GM.yml +6 -1
- data/db/data/regions/GN.yml +9 -4
- data/db/data/regions/GP.yml +6 -1
- data/db/data/regions/GQ.yml +8 -3
- data/db/data/regions/GR.yml +7 -2
- data/db/data/regions/GS.yml +6 -1
- data/db/data/regions/GT.yml +8 -1
- data/db/data/regions/GW.yml +8 -4
- data/db/data/regions/GY.yml +5 -1
- data/db/data/regions/HK.yml +8 -2
- data/db/data/regions/HN.yml +8 -1
- data/db/data/regions/HR.yml +6 -1
- data/db/data/regions/HT.yml +7 -1
- data/db/data/regions/HU.yml +6 -1
- data/db/data/regions/ID.yml +9 -2
- data/db/data/regions/IE.yml +9 -2
- data/db/data/regions/IL.yml +8 -2
- data/db/data/regions/IM.yml +6 -1
- data/db/data/regions/IN.yml +23 -16
- data/db/data/regions/IQ.yml +8 -2
- data/db/data/regions/IR.yml +8 -3
- data/db/data/regions/IS.yml +6 -1
- data/db/data/regions/IT.yml +7 -1
- data/db/data/regions/JE.yml +7 -2
- data/db/data/regions/JM.yml +5 -1
- data/db/data/regions/JO.yml +7 -1
- data/db/data/regions/JP.yml +8 -2
- data/db/data/regions/KE.yml +8 -2
- data/db/data/regions/KG.yml +7 -2
- data/db/data/regions/KH.yml +7 -2
- data/db/data/regions/KI.yml +6 -1
- data/db/data/regions/KM.yml +6 -2
- data/db/data/regions/KN.yml +7 -1
- data/db/data/regions/KP.yml +6 -1
- data/db/data/regions/KR.yml +7 -1
- data/db/data/regions/KW.yml +8 -1
- data/db/data/regions/KY.yml +6 -1
- data/db/data/regions/KZ.yml +8 -2
- data/db/data/regions/LA.yml +7 -2
- data/db/data/regions/LB.yml +8 -2
- data/db/data/regions/LC.yml +8 -2
- data/db/data/regions/LI.yml +6 -1
- data/db/data/regions/LK.yml +9 -3
- data/db/data/regions/LR.yml +7 -1
- data/db/data/regions/LS.yml +8 -2
- data/db/data/regions/LT.yml +6 -1
- data/db/data/regions/LU.yml +8 -3
- data/db/data/regions/LV.yml +7 -1
- data/db/data/regions/LY.yml +7 -2
- data/db/data/regions/MA.yml +7 -2
- data/db/data/regions/MC.yml +6 -1
- data/db/data/regions/MD.yml +9 -4
- data/db/data/regions/ME.yml +9 -4
- data/db/data/regions/MF.yml +6 -1
- data/db/data/regions/MG.yml +8 -2
- data/db/data/regions/MK.yml +7 -2
- data/db/data/regions/ML.yml +7 -2
- data/db/data/regions/MM.yml +6 -1
- data/db/data/regions/MN.yml +6 -1
- data/db/data/regions/MO.yml +6 -2
- data/db/data/regions/MQ.yml +6 -1
- data/db/data/regions/MR.yml +8 -2
- data/db/data/regions/MS.yml +6 -1
- data/db/data/regions/MT.yml +8 -2
- data/db/data/regions/MU.yml +8 -2
- data/db/data/regions/MV.yml +9 -2
- data/db/data/regions/MW.yml +10 -3
- data/db/data/regions/MX.yml +9 -1
- data/db/data/regions/MY.yml +11 -4
- data/db/data/regions/MZ.yml +7 -2
- data/db/data/regions/NA.yml +10 -4
- data/db/data/regions/NC.yml +7 -1
- data/db/data/regions/NE.yml +5 -1
- data/db/data/regions/NF.yml +6 -1
- data/db/data/regions/NG.yml +8 -1
- data/db/data/regions/NI.yml +6 -1
- data/db/data/regions/NL.yml +7 -2
- data/db/data/regions/NO.yml +8 -3
- data/db/data/regions/NP.yml +6 -1
- data/db/data/regions/NR.yml +8 -2
- data/db/data/regions/NU.yml +7 -1
- data/db/data/regions/NZ.yml +8 -2
- data/db/data/regions/OM.yml +7 -1
- data/db/data/regions/PA.yml +9 -1
- data/db/data/regions/PE.yml +9 -1
- data/db/data/regions/PF.yml +6 -1
- data/db/data/regions/PG.yml +8 -2
- data/db/data/regions/PH.yml +9 -2
- data/db/data/regions/PK.yml +11 -4
- data/db/data/regions/PL.yml +7 -2
- data/db/data/regions/PM.yml +6 -1
- data/db/data/regions/PN.yml +5 -1
- data/db/data/regions/PS.yml +6 -1
- data/db/data/regions/PT.yml +7 -1
- data/db/data/regions/PY.yml +6 -1
- data/db/data/regions/QA.yml +6 -1
- data/db/data/regions/RE.yml +6 -1
- data/db/data/regions/RO.yml +8 -2
- data/db/data/regions/RS.yml +6 -1
- data/db/data/regions/RU.yml +7 -1
- data/db/data/regions/RW.yml +8 -4
- data/db/data/regions/SA.yml +8 -2
- data/db/data/regions/SB.yml +5 -1
- data/db/data/regions/SC.yml +7 -2
- data/db/data/regions/SD.yml +7 -2
- data/db/data/regions/SE.yml +7 -2
- data/db/data/regions/SG.yml +9 -3
- data/db/data/regions/SH.yml +7 -1
- data/db/data/regions/SI.yml +8 -3
- data/db/data/regions/SJ.yml +6 -1
- data/db/data/regions/SK.yml +7 -2
- data/db/data/regions/SL.yml +6 -2
- data/db/data/regions/SM.yml +6 -1
- data/db/data/regions/SN.yml +6 -1
- data/db/data/regions/SO.yml +8 -4
- data/db/data/regions/SR.yml +6 -1
- data/db/data/regions/SS.yml +8 -2
- data/db/data/regions/ST.yml +7 -2
- data/db/data/regions/SV.yml +8 -1
- data/db/data/regions/SX.yml +6 -2
- data/db/data/regions/SY.yml +5 -1
- data/db/data/regions/SZ.yml +8 -2
- data/db/data/regions/TA.yml +5 -1
- data/db/data/regions/TC.yml +6 -1
- data/db/data/regions/TD.yml +7 -2
- data/db/data/regions/TG.yml +10 -5
- data/db/data/regions/TH.yml +9 -1
- data/db/data/regions/TJ.yml +7 -2
- data/db/data/regions/TK.yml +5 -1
- data/db/data/regions/TL.yml +5 -1
- data/db/data/regions/TM.yml +7 -2
- data/db/data/regions/TN.yml +7 -2
- data/db/data/regions/TO.yml +7 -2
- data/db/data/regions/TR.yml +7 -1
- data/db/data/regions/TT.yml +5 -1
- data/db/data/regions/TV.yml +7 -1
- data/db/data/regions/TW.yml +7 -1
- data/db/data/regions/TZ.yml +8 -2
- data/db/data/regions/UA.yml +7 -2
- data/db/data/regions/UG.yml +7 -2
- data/db/data/regions/US.yml +8 -2
- data/db/data/regions/UY.yml +7 -1
- data/db/data/regions/UZ.yml +7 -2
- data/db/data/regions/VA.yml +7 -2
- data/db/data/regions/VC.yml +7 -1
- data/db/data/regions/VE.yml +7 -1
- data/db/data/regions/VG.yml +8 -1
- data/db/data/regions/VN.yml +7 -2
- data/db/data/regions/VU.yml +8 -3
- data/db/data/regions/WF.yml +8 -1
- data/db/data/regions/WS.yml +8 -2
- data/db/data/regions/XK.yml +7 -2
- data/db/data/regions/YE.yml +6 -1
- data/db/data/regions/YT.yml +6 -1
- data/db/data/regions/ZA.yml +14 -7
- data/db/data/regions/ZM.yml +6 -1
- data/db/data/regions/ZW.yml +11 -6
- data/lib/worldwide/region.rb +5 -0
- data/lib/worldwide/regions_loader.rb +1 -0
- data/lib/worldwide/version.rb +1 -1
- metadata +3 -3
data/db/data/regions/TJ.yml
CHANGED
@@ -19,6 +19,11 @@ format:
|
|
19
19
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
|
20
20
|
emoji: 🇹🇯
|
21
21
|
languages:
|
22
|
-
|
23
|
-
|
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
|
data/db/data/regions/TK.yml
CHANGED
@@ -12,5 +12,9 @@ format:
|
|
12
12
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
|
13
13
|
emoji: 🇹🇰
|
14
14
|
languages:
|
15
|
-
|
15
|
+
- en
|
16
|
+
example_address:
|
17
|
+
address1: Taupulega Office
|
18
|
+
city: Nukunonu
|
19
|
+
phone: "+690 4227"
|
16
20
|
timezone: Pacific/Fakaofo
|
data/db/data/regions/TL.yml
CHANGED
@@ -13,5 +13,9 @@ format:
|
|
13
13
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
|
14
14
|
emoji: 🇹🇱
|
15
15
|
languages:
|
16
|
-
|
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
|
data/db/data/regions/TM.yml
CHANGED
@@ -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
|
-
|
19
|
-
|
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
|
data/db/data/regions/TN.yml
CHANGED
@@ -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
|
-
|
21
|
-
|
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
|
data/db/data/regions/TO.yml
CHANGED
@@ -16,6 +16,11 @@ format:
|
|
16
16
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{country}_{phone}"
|
17
17
|
emoji: 🇹🇴
|
18
18
|
languages:
|
19
|
-
|
20
|
-
|
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
|
data/db/data/regions/TR.yml
CHANGED
@@ -30,5 +30,11 @@ combined_address_format:
|
|
30
30
|
decorator: " "
|
31
31
|
emoji: "\U0001F1F9\U0001F1F7"
|
32
32
|
languages:
|
33
|
-
|
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
|
data/db/data/regions/TT.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/TV.yml
CHANGED
data/db/data/regions/TW.yml
CHANGED
@@ -35,5 +35,11 @@ combined_address_format:
|
|
35
35
|
decorator: ", "
|
36
36
|
emoji: "\U0001F1F9\U0001F1FC"
|
37
37
|
languages:
|
38
|
-
|
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
|
data/db/data/regions/TZ.yml
CHANGED
@@ -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
|
-
|
18
|
-
|
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
|
data/db/data/regions/UA.yml
CHANGED
@@ -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
|
-
|
21
|
-
|
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
|
data/db/data/regions/UG.yml
CHANGED
@@ -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
|
-
|
17
|
-
|
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
|
data/db/data/regions/US.yml
CHANGED
@@ -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
|
-
|
26
|
-
|
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
|
data/db/data/regions/UY.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/UZ.yml
CHANGED
@@ -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
|
-
|
21
|
-
|
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
|
data/db/data/regions/VA.yml
CHANGED
@@ -19,6 +19,11 @@ format:
|
|
19
19
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {country}_{phone}"
|
20
20
|
emoji: 🇻🇦
|
21
21
|
languages:
|
22
|
-
|
23
|
-
|
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
|
data/db/data/regions/VC.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/VE.yml
CHANGED
@@ -16,7 +16,13 @@ format:
|
|
16
16
|
emoji: "\U0001F1FB\U0001F1EA"
|
17
17
|
ignore_zones: false
|
18
18
|
languages:
|
19
|
-
|
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
|
data/db/data/regions/VG.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/VN.yml
CHANGED
@@ -27,6 +27,11 @@ combined_address_format:
|
|
27
27
|
decorator: ", "
|
28
28
|
emoji: "\U0001F1FB\U0001F1F3"
|
29
29
|
languages:
|
30
|
-
|
31
|
-
|
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
|
data/db/data/regions/VU.yml
CHANGED
@@ -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
|
-
|
18
|
-
|
19
|
-
|
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
|
data/db/data/regions/WF.yml
CHANGED
@@ -20,5 +20,12 @@ format:
|
|
20
20
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
|
21
21
|
emoji: 🇼🇫
|
22
22
|
languages:
|
23
|
-
|
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
|
data/db/data/regions/WS.yml
CHANGED
@@ -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
|
-
|
20
|
-
|
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
|
data/db/data/regions/XK.yml
CHANGED
@@ -20,6 +20,11 @@ format:
|
|
20
20
|
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
|
21
21
|
emoji: 🇽🇰
|
22
22
|
languages:
|
23
|
-
|
24
|
-
|
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
|
data/db/data/regions/YE.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/YT.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/ZA.yml
CHANGED
@@ -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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
data/db/data/regions/ZM.yml
CHANGED
@@ -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
|
-
|
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
|
data/db/data/regions/ZW.yml
CHANGED
@@ -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
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
data/lib/worldwide/region.rb
CHANGED
@@ -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
|
data/lib/worldwide/version.rb
CHANGED
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.
|
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-
|
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.
|
8508
|
+
rubygems_version: 3.5.15
|
8509
8509
|
signing_key:
|
8510
8510
|
specification_version: 4
|
8511
8511
|
summary: Internationalization and localization APIs
|