worldwide 1.23.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29d3c69ddd962fa33995277a84c9f2fc636f4f9406e4993ba5ea4d31b5470c8a
4
- data.tar.gz: 81d6a3da6ab0733cd400a4646b1374425d4b0c07ff93de779c26cd3906509fa1
3
+ metadata.gz: '084d32dc5e11960f26867866cf6b17d2246c7c5fbe2720a0255057821ca942d9'
4
+ data.tar.gz: 0a8fd20204d1540f86b72078f92629172dcb77ae1894b0330fd5aadcaf466439
5
5
  SHA512:
6
- metadata.gz: 4cb29d9bd01a6844e1f57146be05417193623cdcc41003104f5cb582e4d8d77bf70ccdccb6ea54e9af2f6c426c521ece12d3d661bdd13c6af03890ce5c39b0f8
7
- data.tar.gz: faccaa2608e3f55d4be23c63342987897684422c8b16704aad94f9f6ef51fe356bef1a3fc2857090871c022a8fb4e045a5ac6d275aced3fedc42ec8f614c7cf2
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@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,6 +26,22 @@ 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
30
+
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
+
39
+ ## [1.23.2] - 2026-03-26
40
+ - Add zip code prefix support for Ireland (IE) [#440](https://github.com/Shopify/worldwide/pull/440)
41
+
42
+ ## [1.23.1] - 2026-03-25
43
+ - Bump phonelib from 0.8.7 to 0.10.17, fixing phone validation for newly allocated number prefixes (e.g. Saudi Arabia `57x`)
44
+ - Bump mocha from 2.0.2 to 3.1.0 for compatibility with newer minitest
29
45
 
30
46
  ---
31
47
  ## [1.23.0] - 2026-03-12
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.23.0)
16
+ worldwide (1.24.1)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
@@ -55,7 +55,7 @@ GEM
55
55
  builder
56
56
  minitest (>= 5.0)
57
57
  ruby-progressbar
58
- mocha (2.0.2)
58
+ mocha (3.1.0)
59
59
  ruby2_keywords (>= 0.0.5)
60
60
  mutex_m (0.1.2)
61
61
  nokogiri (1.18.9-arm64-darwin)
@@ -66,7 +66,7 @@ GEM
66
66
  parser (3.3.0.5)
67
67
  ast (~> 2.4.1)
68
68
  racc
69
- phonelib (0.8.7)
69
+ phonelib (0.10.17)
70
70
  prettier_print (1.2.0)
71
71
  pry (0.14.2)
72
72
  coderay (~> 1.1)
@@ -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
@@ -12,7 +12,7 @@ tags:
12
12
  - EU-member
13
13
  zip_regex: "^(D6W|[AC-FHKNPRT-Z]\\d{2}) ?[0-9AC-FHKNPRT-Z]{4}$"
14
14
  partial_zip_regex: "^(D6W|[AC-FHKNPRT-Z]\\d{2})$"
15
- zip_example: A65 F4E2
15
+ zip_example: D02 AF30
16
16
  phone_number_prefix: 353
17
17
  week_start_day: monday
18
18
  format:
@@ -38,6 +38,15 @@ zones:
38
38
  - County Carlow
39
39
  - Co. Carlow
40
40
  tax: 0.0
41
+ neighboring_zones:
42
+ - KE
43
+ - KK
44
+ - LS
45
+ - WW
46
+ - WX
47
+ zip_prefixes:
48
+ - R21
49
+ - R93
41
50
  - name: Cavan
42
51
  code: CN
43
52
  name_alternates:
@@ -46,6 +55,17 @@ zones:
46
55
  - County Cavan
47
56
  - Co. Cavan
48
57
  tax: 0.0
58
+ neighboring_zones:
59
+ - LM
60
+ - LD
61
+ - MH
62
+ - MN
63
+ - WH
64
+ zip_prefixes:
65
+ - A82
66
+ - H12
67
+ - H14
68
+ - H16
49
69
  - name: Clare
50
70
  code: CE
51
71
  name_alternates:
@@ -54,6 +74,14 @@ zones:
54
74
  - County Clare
55
75
  - Co. Clare
56
76
  tax: 0.0
77
+ neighboring_zones:
78
+ - G
79
+ - LK
80
+ - TA
81
+ zip_prefixes:
82
+ - V14
83
+ - V15
84
+ - V95
57
85
  - name: Cork
58
86
  code: CO
59
87
  name_alternates:
@@ -62,6 +90,35 @@ zones:
62
90
  - County Cork
63
91
  - Co. Cork
64
92
  tax: 0.0
93
+ neighboring_zones:
94
+ - KY
95
+ - LK
96
+ - TA
97
+ - WD
98
+ zip_prefixes:
99
+ - P12
100
+ - P14
101
+ - P17
102
+ - P24
103
+ - P25
104
+ - P31
105
+ - P32
106
+ - P36
107
+ - P43
108
+ - P47
109
+ - P51
110
+ - P56
111
+ - P61
112
+ - P67
113
+ - P72
114
+ - P75
115
+ - P81
116
+ - P85
117
+ - T12
118
+ - T23
119
+ - T34
120
+ - T45
121
+ - T56
65
122
  - name: Donegal
66
123
  code: DL
67
124
  name_alternates:
@@ -70,6 +127,12 @@ zones:
70
127
  - County Donegal
71
128
  - Co. Donegal
72
129
  tax: 0.0
130
+ neighboring_zones:
131
+ - LM
132
+ zip_prefixes:
133
+ - F92
134
+ - F93
135
+ - F94
73
136
  - name: Dublin
74
137
  code: D
75
138
  name_alternates:
@@ -77,6 +140,45 @@ zones:
77
140
  - County Dublin
78
141
  - Co. Dublin
79
142
  tax: 0.0
143
+ neighboring_zones:
144
+ - KE
145
+ - MH
146
+ - WW
147
+ zip_prefixes:
148
+ - A41
149
+ - A42
150
+ - A45
151
+ - A94
152
+ - A96
153
+ - D01
154
+ - D02
155
+ - D03
156
+ - D04
157
+ - D05
158
+ - D06
159
+ - D07
160
+ - D08
161
+ - D09
162
+ - D10
163
+ - D11
164
+ - D12
165
+ - D13
166
+ - D14
167
+ - D15
168
+ - D16
169
+ - D17
170
+ - D18
171
+ - D20
172
+ - D22
173
+ - D24
174
+ - D6W
175
+ - K32
176
+ - K34
177
+ - K36
178
+ - K45
179
+ - K56
180
+ - K67
181
+ - K78
80
182
  - name: Galway
81
183
  code: G
82
184
  name_alternates:
@@ -85,6 +187,19 @@ zones:
85
187
  - County Galway
86
188
  - Co. Galway
87
189
  tax: 0.0
190
+ neighboring_zones:
191
+ - CE
192
+ - MO
193
+ - OY
194
+ - RN
195
+ - TA
196
+ zip_prefixes:
197
+ - H53
198
+ - H54
199
+ - H62
200
+ - H65
201
+ - H71
202
+ - H91
88
203
  - name: Kerry
89
204
  code: KY
90
205
  name_alternates:
@@ -93,6 +208,14 @@ zones:
93
208
  - County Kerry
94
209
  - Co. Kerry
95
210
  tax: 0.0
211
+ neighboring_zones:
212
+ - CO
213
+ - LK
214
+ zip_prefixes:
215
+ - V23
216
+ - V31
217
+ - V92
218
+ - V93
96
219
  - name: Kildare
97
220
  code: KE
98
221
  name_alternates:
@@ -101,6 +224,21 @@ zones:
101
224
  - County Kildare
102
225
  - Co. Kildare
103
226
  tax: 0.0
227
+ neighboring_zones:
228
+ - CW
229
+ - D
230
+ - LS
231
+ - MH
232
+ - OY
233
+ - WW
234
+ zip_prefixes:
235
+ - R14
236
+ - R51
237
+ - R56
238
+ - W12
239
+ - W23
240
+ - W34
241
+ - W91
104
242
  - name: Kilkenny
105
243
  code: KK
106
244
  name_alternates:
@@ -109,6 +247,14 @@ zones:
109
247
  - County Kilkenny
110
248
  - Co. Kilkenny
111
249
  tax: 0.0
250
+ neighboring_zones:
251
+ - CW
252
+ - LS
253
+ - TA
254
+ - WD
255
+ - WX
256
+ zip_prefixes:
257
+ - R95
112
258
  - name: Laois
113
259
  code: LS
114
260
  name_alternates:
@@ -116,6 +262,14 @@ zones:
116
262
  - County Laois
117
263
  - Co. Laois
118
264
  tax: 0.0
265
+ neighboring_zones:
266
+ - CW
267
+ - KE
268
+ - KK
269
+ - OY
270
+ - TA
271
+ zip_prefixes:
272
+ - R32
119
273
  - name: Leitrim
120
274
  code: LM
121
275
  name_alternates:
@@ -124,6 +278,14 @@ zones:
124
278
  - County Leitrim
125
279
  - Co. Leitrim
126
280
  tax: 0.0
281
+ neighboring_zones:
282
+ - CN
283
+ - DL
284
+ - LD
285
+ - RN
286
+ - SO
287
+ zip_prefixes:
288
+ - N41
127
289
  - name: Limerick
128
290
  code: LK
129
291
  name_alternates:
@@ -132,6 +294,15 @@ zones:
132
294
  - County Limerick
133
295
  - Co. Limerick
134
296
  tax: 0.0
297
+ neighboring_zones:
298
+ - CE
299
+ - CO
300
+ - KY
301
+ - TA
302
+ zip_prefixes:
303
+ - V35
304
+ - V42
305
+ - V94
135
306
  - name: Longford
136
307
  code: LD
137
308
  name_alternates:
@@ -140,6 +311,13 @@ zones:
140
311
  - County Longford
141
312
  - Co. Longford
142
313
  tax: 0.0
314
+ neighboring_zones:
315
+ - CN
316
+ - LM
317
+ - RN
318
+ - WH
319
+ zip_prefixes:
320
+ - N39
143
321
  - name: Louth
144
322
  code: LH
145
323
  name_alternates:
@@ -148,6 +326,12 @@ zones:
148
326
  - County Louth
149
327
  - Co. Louth
150
328
  tax: 0.0
329
+ neighboring_zones:
330
+ - MH
331
+ - MN
332
+ zip_prefixes:
333
+ - A91
334
+ - A92
151
335
  - name: Mayo
152
336
  code: MO
153
337
  name_alternates:
@@ -156,6 +340,17 @@ zones:
156
340
  - County Mayo
157
341
  - Co. Mayo
158
342
  tax: 0.0
343
+ neighboring_zones:
344
+ - G
345
+ - RN
346
+ - SO
347
+ zip_prefixes:
348
+ - F12
349
+ - F23
350
+ - F26
351
+ - F28
352
+ - F31
353
+ - F35
159
354
  - name: Meath
160
355
  code: MH
161
356
  name_alternates:
@@ -164,6 +359,20 @@ zones:
164
359
  - County Meath
165
360
  - Co. Meath
166
361
  tax: 0.0
362
+ neighboring_zones:
363
+ - CN
364
+ - D
365
+ - KE
366
+ - LH
367
+ - MN
368
+ - OY
369
+ - WH
370
+ zip_prefixes:
371
+ - A83
372
+ - A84
373
+ - A85
374
+ - A86
375
+ - C15
167
376
  - name: Monaghan
168
377
  code: MN
169
378
  name_alternates:
@@ -172,6 +381,15 @@ zones:
172
381
  - County Monaghan
173
382
  - Co. Monaghan
174
383
  tax: 0.0
384
+ neighboring_zones:
385
+ - CN
386
+ - LH
387
+ - MH
388
+ zip_prefixes:
389
+ - A75
390
+ - A81
391
+ - H18
392
+ - H23
175
393
  - name: Offaly
176
394
  code: OY
177
395
  name_alternates:
@@ -180,6 +398,18 @@ zones:
180
398
  - County Offaly
181
399
  - Co. Offaly
182
400
  tax: 0.0
401
+ neighboring_zones:
402
+ - G
403
+ - KE
404
+ - LS
405
+ - MH
406
+ - RN
407
+ - TA
408
+ - WH
409
+ zip_prefixes:
410
+ - R35
411
+ - R42
412
+ - R45
183
413
  - name: Roscommon
184
414
  code: RN
185
415
  name_alternates:
@@ -188,6 +418,18 @@ zones:
188
418
  - County Roscommon
189
419
  - Co. Roscommon
190
420
  tax: 0.0
421
+ neighboring_zones:
422
+ - G
423
+ - LM
424
+ - LD
425
+ - MO
426
+ - OY
427
+ - SO
428
+ - WH
429
+ zip_prefixes:
430
+ - F42
431
+ - F45
432
+ - F52
191
433
  - name: Sligo
192
434
  code: SO
193
435
  name_alternates:
@@ -196,6 +438,13 @@ zones:
196
438
  - County Sligo
197
439
  - Co. Sligo
198
440
  tax: 0.0
441
+ neighboring_zones:
442
+ - LM
443
+ - MO
444
+ - RN
445
+ zip_prefixes:
446
+ - F56
447
+ - F91
199
448
  - name: Tipperary
200
449
  code: TA
201
450
  name_alternates:
@@ -204,6 +453,24 @@ zones:
204
453
  - County Tipperary
205
454
  - Co. Tipperary
206
455
  tax: 0.0
456
+ neighboring_zones:
457
+ - CE
458
+ - CO
459
+ - G
460
+ - KK
461
+ - LK
462
+ - LS
463
+ - OY
464
+ - WD
465
+ zip_prefixes:
466
+ - E21
467
+ - E25
468
+ - E32
469
+ - E34
470
+ - E41
471
+ - E45
472
+ - E53
473
+ - E91
207
474
  - name: Waterford
208
475
  code: WD
209
476
  name_alternates:
@@ -212,6 +479,15 @@ zones:
212
479
  - County Waterford
213
480
  - Co. Waterford
214
481
  tax: 0.0
482
+ neighboring_zones:
483
+ - CO
484
+ - KK
485
+ - TA
486
+ - WX
487
+ zip_prefixes:
488
+ - X35
489
+ - X42
490
+ - X91
215
491
  - name: Westmeath
216
492
  code: WH
217
493
  name_alternates:
@@ -220,6 +496,15 @@ zones:
220
496
  - County Westmeath
221
497
  - Co. Westmeath
222
498
  tax: 0.0
499
+ neighboring_zones:
500
+ - CN
501
+ - LD
502
+ - MH
503
+ - OY
504
+ - RN
505
+ zip_prefixes:
506
+ - N37
507
+ - N91
223
508
  - name: Wexford
224
509
  code: WX
225
510
  name_alternates:
@@ -228,6 +513,16 @@ zones:
228
513
  - County Wexford
229
514
  - Co. Wexford
230
515
  tax: 0.0
516
+ neighboring_zones:
517
+ - CW
518
+ - KK
519
+ - WD
520
+ - WW
521
+ zip_prefixes:
522
+ - Y21
523
+ - Y25
524
+ - Y34
525
+ - Y35
231
526
  - name: Wicklow
232
527
  code: WW
233
528
  name_alternates:
@@ -236,4 +531,176 @@ zones:
236
531
  - County Wicklow
237
532
  - Co. Wicklow
238
533
  tax: 0.0
534
+ neighboring_zones:
535
+ - CW
536
+ - D
537
+ - KE
538
+ - WX
539
+ zip_prefixes:
540
+ - A63
541
+ - A67
542
+ - A98
543
+ - Y14
544
+ zips_crossing_provinces:
545
+ A42:
546
+ - D
547
+ - MH
548
+ A81:
549
+ - MN
550
+ - CN
551
+ A82:
552
+ - CN
553
+ - MH
554
+ A83:
555
+ - MH
556
+ - KE
557
+ A84:
558
+ - MH
559
+ - D
560
+ A91:
561
+ - LH
562
+ - MN
563
+ A92:
564
+ - LH
565
+ - MH
566
+ A98:
567
+ - WW
568
+ - D
569
+ C15:
570
+ - MH
571
+ - WH
572
+ D11:
573
+ - D
574
+ - MH
575
+ D15:
576
+ - D
577
+ - MH
578
+ D24:
579
+ - D
580
+ - KE
581
+ E32:
582
+ - TA
583
+ - KK
584
+ - WD
585
+ E34:
586
+ - TA
587
+ - LK
588
+ E41:
589
+ - TA
590
+ - KK
591
+ E53:
592
+ - TA
593
+ - OY
594
+ E91:
595
+ - TA
596
+ - WD
597
+ F12:
598
+ - MO
599
+ - G
600
+ - SO
601
+ F26:
602
+ - MO
603
+ - SO
604
+ F35:
605
+ - MO
606
+ - RN
607
+ F42:
608
+ - RN
609
+ - G
610
+ F45:
611
+ - RN
612
+ - G
613
+ - MO
614
+ - SO
615
+ F52:
616
+ - RN
617
+ - SO
618
+ F91:
619
+ - SO
620
+ - CN
621
+ - LM
622
+ H12:
623
+ - CN
624
+ - LM
625
+ H53:
626
+ - G
627
+ - RN
628
+ H91:
629
+ - G
630
+ - CE
631
+ - MO
632
+ K32:
633
+ - D
634
+ - MH
635
+ N37:
636
+ - WH
637
+ - OY
638
+ - RN
639
+ N39:
640
+ - LD
641
+ - CN
642
+ - RN
643
+ N41:
644
+ - LM
645
+ - CN
646
+ - RN
647
+ P36:
648
+ - CO
649
+ - WD
650
+ P51:
651
+ - CO
652
+ - KY
653
+ - WD
654
+ P56:
655
+ - CO
656
+ - LK
657
+ P67:
658
+ - CO
659
+ - LK
660
+ R14:
661
+ - KE
662
+ - LS
663
+ R32:
664
+ - LS
665
+ - OY
666
+ R42:
667
+ - OY
668
+ - TA
669
+ R45:
670
+ - OY
671
+ - KE
672
+ R51:
673
+ - KE
674
+ - OY
675
+ R93:
676
+ - CW
677
+ - KE
678
+ - KK
679
+ - LS
680
+ - WW
681
+ R95:
682
+ - KK
683
+ - CW
684
+ V94:
685
+ - LK
686
+ - CE
687
+ - G
688
+ - KY
689
+ - TA
690
+ W23:
691
+ - KE
692
+ - D
693
+ - MH
694
+ W91:
695
+ - KE
696
+ - WW
697
+ X91:
698
+ - WD
699
+ - KK
700
+ Y21:
701
+ - WX
702
+ - CW
703
+ Y34:
704
+ - WX
705
+ - KK
239
706
  timezone: Europe/Dublin
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.0"
4
+ VERSION = "1.24.1"
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.0
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.6
8552
+ rubygems_version: 4.0.10
8553
8553
  specification_version: 4
8554
8554
  summary: Internationalization and localization APIs
8555
8555
  test_files: []