dji 0.5.1 → 0.5.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
  SHA1:
3
- metadata.gz: c82fd8c61b70c5a7b5980b388726aae3b8ac92dc
4
- data.tar.gz: 40a0a18edb195b887ee85bf3d4abbdd913c28380
3
+ metadata.gz: 5dc536b64053d01e00947c1ffd7ae6f3be8ace44
4
+ data.tar.gz: 8edf17ad8ffd77f06904dc6d5824c876a86da51c
5
5
  SHA512:
6
- metadata.gz: eaad2ed22058032b63f701dafcde2255e220ce4d61e3a74c4fc46bb5f89f1605f1c058884cf6c08fbb5b815b2ef2381d5cb7cdb3576c8ebfbfa8b7ea02300d84
7
- data.tar.gz: 5e524a3f7028e8b004ee127b3b623406f1f8858e3e0dddb6a2ddfc6a554a48437223c7ceff50ffa14256d05804ab7ccb96ff812628ea20e497fe2a13266eb86b
6
+ metadata.gz: 45410fc287db1a07277e6fb6fc30f1b6a69d4f3f295e50e919ee0bd34aaad608126b8c641ade2debe4292428faca8f0357dcd75b25536b71e93a11e2f0f47283
7
+ data.tar.gz: c8ca803cb39a5f66694cdcfd0d3d69c5dacc2dfba820b39ba783f74eef12b79617af07c96b859a1fa85c62dc64eaced45e2999b06b603fdbeb19328eea48504c
@@ -30,7 +30,7 @@ module DJI
30
30
 
31
31
  case res
32
32
  when Net::HTTPSuccess, Net::HTTPRedirection
33
- puts res.body
33
+ #puts res.body
34
34
 
35
35
  results = JSON.parse(res.body)['results']
36
36
  tr = DJI::DHL::TrackingResults.new_from_results(results)
@@ -82,7 +82,7 @@ module DJI
82
82
  data[:order_time] = options[:order_time] if options[:order_time].present?
83
83
  data[:shipping_country] = options[:country] if options[:country].present?
84
84
 
85
- print_tracking_details(data)
85
+ print_tracking_details(data) if options[:debug]
86
86
  end
87
87
 
88
88
  data
@@ -1,3 +1,3 @@
1
1
  module DJI
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
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.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Elliott