worldwide 1.7.4 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e387ea6ef2ee8cb6a0c687709f5f45f0fd48eb232ee0c2c8cd652e62cd90be3e
4
- data.tar.gz: 020a72f8a16cb343236ffdaada7deef7bc85fc96a87a302a93bc0a8ff4244da3
3
+ metadata.gz: 10690cd44e02d998b8ca4ee789e61249a38ea26de8170510ccdd9db4eb025f19
4
+ data.tar.gz: 0700e6a0e322cccab5562e430ccc5d44a898759e51b1886f61e3d92c079315fb
5
5
  SHA512:
6
- metadata.gz: 9e88f513e80dedfa605d0ab248cf1b7317c560ea2fbfa38337f512d024aaee95e40e5c7fe7b444ba66765ccb79723420c1995d5bf555aa627fe6a6a79a10d65b
7
- data.tar.gz: 0ead1124bcd6903157b66b8b34900a0fcd8f7707b8cd06b2b38ed74b4d52c989f32efa6dbe698a6aaa105ecd3e67a9c510a101310c6fa7f21d896007c4322dac
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,9 +29,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
29
29
 
30
30
  ---
31
31
 
32
- ## [1.7.4] - 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
 
39
+ ## [1.7.4] - 2024-08-01
40
+ - Nothing, released by mistake.
41
+
35
42
  ## [1.7.3] - 2024-07-30
36
43
  - Update NZ postcode prefixes [#265](https://github.com/Shopify/worldwide/pull/265)
37
44
 
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.7.4)
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
@@ -22,7 +22,9 @@ module Worldwide
22
22
 
23
23
  DEPRECATED_ZONES_MAP = {
24
24
  "America/Indiana": "America/Indiana/Indianapolis",
25
+ "America/Indianapolis": "America/Indiana/Indianapolis",
25
26
  "America/Argentina": "America/Argentina/Buenos_Aires",
27
+ "Asia/Calcutta": "Asia/Kolkata",
26
28
  "Asia/Chongqing": "Asia/Shanghai",
27
29
  "Asia/Istanbul": "Europe/Istanbul",
28
30
  "Australia/ACT": "Australia/Sydney",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.7.4"
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.4
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
  - - ">="