worldwide 1.23.2 → 1.24.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a19c2ac1808e2b1d09a95f4b6c104e66d69ff5c6225c9bab21c38c8ba91a1d2
4
- data.tar.gz: 3c88f502674b803ee2a55f8d87b2c6cf3b93e7894eeb41955c09aaf82d503953
3
+ metadata.gz: 0d97629743fee4e2422bd071174777ebf3c03691c8bb3b19d831c7fee3cd90fb
4
+ data.tar.gz: f96305faa213bddb10910deb8a216c09d75f7091d09c2a1d24e2edd48e15c09a
5
5
  SHA512:
6
- metadata.gz: 0bc4120118be0b16ba36899f5aafca368bd9d06dd77e619aecf11db815970ca6e78e43c75b480728598092b20ec4157805efc5993d86d0df44d96da1678cefba
7
- data.tar.gz: 11bac24b36326b91dd515fcfa075f91845bf1e6d9a35e39f46c0497e378f546223d967dc8bb9f30385f86768b53a4adbeeba3889493adc58b8e93eff05684b77
6
+ metadata.gz: e94916cbc3e67727f0b56dce614d0871403ffe2c93a5de1d7ea75bc209024a7223e6f82f03f9a96bb350d44744cd10ed057084ebfd0246d15fdd30fbe89b852c
7
+ data.tar.gz: a85e10bd74799030db0e6b6de118fa52b29f6786e16464af1de38504c611a3d3f480fed99041a090e56c6f6792b1bc246a1b567ad0ef5d16cf4613ccce711428
@@ -1,15 +1,4 @@
1
1
  version: 2
2
- registries:
3
- ruby-shopify:
4
- type: rubygems-server
5
- url: https://pkgs.shopify.io/basic/gems/ruby
6
- username: ${{secrets.RUBYGEMS_SERVER_PKGS_SHOPIFY_IO_USERNAME}}
7
- password: ${{secrets.RUBYGEMS_SERVER_PKGS_SHOPIFY_IO_PASSWORD}}
8
- github-com:
9
- type: git
10
- url: https://github.com
11
- username: ${{secrets.DEPENDENCIES_GITHUB_USER}}
12
- password: ${{secrets.DEPENDENCIES_GITHUB_TOKEN}}
13
2
  updates:
14
3
  - package-ecosystem: bundler
15
4
  directory: "/"
@@ -17,7 +6,10 @@ updates:
17
6
  interval: daily
18
7
  open-pull-requests-limit: 100
19
8
  insecure-external-code-execution: allow
20
- registries: "*"
9
+ - package-ecosystem: npm
10
+ directory: "/lang/typescript"
11
+ schedule:
12
+ interval: daily
21
13
  - package-ecosystem: github-actions
22
14
  directory: "/"
23
15
  schedule:
@@ -15,9 +15,9 @@ jobs:
15
15
  working-directory: lang/typescript
16
16
  steps:
17
17
  - name: Check out code
18
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
18
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19
19
  - name: Setup Node
20
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
20
+ uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
21
21
  with:
22
22
  node-version: 20
23
23
  - name: Setup PNPM
@@ -20,9 +20,9 @@ jobs:
20
20
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
21
21
  steps:
22
22
  - name: Check out code
23
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
23
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24
24
  - name: Set up Ruby ${{ matrix.ruby }}
25
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
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@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
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,19 @@ 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.2] - 2026-04-27
34
+ - Update CLDR subdivision names for IT-OT (Gallura Nord-Est Sardegna) and IT-CI (Sulcis Iglesiente) in `:en`, `:it`, and `:de` only; other locales remain on stale upstream CLDR pending an upstream fix [#458](https://github.com/Shopify/worldwide/pull/458)
35
+
36
+ ## [1.24.1] - 2026-04-15
37
+ - Update zips_crossing_provinces in IE [#454](https://github.com/Shopify/worldwide/pull/454)
38
+
39
+ ## [1.24.0] - 2026-04-13
40
+ - Update IT Sardinian provinces and zip prefixes [#451](https://github.com/Shopify/worldwide/pull/451)
41
+
32
42
  ## [1.23.2] - 2026-03-26
33
43
  - Add zip code prefix support for Ireland (IE) [#440](https://github.com/Shopify/worldwide/pull/440)
34
44
 
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.23.2)
16
+ worldwide (1.24.2)
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
@@ -1967,7 +1967,7 @@ de:
1967
1967
  itcb: Provinz Campobasso
1968
1968
  itce: Provinz Caserta
1969
1969
  itch: Provinz Chieti
1970
- itci: Provinz Carbonia-Iglesias
1970
+ itci: Provinz Sulcis Iglesiente
1971
1971
  itcl: Provinz Caltanissetta
1972
1972
  itcn: Provinz Cuneo
1973
1973
  itco: Provinz Como
@@ -2007,7 +2007,7 @@ de:
2007
2007
  itnu: Provinz Nuoro
2008
2008
  itog: Provinz Ogliastra
2009
2009
  itor: Provinz Oristano
2010
- itot: Provinz Olbia-Tempio
2010
+ itot: Provinz Gallura Nord-Est Sardegna
2011
2011
  itpa: Provinz Palermo
2012
2012
  itpc: Provinz Piacenza
2013
2013
  itpd: Provinz Padua
@@ -2446,7 +2446,7 @@ en:
2446
2446
  itcb: Campobasso
2447
2447
  itce: Caserta
2448
2448
  itch: Chieti
2449
- itci: Carbonia-Iglesias
2449
+ itci: Sulcis Iglesiente
2450
2450
  itcl: Caltanissetta
2451
2451
  itcn: Cuneo
2452
2452
  itco: Como
@@ -2486,7 +2486,7 @@ en:
2486
2486
  itnu: Nuoro
2487
2487
  itog: Ogliastra
2488
2488
  itor: Oristano
2489
- itot: Olbia-Tempio
2489
+ itot: Gallura Nord-Est Sardegna
2490
2490
  itpa: Palermo
2491
2491
  itpc: Piacenza
2492
2492
  itpd: Padua
@@ -1990,7 +1990,7 @@ it:
1990
1990
  itcb: Campobasso
1991
1991
  itce: Caserta
1992
1992
  itch: Chieti
1993
- itci: Carbonia-Iglesias
1993
+ itci: Sulcis Iglesiente
1994
1994
  itcl: Caltanissetta
1995
1995
  itcn: Cuneo
1996
1996
  itco: Como
@@ -2030,7 +2030,7 @@ it:
2030
2030
  itnu: Nuoro
2031
2031
  itog: Ogliastra
2032
2032
  itor: Oristano
2033
- itot: Olbia-Tempio
2033
+ itot: Gallura Nord-Est Sardegna
2034
2034
  itpa: Palermo
2035
2035
  itpc: Piacenza
2036
2036
  itpd: Padova
data/data/regions/IE.yml CHANGED
@@ -660,6 +660,9 @@ zips_crossing_provinces:
660
660
  R14:
661
661
  - KE
662
662
  - LS
663
+ R32:
664
+ - LS
665
+ - OY
663
666
  R42:
664
667
  - OY
665
668
  - TA
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, ... now SU
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, now in SU
295
- - '09062' # Sadali, now in SU
296
- - '09063' # Serri, now in SU
297
- - '09065' # Seulo, now in SU
298
- - '09066' # Villanova Tulo, now in SU
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, ... now SU
746
- - '09021' # Barumini, now SU
747
- - '09022' # Lumunatrona, now SU
748
- - '09025' # Sanluri, now SU
749
- - '09027' # Serrenti, now SU
750
- - '09029' # Setzu, Tuili, now SU
751
- - '09030' # Guspini, now SU
752
- - '09031' # Arbus, now SU
753
- - '09035' # Gonnosfandiga, now SU
754
- - '09036' # Guspini, now SU
755
- - '09037' # San Gavino Monreale, now SU
756
- - '09038' # Serramanna, now SU
757
- - '09039' # Villacidro, now SU
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
- - '07'
1195
- # According to geonames.org, 08020 is in SS.
1196
- # Wikipedia claims it's in OT, which was dissolved recently.
1197
- # poste.it says that it's in NU.
1198
- # We consider poste.it to be the definitive source, so it's in NU, not here.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.23.2"
4
+ VERSION = "1.24.2"
5
5
  end
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.23.2
4
+ version: 1.24.2
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.8
8552
+ rubygems_version: 4.0.11
8553
8553
  specification_version: 4
8554
8554
  summary: Internationalization and localization APIs
8555
8555
  test_files: []