worldwide 1.7.5 → 1.8.0

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: 73b7ac8bf90c9e5184a3422d4672334fc1c66496729fa1014ffac15c6f86960d
4
- data.tar.gz: 1e4eb70d0226a58f54a9a59723e6c5940460f41a48e098c06a5a63c517e9d6dd
3
+ metadata.gz: 10690cd44e02d998b8ca4ee789e61249a38ea26de8170510ccdd9db4eb025f19
4
+ data.tar.gz: 0700e6a0e322cccab5562e430ccc5d44a898759e51b1886f61e3d92c079315fb
5
5
  SHA512:
6
- metadata.gz: a7f52ac2eb268b18a05aa816905cc4112b13d5efbccc64001d589fd696394c7e1f0e938654edf16d7fb38a9efa5d2379593081d81004c6afbb722de3039d7a41
7
- data.tar.gz: 93ae987d62a19e4afbf7720a861f9a470e18b97d78a01ff1df9d470af2aadaa741793b3c0c7e56fb35dfd609f713311d26429d1cc213bc69ebee2fedf8e7f4d9
6
+ metadata.gz: 7fb8e5ca9731b7c01e2c0326a6196200a58b313d9ec4e5fce2d32a6deafa442f49da95afac4c5cf6d465ade8c4a8c0665aabf8dcea576c48133fde457a9ff06a
7
+ data.tar.gz: 7bac429acb03a74cb3f408d606dc4691c164b72d6e619079f7782a420bdad4208f37498a9b1d29edf898b89ab3d5de72c81512a5bfcde1b9ab27304ddcf70f78
@@ -11,7 +11,7 @@ jobs:
11
11
  matrix:
12
12
  gemfile:
13
13
  - Gemfile
14
- ruby: ["3.0", "3.1", "3.2"]
14
+ ruby: ["3.1", "3.2", "3.3"]
15
15
  env:
16
16
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
17
17
  steps:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.3.1
data/CHANGELOG.md CHANGED
@@ -29,7 +29,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
29
29
 
30
30
  ---
31
31
 
32
- ## [1.7.5] = 2024-08-01
32
+ ## [1.8.0] - 2024-08-09
33
+ - Bump Ruby to 3.3.1; drop support for 3.0.x [#264](https://github.com/Shopify/worldwide/pull/264)
34
+ - Add support for partial zip matching for SG [#271](https://github.com/Shopify/worldwide/pull/271)
35
+
36
+ ## [1.7.5] - 2024-08-01
33
37
  - Update legacy timezone mappings for America/Indianapolis and Asia/Calcutta [#267](https://github.com/Shopify/worldwide/pull/267)
34
38
 
35
39
  ## [1.7.4] - 2024-08-01
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.7.5)
16
+ worldwide (1.8.0)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
@@ -8,6 +8,7 @@ tax_name: GST
8
8
  group: Asian Countries
9
9
  group_name: Asia
10
10
  zip_regex: "^\\d{6}$"
11
+ partial_zip_regex: "^\\d{2}$"
11
12
  zip_example: '546080'
12
13
  phone_number_prefix: 65
13
14
  building_number_required: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.7.5"
4
+ VERSION = "1.8.0"
5
5
  end
data/worldwide.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
26
 
27
- spec.required_ruby_version = ">= 3.0.0"
27
+ spec.required_ruby_version = ">= 3.1.0"
28
28
 
29
29
  spec.add_dependency("activesupport", ">= 7.0")
30
30
  spec.add_dependency("i18n")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: worldwide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.5
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -8498,7 +8498,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
8498
8498
  requirements:
8499
8499
  - - ">="
8500
8500
  - !ruby/object:Gem::Version
8501
- version: 3.0.0
8501
+ version: 3.1.0
8502
8502
  required_rubygems_version: !ruby/object:Gem::Requirement
8503
8503
  requirements:
8504
8504
  - - ">="