friendly_shipping 0.6.1 → 0.6.2
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: c625d1ee6c38d9d51bbcadd7280f6b0b415cecb5256d5d884c1da53b6a2afd38
|
4
|
+
data.tar.gz: 4ce888754298c7a7b5bddb724bb518fb2a0e8993f497188756a70cf72965f5cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c20df19636bdc7ace8658ada396f7d094da5f7ea776e6b555af0aa875e893a0d5d6bb5143e1ee9ac89922c8924478caf08afd6527859d539318d7971c054112a
|
7
|
+
data.tar.gz: b5ba5a4fc4b5c66861c4d04743f30ce0a3d5ad3452dad0646bc9a8683a666d76ef41b4eec9bb583713d9a500ae5632341cc92e331acdd71c89d42c21c221b190
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ 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.6.2] - 2020-08-12
|
8
|
+
|
9
|
+
- UPS Service: Be more resilient when UPS does not send a PickupTime element
|
10
|
+
|
7
11
|
## [0.6.1] - 2020-03-11
|
8
12
|
|
9
13
|
- Add Content-Type header to UPS Freight API requests, fixing "Name too long" 500 error responses
|
@@ -25,7 +25,7 @@ module FriendlyShipping
|
|
25
25
|
delivery_time = service_summary.at('EstimatedArrival/Time').text
|
26
26
|
delivery = Time.parse("#{delivery_date} #{delivery_time}")
|
27
27
|
pickup_date = service_summary.at('EstimatedArrival/PickupDate').text
|
28
|
-
pickup_time = service_summary.at('EstimatedArrival/PickupTime')
|
28
|
+
pickup_time = service_summary.at('EstimatedArrival/PickupTime')&.text
|
29
29
|
pickup = Time.parse("#{pickup_date} #{pickup_time}")
|
30
30
|
|
31
31
|
# Some additional data
|
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.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Meyerhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: data_uri
|