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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/worldwide/regions_loader.rb +1 -1
- data/lib/worldwide/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '07686903dbbcf80040f65d43e390bc4f183227f25346e975dd3a6dd492a9938d'
|
4
|
+
data.tar.gz: b28415cbfa252e57144dd4efd725d571b96cdc6eb64f28a8df35c2e17edc63b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
@@ -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"] ||
|
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"] || []
|
data/lib/worldwide/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|