dji 0.5.7 → 0.5.8

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: 06ed17c5d1dc6efd545de17be18b4f68d213c6dc
4
- data.tar.gz: c2cfa4dd30d70011e43620ca62dde7b7562b9bdb
3
+ metadata.gz: 91853ee5a462b2d89a6f963f6da8dfdc0f7a1d22
4
+ data.tar.gz: 792a15fc690d1e406f2668dc9861a4fc7eda4d44
5
5
  SHA512:
6
- metadata.gz: a187c73ff07f3ca25133e723d938dd4fca5905701e820808eb0ca4f25b0ba86bb5448107b0c6d4ffb0ce3d7413261a9573475eee8ef9be45beda90bb6f037950
7
- data.tar.gz: 1b734513a21709c84bd4d67db3968d69ae9b2ecd3ebb25ec44c8640e56ee54368b92fc4152cbaa26432bf61db3321c535b79e208f8c1f39549c0925be1aaef83
6
+ metadata.gz: 019cbaec18978b92687399fd124436c5ba56d18319731fa0af780ee750ae396e847cb17aa73d3f3493493c1e502012d1f93856196e5c98c1610058eb777084f4
7
+ data.tar.gz: fcba88df85549e8c3441f505f5fcbc3d1f7d5abfbaa8e9b11a988b7840f8d90978e1530f8d8e621f309ba5585b33defd7ed444397762473a3067eb62cbafc810
@@ -27,6 +27,7 @@ module DJI
27
27
  debug: options[:debug],
28
28
  dji_username: options[:dji_username],
29
29
  email_address: options[:email_address],
30
+ debug: true
30
31
  }
31
32
 
32
33
  if options[:repeat].present?
@@ -41,8 +41,10 @@ module DJI
41
41
  end
42
42
  shipment.destination = item['destination']['value']
43
43
  shipment.origin = item['origin']['value']
44
- shipment.estimated_delivery_date = Date.parse(item['edd']['date'])
45
- shipment.estimated_delivery_product = item['edd']['product']
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)
@@ -1,3 +1,3 @@
1
1
  module DJI
2
- VERSION = '0.5.7'
2
+ VERSION = '0.5.8'
3
3
  end
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.7
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-03 00:00:00.000000000 Z
11
+ date: 2016-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport