worldwide 1.23.0 → 1.23.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: 29d3c69ddd962fa33995277a84c9f2fc636f4f9406e4993ba5ea4d31b5470c8a
4
- data.tar.gz: 81d6a3da6ab0733cd400a4646b1374425d4b0c07ff93de779c26cd3906509fa1
3
+ metadata.gz: 5a19c2ac1808e2b1d09a95f4b6c104e66d69ff5c6225c9bab21c38c8ba91a1d2
4
+ data.tar.gz: 3c88f502674b803ee2a55f8d87b2c6cf3b93e7894eeb41955c09aaf82d503953
5
5
  SHA512:
6
- metadata.gz: 4cb29d9bd01a6844e1f57146be05417193623cdcc41003104f5cb582e4d8d77bf70ccdccb6ea54e9af2f6c426c521ece12d3d661bdd13c6af03890ce5c39b0f8
7
- data.tar.gz: faccaa2608e3f55d4be23c63342987897684422c8b16704aad94f9f6ef51fe356bef1a3fc2857090871c022a8fb4e045a5ac6d275aced3fedc42ec8f614c7cf2
6
+ metadata.gz: 0bc4120118be0b16ba36899f5aafca368bd9d06dd77e619aecf11db815970ca6e78e43c75b480728598092b20ec4157805efc5993d86d0df44d96da1678cefba
7
+ data.tar.gz: 11bac24b36326b91dd515fcfa075f91845bf1e6d9a35e39f46c0497e378f546223d967dc8bb9f30385f86768b53a4adbeeba3889493adc58b8e93eff05684b77
data/CHANGELOG.md CHANGED
@@ -27,6 +27,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
27
27
 
28
28
  ## [Unreleased]
29
29
 
30
+ ---
31
+
32
+ ## [1.23.2] - 2026-03-26
33
+ - Add zip code prefix support for Ireland (IE) [#440](https://github.com/Shopify/worldwide/pull/440)
34
+
35
+ ## [1.23.1] - 2026-03-25
36
+ - Bump phonelib from 0.8.7 to 0.10.17, fixing phone validation for newly allocated number prefixes (e.g. Saudi Arabia `57x`)
37
+ - Bump mocha from 2.0.2 to 3.1.0 for compatibility with newer minitest
38
+
30
39
  ---
31
40
  ## [1.23.0] - 2026-03-12
32
41
  - Mark 17 countries as tax-inclusive: AR, CL, CO, EG, ID, IL, KZ, MX, PE, PH, QA, SA, KR, TW, TH, AE, VN [#438](https://github.com/Shopify/worldwide/pull/438)
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.23.2)
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)
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,173 @@ 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
+ R42:
664
+ - OY
665
+ - TA
666
+ R45:
667
+ - OY
668
+ - KE
669
+ R51:
670
+ - KE
671
+ - OY
672
+ R93:
673
+ - CW
674
+ - KE
675
+ - KK
676
+ - LS
677
+ - WW
678
+ R95:
679
+ - KK
680
+ - CW
681
+ V94:
682
+ - LK
683
+ - CE
684
+ - G
685
+ - KY
686
+ - TA
687
+ W23:
688
+ - KE
689
+ - D
690
+ - MH
691
+ W91:
692
+ - KE
693
+ - WW
694
+ X91:
695
+ - WD
696
+ - KK
697
+ Y21:
698
+ - WX
699
+ - CW
700
+ Y34:
701
+ - WX
702
+ - KK
239
703
  timezone: Europe/Dublin
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.23.0"
4
+ VERSION = "1.23.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.0
4
+ version: 1.23.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.6
8552
+ rubygems_version: 4.0.8
8553
8553
  specification_version: 4
8554
8554
  summary: Internationalization and localization APIs
8555
8555
  test_files: []