dji 0.3.6 → 0.3.7

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
  SHA1:
3
- metadata.gz: 9e5eb7c7cf0a94d3f466d31e2afdba460c434ec4
4
- data.tar.gz: 7bf6ca515adcb9a5ea527d7fd36537ae4ba7fbff
3
+ metadata.gz: 9c3aa0a694ddd6019718a22f20d31c8e6d099c02
4
+ data.tar.gz: 7304a4eb8f76bc2a07c74e4c4da763603c815171
5
5
  SHA512:
6
- metadata.gz: 198d27c43e85ff3d18d397dd8a7b6aa679259b8a5261e24a92310417f9a4c7d88eb6d255f015e8a5073cff8e56d4c210e7d99bc1b05f9f0a799f2c803ff1e305
7
- data.tar.gz: e5d1e300ab173714ca1d548119b6e810fe4ed94ea4688ed3fc69886539aed5e2588c3fb7b3397ff6a0e0efd6e49a8b88030f53448c36d3d42bcbb73138c2d18c
6
+ metadata.gz: 07e0ba9e4fea478c3e0b8d618a548c907bfb82b5c23cf98145cc489f262d94bd57c997bd41d8fd910ff1d6d49d00bf920c78343ae7ce648ee3258434dac49948
7
+ data.tar.gz: 22512f43a8d4aa3e31e4f9ff32edc1a966979533e9f043888afb2f530d21e30dfaf621901a637c589c17e06ddff963d59921d2f4bdfe1ded92c53ed950eb2345
@@ -57,8 +57,8 @@ module DJI
57
57
  data[:shipping_company] = content.at_xpath('div[5]/span').text
58
58
  data[:tracking_number] = content.at_xpath('div[6]/a').text
59
59
 
60
- data[:country] = options[:country] if options[:country].present?
61
- data[:dji_username] = options[:dji_username] if options[:dji_username].present?
60
+ data[:shipping_country] = options[:country] if options[:country].present?
61
+ data[:dji_username] = options[:dji_username] if options[:dji_username].present?
62
62
 
63
63
  print_tracking_details(data)
64
64
  data
@@ -85,7 +85,7 @@ module DJI
85
85
  puts "Order Number : #{data[:order_number]}"
86
86
  puts "Total : #{data[:total]}"
87
87
  puts "Payment Status : #{data[:payment_status]}"
88
- puts "Country : #{data[:country]}" if data[:country]
88
+ puts "Country : #{data[:shipping_country]}" if data[:shipping_country]
89
89
  puts "Shipping Status : #{data[:shipping_status]}"
90
90
  puts "Shipping Company : #{data[:shipping_company]}"
91
91
  puts "Tracking Number : #{data[:tracking_number]}"
@@ -1,3 +1,3 @@
1
1
  module DJI
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Elliott