friendly_shipping 0.7.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748717bbd3258962363ac3c25a9159cbcf384c91d8f5a356a1c405441bec7bac
|
4
|
+
data.tar.gz: cf66d120169edd0bdc1608a27c0a015da599ca7800e813245cb1af9b2ce7992d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b2fe10990482d30af429f31bbb48acfafa3dec81adf728a18a29d3de20bafaf329d00c73bb8899ab21469b7068a67bdb848067980d4deee559cdd1cbe511bb
|
7
|
+
data.tar.gz: 483efd68ebd20f3554baa8a239d1372a3fea8805cbcd203e84f7ec2401fd135627c452c2002147b474635806748dffd926ead4f40030ce583fb8a01c6d60ef3a
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.7.1] - 2023-01-20
|
8
|
+
- ShipEngine Service: Include package dimensions even if package code given
|
9
|
+
|
7
10
|
## [0.7.0] - 2022-12-14
|
8
11
|
- Removes dependency on unmaintained data_uri gem
|
9
12
|
- Bumps required Ruby to 2.7
|
@@ -53,16 +53,13 @@ module FriendlyShipping
|
|
53
53
|
["reference#{index + 1}".to_sym, message]
|
54
54
|
end.to_h
|
55
55
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
height: package.container.height.convert_to(:inches).value.to_f.round(2)
|
64
|
-
}
|
65
|
-
end
|
56
|
+
package_hash[:package_code] = package_options.package_code
|
57
|
+
package_hash[:dimensions] = {
|
58
|
+
unit: 'inch',
|
59
|
+
width: package.container.width.convert_to(:inches).value.to_f.round(2),
|
60
|
+
length: package.container.length.convert_to(:inches).value.to_f.round(2),
|
61
|
+
height: package.container.height.convert_to(:inches).value.to_f.round(2)
|
62
|
+
}
|
66
63
|
package_hash
|
67
64
|
end
|
68
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: friendly_shipping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Meyerhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-monads
|