dji 0.5.4 → 0.5.5

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: fc6c9f103a62941a3fc1d6f1ab95a7bbaf13979c
4
- data.tar.gz: be663f0e3cafa81200858c895a5aec049c2547a3
3
+ metadata.gz: 1c55902348d7597cf37f7c50425a5093ee5a2aba
4
+ data.tar.gz: 1585cf9bc54dc1920a3cfa0e587f46297d9d0697
5
5
  SHA512:
6
- metadata.gz: 24eea0e1504234ab514f0b02ed1d1676c5867fcbdfd8b39be80a9003ffdd3312d0f4e58067d5723b9f7063b8365468211b72cc8aa3f435df2f4c0808297d53af
7
- data.tar.gz: e02d5b66e27e6ef28ff3387760eeeffad4782973c7cdf390944ab365f130756ca05f41abb641e407e011311ad68218ca4be94c61dbdad8dad2db3c4312330c3c
6
+ metadata.gz: c9e9d153e6b52d91cd952163b7827d2742123d0b74811f96b8359f3cbfe824e34226a2223a4c659eab77d13bce9c5687e5d938ac41bf40955a3a28f88e21444e
7
+ data.tar.gz: 5dca41a2fb9cea8e199fee7f893200db9296fadebd810325cabc3cfca74376d9cdf474cf5a497615c21c4597c9dc8ad0044e3f7670089a2d828f6be7090c5197
@@ -65,7 +65,7 @@ module DJI
65
65
  content = page.at_xpath('//div[@id="main"]/div[@class="container"]/div[@class="row"]/div[@class="col-xs-9"]/div[@class="col-xs-10 well"][2]')
66
66
 
67
67
  if content.text.blank? || content.text.include?('Sorry, record not found.')
68
- puts "Order #{options[:order_number]}/#{options[:phone_tail]} not found!"
68
+ puts "Order #{options[:order_number]}/#{options[:phone_tail]} not found!" if options[:debug]
69
69
  else
70
70
  data = {}
71
71
  data[:order_number] = content.at_xpath('div[1]').text.split(' ')[-1]
@@ -1,3 +1,3 @@
1
1
  module DJI
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
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.4
4
+ version: 0.5.5
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-10-31 00:00:00.000000000 Z
11
+ date: 2016-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport