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 +4 -4
- data/lib/dji/order_tracking.rb +1 -1
- 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: 1c55902348d7597cf37f7c50425a5093ee5a2aba
|
4
|
+
data.tar.gz: 1585cf9bc54dc1920a3cfa0e587f46297d9d0697
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9e9d153e6b52d91cd952163b7827d2742123d0b74811f96b8359f3cbfe824e34226a2223a4c659eab77d13bce9c5687e5d938ac41bf40955a3a28f88e21444e
|
7
|
+
data.tar.gz: 5dca41a2fb9cea8e199fee7f893200db9296fadebd810325cabc3cfca74376d9cdf474cf5a497615c21c4597c9dc8ad0044e3f7670089a2d828f6be7090c5197
|
data/lib/dji/order_tracking.rb
CHANGED
@@ -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]
|
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.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-
|
11
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|