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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd48481b481a814eb384648586dedb803fee087a
4
- data.tar.gz: 3afaa54b882c0e9c99d9e48ff44ebcce7bf0c529
3
+ metadata.gz: e2b3b32ee4d3b2d4cfc793fac7a4ce1c9acf9f16
4
+ data.tar.gz: 47b3f13704ccf330f1e53ada4ce01567f2ea0c06
5
5
  SHA512:
6
- metadata.gz: 3f91853a5d54afa636178fa34187c466f72cae2135f99e54a405069062078598ee931ec41989fc51ca3c5d2696b26573f558d52671d49d8ece796f5553185e33
7
- data.tar.gz: 2f7eca19d72c45b2c74b6f6f14f3f0bc8c5644f578d778f54fb24e9f19453fda5be338f101533141dcef279c3bf2d2999eccb4838528daa52d92b5f8444ba77f
6
+ metadata.gz: fad1a5e48bb0aac07af0553f33d99a4a39ed01f7facf948404454af8b3a86649d0f5ae2077415780935b8631f6ffd58dcd353196e2eb2bceb12f04216a0d5e53
7
+ data.tar.gz: b8ea54fe809c44fbadb0802eeed34f73d729b8b1597f5e039e1a48ef417860c41b5ba730adcc8dc833753d3482c2e8d44344cddb1de86c83ce35f9b44d30f952
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ActiveShipping CHANGELOG
2
2
 
3
+ ### v1.4.2
4
+
5
+ - Fix USPS rates for commercial shipments
6
+
3
7
  ### v1.4.1
4
8
 
5
9
  - Raise error on invalid status code with FedEx
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module ActiveShipping
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
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.1
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-02 00:00:00.000000000 Z
14
+ date: 2015-07-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: quantified