worldwide 1.26.0 → 1.26.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: 60cb3f293340533a39f8316ec7dbc1fe4dfb35483f2603cf348240db5c34ae8c
4
- data.tar.gz: 74fc4ebce8fc936e6f0c80c5fab79a6c7d8534c5a4aae289a0784b2a9f9ebee1
3
+ metadata.gz: faf1df66e952afa706fe1a04c23e3a32df9f7f05658452d0e82413a396e0d75b
4
+ data.tar.gz: 0f797bd777c491bb568bb0ae9543e71666afa6219a28d369fe00844295b2e573
5
5
  SHA512:
6
- metadata.gz: 3e347d426de7e52e23504e3632a8fb4ad3e3473994138f2506859696e78b04e6ceaf2bbbab9074d34c2cbcc0828427227d2ff9eea630b97aafa2ddd5379a66be
7
- data.tar.gz: 7107f99efa3ca3a9532585f69cfee927b619988bedb31f470bf46fc6b05b6ec28ba7a9f1ac2aa8fc1246922b29c83d7ba9a3ca8168c396fbd371d9cd954a814b
6
+ metadata.gz: df239d3527f61cf678ec75960e22386557510ca136542b24a2c3f9b39b6c6870f199c113dd3f53d2ad1a42600669b45db9c2a0cbcbfafdd0ed9be7ce811da898
7
+ data.tar.gz: 24120f9fd10c98113fe53a595a93c3f691651645e13c03e6cb5d75e4092c203b9f48272b50e18d12a7f9c9811d5be767ab07100a25445501ed5531599b8252c9
data/CHANGELOG.md CHANGED
@@ -29,6 +29,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
29
29
 
30
30
  ---
31
31
 
32
+ ## [1.26.2] - 2026-08-05
33
+ - Fix `address1_regex` for NL/BE/DE so house numbers with uppercase unit letters (`Voltastraat 2 A`), hyphenated ranges (`Philippusweg 3-5`), roman-numeral suffixes (`Kerkstraat 12-II`), and NL streets starting with an ordinal (`1e Helmersstraat 5`) split correctly instead of dumping the whole value into `streetName`. [#565](https://github.com/Shopify/worldwide/pull/565)
34
+
35
+ ---
36
+
37
+ ## [1.26.1] - 2026-07-29
38
+ - Add IE Eircode routing key `H16` (Cootehill) to `zips_crossing_provinces` so it is valid for both Cavan and Monaghan. [#562](https://github.com/Shopify/worldwide/pull/562)
39
+
32
40
  ## [1.26.0] - 2026-07-22
33
41
  - Add `Worldwide::BusinessNames.abbreviated` for script-aware abbreviation of a single business name string. [#538](https://github.com/Shopify/worldwide/pull/538) [#553](https://github.com/Shopify/worldwide/pull/553)
34
42
  - Add `Worldwide::Names.abbreviated` to abbreviate personal names by script. [#539](https://github.com/Shopify/worldwide/pull/539)
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.26.0)
16
+ worldwide (1.26.2)
17
17
  activesupport (>= 7.0)
18
18
  i18n (>= 1.15)
19
19
  phonelib (~> 0.8)
data/data/regions/BE.yml CHANGED
@@ -32,8 +32,8 @@ format:
32
32
  format_extended:
33
33
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
34
34
  address1_regex:
35
- - "^(?<streetName>[^\\d,]+),? (?<streetNumber>\\d+(?: ?[a-z])?)$"
36
- - "^(?<streetNumber>\\d+(?: ?[a-z])?),? (?<streetName>[^\\d,]+)$"
35
+ - "^(?<streetName>[^\\d,]+),? (?<streetNumber>\\d+(?:-\\d+)?(?: ?[A-Za-z])?)$"
36
+ - "^(?<streetNumber>\\d+(?:-\\d+)?(?: ?[A-Za-z])?),? (?<streetName>[^\\d,]+)$"
37
37
  additional_address_fields:
38
38
  - name: streetName
39
39
  required: true
data/data/regions/DE.yml CHANGED
@@ -30,8 +30,8 @@ format:
30
30
  format_extended:
31
31
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
32
32
  address1_regex:
33
- - "^(?<streetName>[^\\d,]+?\\.?)[, ]{1,2}(?<streetNumber>\\d+(?: ?[a-z])?)$"
34
- - "^(?<streetName>[^\\d,]+\\.)(?<streetNumber>\\d+(?: ?[a-z])?)$"
33
+ - "^(?<streetName>[^\\d,]+?\\.?)[, ]{1,2}(?<streetNumber>\\d+(?:-\\d+)?(?: ?[A-Za-z])?)$"
34
+ - "^(?<streetName>[^\\d,]+\\.)(?<streetNumber>\\d+(?:-\\d+)?(?: ?[A-Za-z])?)$"
35
35
  additional_address_fields:
36
36
  - name: streetName
37
37
  required: true
data/data/regions/IE.yml CHANGED
@@ -622,6 +622,9 @@ zips_crossing_provinces:
622
622
  H12:
623
623
  - CN
624
624
  - LM
625
+ H16:
626
+ - CN
627
+ - MN
625
628
  H53:
626
629
  - G
627
630
  - RN
data/data/regions/NL.yml CHANGED
@@ -33,7 +33,7 @@ format:
33
33
  format_extended:
34
34
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
35
35
  address1_regex:
36
- - "^(?<streetName>[^\\d]+) (?<streetNumber>\\d+(?: ?[a-z])?)$"
36
+ - "^(?<streetName>(?:\\d+[a-z]+\\s+)?[^\\d]+)\\s+(?<streetNumber>\\d+(?:-[A-Za-z0-9]+)?(?: ?[A-Za-z])?)$"
37
37
  additional_address_fields:
38
38
  - name: streetName
39
39
  required: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.26.0"
4
+ VERSION = "1.26.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.26.0
4
+ version: 1.26.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify