delivery_state_jp 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/delivery_state_jp/version.rb +1 -1
- data/lib/delivery_state_jp/yamato.rb +2 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac392e812ab3a78030ebb70e1cc262f7fc4c863db27faa1e066018185ab6217b
|
4
|
+
data.tar.gz: 16019a502d7d6da391fdd0cb3fe9ed5e3fe958bcbdf51686323df0b59a994c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed5f057f1813926fc6a9dc337da7246976974459a2c5938a4c68cdf2eb582463509b8e8a418c6ab8d52bd0187a99d3f83c55677a96560525fadc43a767ddb71
|
7
|
+
data.tar.gz: c0dd97412e49fe2505c8381942426a7d65c5357cb679d57dcc938eb5c20fd1454ff7ead3508720c57c7a08df293d4ab435fd2591399b7923d2351f2d4c6246c7
|
data/README.md
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
module DeliveryStateJp
|
2
2
|
class Yamato < DeliveryStateJp::Base
|
3
3
|
def self.delivery_state(args)
|
4
|
-
doc = Nokogiri::HTML.parse(response_body(args), nil, charset)
|
5
|
-
|
6
|
-
if m = content.match(/1件目.+\n.+.+\n.+\n.+swd.write.+>(?<state>.+)\<br\>\<\/font\>\<\/td\>/)
|
7
|
-
m[:state]
|
8
|
-
else
|
9
|
-
'不明'
|
10
|
-
end
|
4
|
+
# doc = Nokogiri::HTML.parse(response_body(args), nil, charset)
|
5
|
+
response_body(args)
|
11
6
|
end
|
12
7
|
|
13
8
|
def self.action_url
|