dji 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dji/commands/track/track_command.rb +1 -0
- data/lib/dji/dhl/shipment.rb +4 -2
- data/lib/dji/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: 91853ee5a462b2d89a6f963f6da8dfdc0f7a1d22
|
4
|
+
data.tar.gz: 792a15fc690d1e406f2668dc9861a4fc7eda4d44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 019cbaec18978b92687399fd124436c5ba56d18319731fa0af780ee750ae396e847cb17aa73d3f3493493c1e502012d1f93856196e5c98c1610058eb777084f4
|
7
|
+
data.tar.gz: fcba88df85549e8c3441f505f5fcbc3d1f7d5abfbaa8e9b11a988b7840f8d90978e1530f8d8e621f309ba5585b33defd7ed444397762473a3067eb62cbafc810
|
data/lib/dji/dhl/shipment.rb
CHANGED
@@ -41,8 +41,10 @@ module DJI
|
|
41
41
|
end
|
42
42
|
shipment.destination = item['destination']['value']
|
43
43
|
shipment.origin = item['origin']['value']
|
44
|
-
|
45
|
-
|
44
|
+
if item['edd'].present?
|
45
|
+
shipment.estimated_delivery_date = Date.parse(item['edd']['date'])
|
46
|
+
shipment.estimated_delivery_product = item['edd']['product']
|
47
|
+
end
|
46
48
|
|
47
49
|
item['checkpoints'].each do |item|
|
48
50
|
checkpoint = Checkpoint.new_from_item(item)
|
data/lib/dji/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Elliott
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|