active_shipping 1.8.4 → 1.8.5
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 +3 -0
- data/lib/active_shipping/carriers/ups.rb +2 -2
- data/lib/active_shipping/version.rb +1 -1
- metadata +2 -3
- data/repodb.yml +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c7ade2aff35261434a4a9fcc35ad03cf7b9d077
|
|
4
|
+
data.tar.gz: 321fa9f5911fa55e862413fc07280b7624563708
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 186c310a5a6bb1ddddd3394361f44049c8b6969d1043371ce0955f2c1e75e214f2b9a70b64bf114756679dc1e169d13dc4f8f8afbec1b2cb6741f7ed9fa55953
|
|
7
|
+
data.tar.gz: bfb64ef1fd04b168e6a34cebfd448468dcb895fe9eb025c2203317a96166e5afe44c3fc81d5d47041eae54991ac9e00888b58de7ba3dd4cce4951125c8c640d4
|
data/CHANGELOG.md
CHANGED
|
@@ -848,8 +848,8 @@ module ActiveShipping
|
|
|
848
848
|
activities = first_package.css('> Activity')
|
|
849
849
|
unless activities.empty?
|
|
850
850
|
shipment_events = activities.map do |activity|
|
|
851
|
-
description = activity.at('Status/StatusType/Description').text
|
|
852
|
-
type_code = activity.at('Status/StatusType/Code').text
|
|
851
|
+
description = activity.at('Status/StatusType/Description').try(:text)
|
|
852
|
+
type_code = activity.at('Status/StatusType/Code').try(:text)
|
|
853
853
|
zoneless_time = parse_ups_datetime(:time => activity.at('Time'), :date => activity.at('Date'))
|
|
854
854
|
location = location_from_address_node(activity.at('ActivityLocation/Address'))
|
|
855
855
|
ShipmentEvent.new(description, zoneless_time, location, description, type_code)
|
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.8.
|
|
4
|
+
version: 1.8.5
|
|
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: 2016-11-
|
|
14
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: quantified
|
|
@@ -218,7 +218,6 @@ files:
|
|
|
218
218
|
- lib/active_shipping/tracking_response.rb
|
|
219
219
|
- lib/active_shipping/version.rb
|
|
220
220
|
- lib/certs/eParcel.dtd
|
|
221
|
-
- repodb.yml
|
|
222
221
|
- shipit.rubygems.yml
|
|
223
222
|
- test/console.rb
|
|
224
223
|
- test/credentials.yml
|
data/repodb.yml
DELETED