worldwide 0.5.0 → 0.5.1

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: e6dab7ef2d9d926721d2ef41e8e81b947b7f0b4c053d7df98377f983797bc245
4
- data.tar.gz: 9eaad39219ba9ddb74c963d97035b9222f5f82d604ca38fe7128a51ae53b9391
3
+ metadata.gz: '07686903dbbcf80040f65d43e390bc4f183227f25346e975dd3a6dd492a9938d'
4
+ data.tar.gz: b28415cbfa252e57144dd4efd725d571b96cdc6eb64f28a8df35c2e17edc63b8
5
5
  SHA512:
6
- metadata.gz: ec3d8cbf74e6ec35195da2da959a5d104434f6f675bba2e8056a74338746dd01e82a3cd116a94f109be264e86b30a948631ef671967df94a07692e1e794588ce
7
- data.tar.gz: '09f90b59ebdd15c7b7aa7b945defb11cfa544eec0cbcbdd5ba1faf7ae4b96ce16fc6a28ca830261bf834bca0bfc34b049fb511c1dc922beaf24df5ea7ce80619'
6
+ metadata.gz: 5895ac36438399d16f5c0f977f2362b7c663084dcfd5c3453972a83f1941142856a2285ea60ea43286727ecc1cd800c0568376365d7fd1e9dcb9e7701348c7ac
7
+ data.tar.gz: 7cad75ec7adff87d1494215f28b0735d743874e3aabb68475884f39c6145f64caae9fc32260b777ecd2c0bdc966ba716fdeca593ca4fd9e6d97348ecb814b000
data/CHANGELOG.md CHANGED
@@ -31,6 +31,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
31
31
 
32
32
  ---
33
33
 
34
+ [0.5.1] - 2023-11-29
35
+
36
+ - Fix for building_number_required to default to false [#48]
37
+
34
38
  [0.5.0] - 2023-11-20
35
39
 
36
40
  - Add support for `Region#associated_continent` to return the containing continent of the region [#43](https://github.com/Shopify/worldwide/pull/43)
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (0.5.0)
16
+ worldwide (0.5.1)
17
17
  activesupport (~> 7.0)
18
18
  i18n (~> 1.12.0)
19
19
  phonelib (~> 0.8)
@@ -89,7 +89,7 @@ module Worldwide
89
89
  end
90
90
 
91
91
  def apply_territory_attributes(region, spec)
92
- region.building_number_required = spec["building_number_required"] || true
92
+ region.building_number_required = spec["building_number_required"] || false
93
93
  region.building_number_may_be_in_address2 = spec["building_number_may_be_in_address2"] || false
94
94
  currency_code = spec["currency"]
95
95
  region.code_alternates = spec["code_alternates"] || []
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
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: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-20 00:00:00.000000000 Z
11
+ date: 2023-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport