active_shipping 1.4.1 → 1.4.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/active_shipping/carriers/usps.rb +1 -1
- data/lib/active_shipping/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2b3b32ee4d3b2d4cfc793fac7a4ce1c9acf9f16
|
|
4
|
+
data.tar.gz: 47b3f13704ccf330f1e53ada4ce01567f2ea0c06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fad1a5e48bb0aac07af0553f33d99a4a39ed01f7facf948404454af8b3a86649d0f5ae2077415780935b8631f6ffd58dcd353196e2eb2bceb12f04216a0d5e53
|
|
7
|
+
data.tar.gz: b8ea54fe809c44fbadb0802eeed34f73d729b8b1597f5e039e1a48ef417860c41b5ba730adcc8dc833753d3482c2e8d44344cddb1de86c83ce35f9b44d30f952
|
data/CHANGELOG.md
CHANGED
|
@@ -423,10 +423,10 @@ module ActiveShipping
|
|
|
423
423
|
xml.Length("%0.2f" % [package.inches(:length), 0.01].max)
|
|
424
424
|
xml.Height("%0.2f" % [package.inches(:height), 0.01].max)
|
|
425
425
|
xml.Girth("%0.2f" % [package.inches(:girth), 0.01].max)
|
|
426
|
+
xml.OriginZip(origin.zip)
|
|
426
427
|
if commercial_type = commercial_type(options)
|
|
427
428
|
xml.public_send(COMMERCIAL_FLAG_NAME.fetch(commercial_type), 'Y')
|
|
428
429
|
end
|
|
429
|
-
xml.OriginZip(origin.zip)
|
|
430
430
|
if destination.zip.present?
|
|
431
431
|
xml.AcceptanceDateTime((options[:acceptance_time] || Time.now.utc).iso8601)
|
|
432
432
|
xml.DestinationPostalCode(destination.zip)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_shipping
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James MacAulay
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2015-07-
|
|
14
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: quantified
|