worldwide 1.23.2 → 1.24.1
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/.github/workflows/ci-typescript.yml +2 -2
- data/.github/workflows/ci.yml +2 -2
- data/.github/workflows/npm-release.yml +2 -2
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +2 -1
- data/data/regions/IE.yml +3 -0
- data/data/regions/IT.yml +73 -86
- data/lib/worldwide/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '084d32dc5e11960f26867866cf6b17d2246c7c5fbe2720a0255057821ca942d9'
|
|
4
|
+
data.tar.gz: 0a8fd20204d1540f86b72078f92629172dcb77ae1894b0330fd5aadcaf466439
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a981ae30cdce3c819c0fd5b18de2a2c3bb6b55b5acf3ab09c4a0b640bd0c2f7856dac3dfea0780e530e4052a0276d02bdf25fbf45779e064bbb276761867ab5e
|
|
7
|
+
data.tar.gz: 83caf7cb3dee2ebad4f7ae2b2a695f00ba47b7a538052d9e2aec046df5347395f383c35c22080779b7db4c4906912e6409d4d3f2fe9dda9809e737377cb4a859
|
|
@@ -15,9 +15,9 @@ jobs:
|
|
|
15
15
|
working-directory: lang/typescript
|
|
16
16
|
steps:
|
|
17
17
|
- name: Check out code
|
|
18
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
19
19
|
- name: Setup Node
|
|
20
|
-
uses: actions/setup-node@
|
|
20
|
+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
21
21
|
with:
|
|
22
22
|
node-version: 20
|
|
23
23
|
- name: Setup PNPM
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -20,9 +20,9 @@ jobs:
|
|
|
20
20
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
21
21
|
steps:
|
|
22
22
|
- name: Check out code
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
24
24
|
- name: Set up Ruby ${{ matrix.ruby }}
|
|
25
|
-
uses: ruby/setup-ruby@
|
|
25
|
+
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
|
|
26
26
|
with:
|
|
27
27
|
ruby-version: ${{ matrix.ruby }}
|
|
28
28
|
bundler-cache: true
|
|
@@ -20,11 +20,11 @@ jobs:
|
|
|
20
20
|
working-directory: lang/typescript
|
|
21
21
|
steps:
|
|
22
22
|
- name: Checkout Repo
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
24
24
|
with:
|
|
25
25
|
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
|
|
26
26
|
- name: Setup Node
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
28
28
|
with:
|
|
29
29
|
node-version: 20
|
|
30
30
|
- name: Setup PNPM
|
data/CHANGELOG.md
CHANGED
|
@@ -26,9 +26,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
26
26
|
- Security in case of vulnerabilities.
|
|
27
27
|
|
|
28
28
|
## [Unreleased]
|
|
29
|
+
- nil
|
|
29
30
|
|
|
30
31
|
---
|
|
31
32
|
|
|
33
|
+
## [1.24.1] - 2026-04-15
|
|
34
|
+
- Update zips_crossing_provinces in IE [#454](https://github.com/Shopify/worldwide/pull/454)
|
|
35
|
+
|
|
36
|
+
## [1.24.0] - 2026-04-13
|
|
37
|
+
- Update IT Sardinian provinces and zip prefixes [#451](https://github.com/Shopify/worldwide/pull/451)
|
|
38
|
+
|
|
32
39
|
## [1.23.2] - 2026-03-26
|
|
33
40
|
- Add zip code prefix support for Ireland (IE) [#440](https://github.com/Shopify/worldwide/pull/440)
|
|
34
41
|
|
data/Gemfile.lock
CHANGED
|
@@ -13,7 +13,7 @@ GIT
|
|
|
13
13
|
PATH
|
|
14
14
|
remote: .
|
|
15
15
|
specs:
|
|
16
|
-
worldwide (1.
|
|
16
|
+
worldwide (1.24.1)
|
|
17
17
|
activesupport (>= 7.0)
|
|
18
18
|
i18n
|
|
19
19
|
phonelib (~> 0.8)
|
|
@@ -127,6 +127,7 @@ PLATFORMS
|
|
|
127
127
|
arm64-darwin-21
|
|
128
128
|
arm64-darwin-22
|
|
129
129
|
arm64-darwin-23
|
|
130
|
+
arm64-darwin-24
|
|
130
131
|
x86_64-linux
|
|
131
132
|
|
|
132
133
|
DEPENDENCIES
|
data/data/regions/IE.yml
CHANGED
data/data/regions/IT.yml
CHANGED
|
@@ -280,7 +280,7 @@ zones:
|
|
|
280
280
|
- '09032'
|
|
281
281
|
- '09033'
|
|
282
282
|
- '09034'
|
|
283
|
-
- '09040' # Armungia, Balao, Barrali, Burcei, Castiadas, Donori, Furtei, Gesico, Goni, Guamaggire
|
|
283
|
+
- '09040' # Armungia, Balao, Barrali, Burcei, Castiadas, Donori, Furtei, Gesico, Goni, Guamaggire
|
|
284
284
|
- '09041'
|
|
285
285
|
- '09042'
|
|
286
286
|
- '09043'
|
|
@@ -291,11 +291,11 @@ zones:
|
|
|
291
291
|
- '09049'
|
|
292
292
|
- '0905' # 09050 (Pula, Villa San Pietro)
|
|
293
293
|
- '09060' # Settimo San Pietro
|
|
294
|
-
- '09061' # Orroli
|
|
295
|
-
- '09062' # Sadali
|
|
296
|
-
- '09063' # Serri
|
|
297
|
-
- '09065' # Seulo
|
|
298
|
-
- '09066' # Villanova Tulo
|
|
294
|
+
- '09061' # Orroli
|
|
295
|
+
- '09062' # Sadali
|
|
296
|
+
- '09063' # Serri
|
|
297
|
+
- '09065' # Seulo
|
|
298
|
+
- '09066' # Villanova Tulo
|
|
299
299
|
- '09067' # Elmas
|
|
300
300
|
- '09068' # Uta
|
|
301
301
|
- '09069' # Maracalagonis
|
|
@@ -330,22 +330,6 @@ zones:
|
|
|
330
330
|
- '8603'
|
|
331
331
|
- '8604'
|
|
332
332
|
- '8610'
|
|
333
|
-
# IT-CI was deleted (absorbed by IT-SD) on 2019-04-09; IT-SD renamed to IT-SU in 2020
|
|
334
|
-
- name: Carbonia-Iglesias
|
|
335
|
-
code: CI
|
|
336
|
-
tax: 0.0
|
|
337
|
-
tax_name: VAT
|
|
338
|
-
neighboring_zones:
|
|
339
|
-
- CA
|
|
340
|
-
- VS
|
|
341
|
-
zip_prefixes:
|
|
342
|
-
- '09010' # Buggerru, now SU
|
|
343
|
-
- '09011' # Calasetta, now SU
|
|
344
|
-
- '09013' # Carbonia, now SU
|
|
345
|
-
- '09014' # Carloforte, now SU
|
|
346
|
-
- '09015' # Domusnovas, now SU
|
|
347
|
-
- '09016' # Iglesias, now SU
|
|
348
|
-
- '09017' # Sant'Antioco, now SU
|
|
349
333
|
- name: Caserta
|
|
350
334
|
code: CE
|
|
351
335
|
tax: 0.0
|
|
@@ -538,6 +522,21 @@ zones:
|
|
|
538
522
|
- RM
|
|
539
523
|
zip_prefixes:
|
|
540
524
|
- '03'
|
|
525
|
+
- name: Gallura Nord-Est Sardegna
|
|
526
|
+
code: OT
|
|
527
|
+
name_alternates:
|
|
528
|
+
- Olbia-Tempio
|
|
529
|
+
tax: 0.0
|
|
530
|
+
tax_name: VAT
|
|
531
|
+
neighboring_zones:
|
|
532
|
+
- NU
|
|
533
|
+
- SS
|
|
534
|
+
zip_prefixes:
|
|
535
|
+
- '0702'
|
|
536
|
+
- '07030'
|
|
537
|
+
- '07038'
|
|
538
|
+
- '07051'
|
|
539
|
+
- '07052'
|
|
541
540
|
- name: Genova
|
|
542
541
|
code: GE
|
|
543
542
|
tax: 0.0
|
|
@@ -732,7 +731,6 @@ zones:
|
|
|
732
731
|
- TA
|
|
733
732
|
zip_prefixes:
|
|
734
733
|
- '75'
|
|
735
|
-
# IT-VS was deleted on 2019-04-09, and absorbed into IT-SD, which was renamed IT-SU in 2020
|
|
736
734
|
- name: Medio Campidano
|
|
737
735
|
code: VS
|
|
738
736
|
tax: 0.0
|
|
@@ -742,19 +740,19 @@ zones:
|
|
|
742
740
|
- CI
|
|
743
741
|
- OR
|
|
744
742
|
zip_prefixes:
|
|
745
|
-
- '09020' # Collinas, Genuri, Gesturi, Las Plassas, Pauli Arbarei, Pimentel, Samatzai, Siddi, Turri
|
|
746
|
-
- '09021' # Barumini
|
|
747
|
-
- '09022' # Lumunatrona
|
|
748
|
-
- '09025' # Sanluri
|
|
749
|
-
- '09027' # Serrenti
|
|
750
|
-
- '09029' # Setzu, Tuili
|
|
751
|
-
- '09030' # Guspini
|
|
752
|
-
- '09031' # Arbus
|
|
753
|
-
- '09035' # Gonnosfandiga
|
|
754
|
-
- '09036' # Guspini
|
|
755
|
-
- '09037' # San Gavino Monreale
|
|
756
|
-
- '09038' # Serramanna
|
|
757
|
-
- '09039' # Villacidro
|
|
743
|
+
- '09020' # Collinas, Genuri, Gesturi, Las Plassas, Pauli Arbarei, Pimentel, Samatzai, Siddi, Turri
|
|
744
|
+
- '09021' # Barumini
|
|
745
|
+
- '09022' # Lumunatrona
|
|
746
|
+
- '09025' # Sanluri
|
|
747
|
+
- '09027' # Serrenti
|
|
748
|
+
- '09029' # Setzu, Tuili
|
|
749
|
+
- '09030' # Guspini
|
|
750
|
+
- '09031' # Arbus
|
|
751
|
+
- '09035' # Gonnosfandiga
|
|
752
|
+
- '09036' # Guspini
|
|
753
|
+
- '09037' # San Gavino Monreale
|
|
754
|
+
- '09038' # Serramanna
|
|
755
|
+
- '09039' # Villacidro
|
|
758
756
|
- name: Messina
|
|
759
757
|
code: ME
|
|
760
758
|
tax: 0.0
|
|
@@ -857,10 +855,7 @@ zones:
|
|
|
857
855
|
- '08037'
|
|
858
856
|
- '08038'
|
|
859
857
|
- '08039'
|
|
860
|
-
- '0804'
|
|
861
858
|
- '081'
|
|
862
|
-
# IT-OG was deleted on 2019-09-04 and absorbed into IT-NU, except for 09064 Seui which is now in IT-SU
|
|
863
|
-
# We still need to add support for IT-SU. In the mean time, we allocate the code 09064 to its former province.
|
|
864
859
|
- name: Ogliastra
|
|
865
860
|
code: OG
|
|
866
861
|
tax: 0.0
|
|
@@ -869,15 +864,15 @@ zones:
|
|
|
869
864
|
- CA
|
|
870
865
|
- NU
|
|
871
866
|
zip_prefixes:
|
|
867
|
+
- '08040'
|
|
868
|
+
- '08042'
|
|
869
|
+
- '08044'
|
|
870
|
+
- '08045'
|
|
871
|
+
- '08046'
|
|
872
|
+
- '08047'
|
|
873
|
+
- '08048'
|
|
874
|
+
- '08049'
|
|
872
875
|
- '09064'
|
|
873
|
-
- name: Olbia-Tempio
|
|
874
|
-
code: OT
|
|
875
|
-
deprecated: true
|
|
876
|
-
tax: 0.0
|
|
877
|
-
tax_name: VAT
|
|
878
|
-
neighboring_zones:
|
|
879
|
-
- NU
|
|
880
|
-
- SS
|
|
881
876
|
- name: Oristano
|
|
882
877
|
code: OR
|
|
883
878
|
tax: 0.0
|
|
@@ -1191,11 +1186,17 @@ zones:
|
|
|
1191
1186
|
- OR
|
|
1192
1187
|
- OT
|
|
1193
1188
|
zip_prefixes:
|
|
1194
|
-
- '
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1189
|
+
- '0701'
|
|
1190
|
+
- '07031'
|
|
1191
|
+
- '07032'
|
|
1192
|
+
- '07033'
|
|
1193
|
+
- '07034'
|
|
1194
|
+
- '07035'
|
|
1195
|
+
- '07036'
|
|
1196
|
+
- '07037'
|
|
1197
|
+
- '07039'
|
|
1198
|
+
- '0704'
|
|
1199
|
+
- '07100'
|
|
1199
1200
|
- name: Savona
|
|
1200
1201
|
code: SV
|
|
1201
1202
|
tax: 0.0
|
|
@@ -1245,6 +1246,23 @@ zones:
|
|
|
1245
1246
|
zip_prefixes:
|
|
1246
1247
|
- '230'
|
|
1247
1248
|
- '231'
|
|
1249
|
+
- name: Sulcis Iglesiente
|
|
1250
|
+
code: CI
|
|
1251
|
+
name_alternates:
|
|
1252
|
+
- Carbonia-Iglesias
|
|
1253
|
+
tax: 0.0
|
|
1254
|
+
tax_name: VAT
|
|
1255
|
+
neighboring_zones:
|
|
1256
|
+
- CA
|
|
1257
|
+
- VS
|
|
1258
|
+
zip_prefixes:
|
|
1259
|
+
- '09010'
|
|
1260
|
+
- '09011'
|
|
1261
|
+
- '09013'
|
|
1262
|
+
- '09014'
|
|
1263
|
+
- '09015'
|
|
1264
|
+
- '09016'
|
|
1265
|
+
- '09017'
|
|
1248
1266
|
- name: Taranto
|
|
1249
1267
|
code: TA
|
|
1250
1268
|
tax: 0.0
|
|
@@ -1453,51 +1471,23 @@ zones:
|
|
|
1453
1471
|
zip_prefixes:
|
|
1454
1472
|
- '01'
|
|
1455
1473
|
zips_crossing_provinces:
|
|
1474
|
+
'07030':
|
|
1475
|
+
- OT
|
|
1476
|
+
- SS
|
|
1456
1477
|
'08010':
|
|
1457
1478
|
- OR
|
|
1458
1479
|
- NU
|
|
1459
1480
|
- OG
|
|
1460
|
-
# Now solidly in NU, but used to be split between multiple provinces before the creation of SU
|
|
1461
1481
|
'08020':
|
|
1462
1482
|
- NU
|
|
1463
1483
|
- OT
|
|
1464
1484
|
- SS
|
|
1465
|
-
# Now solidly NU, but used to be split between multiple provinces before the creation of SU
|
|
1466
1485
|
'08030':
|
|
1467
1486
|
- NU
|
|
1468
1487
|
- CA
|
|
1469
1488
|
- OG
|
|
1470
1489
|
- OR
|
|
1471
1490
|
- VS
|
|
1472
|
-
# Lotzorai NU: This used to be in Ogliastra before the creation of SU
|
|
1473
|
-
'08040':
|
|
1474
|
-
- NU
|
|
1475
|
-
- OG
|
|
1476
|
-
'08042':
|
|
1477
|
-
- NU
|
|
1478
|
-
- OG
|
|
1479
|
-
'08044':
|
|
1480
|
-
- NU
|
|
1481
|
-
- OG
|
|
1482
|
-
# Used to be in OG before the creation of SU
|
|
1483
|
-
'08045':
|
|
1484
|
-
- NU
|
|
1485
|
-
- OG
|
|
1486
|
-
'08046':
|
|
1487
|
-
- NU
|
|
1488
|
-
- OG
|
|
1489
|
-
# Tertenia NU: This used to be in OG before the creation of SU
|
|
1490
|
-
'08047':
|
|
1491
|
-
- NU
|
|
1492
|
-
- OG
|
|
1493
|
-
# Tortoli NU: This used to be in Ogliastra before the creation of SU
|
|
1494
|
-
'08048':
|
|
1495
|
-
- NU
|
|
1496
|
-
- OG
|
|
1497
|
-
'08049':
|
|
1498
|
-
- NU
|
|
1499
|
-
- OG
|
|
1500
|
-
# Uta CA, Buggeru CI: These are now both in SU, so we should remove this once SU is supported
|
|
1501
1491
|
'09010':
|
|
1502
1492
|
- CI
|
|
1503
1493
|
- CA
|
|
@@ -1512,7 +1502,6 @@ zips_crossing_provinces:
|
|
|
1512
1502
|
'09017':
|
|
1513
1503
|
- CI
|
|
1514
1504
|
- CA
|
|
1515
|
-
# Gesturi VS, Usana CA: Now in SU
|
|
1516
1505
|
'09020':
|
|
1517
1506
|
- VS
|
|
1518
1507
|
- CA
|
|
@@ -1523,7 +1512,6 @@ zips_crossing_provinces:
|
|
|
1523
1512
|
- VS
|
|
1524
1513
|
- CA
|
|
1525
1514
|
- CI
|
|
1526
|
-
# Samassi CA, Guspini VS: These are now both in SU, so we should remove this once SU is supported
|
|
1527
1515
|
'09030':
|
|
1528
1516
|
- VS
|
|
1529
1517
|
- CA
|
|
@@ -1542,7 +1530,6 @@ zips_crossing_provinces:
|
|
|
1542
1530
|
'09038':
|
|
1543
1531
|
- VS
|
|
1544
1532
|
- CA
|
|
1545
|
-
# Villacidro CA, now in SU
|
|
1546
1533
|
'09039':
|
|
1547
1534
|
- VS
|
|
1548
1535
|
- CA
|
data/lib/worldwide/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: worldwide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.24.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
@@ -8549,7 +8549,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
8549
8549
|
- !ruby/object:Gem::Version
|
|
8550
8550
|
version: '0'
|
|
8551
8551
|
requirements: []
|
|
8552
|
-
rubygems_version: 4.0.
|
|
8552
|
+
rubygems_version: 4.0.10
|
|
8553
8553
|
specification_version: 4
|
|
8554
8554
|
summary: Internationalization and localization APIs
|
|
8555
8555
|
test_files: []
|