delivery_state_jp 1.0.18 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/delivery_state_jp/seino.rb +1 -1
- data/lib/delivery_state_jp/version.rb +1 -1
- data/lib/delivery_state_jp/yamato.rb +1 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b5f133f6232bcf4b435bac7b972b0377a165c348
|
4
|
+
data.tar.gz: 768010cd77e0954d103158dc1767dcb89f91a714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 524d74e710d73f71bd54678bd0b5df89b059cfd0b927cdbd996be2e41bb599b0597a6cd6c4ee264b0cadcbdf499c3273922af56d9e7ee4e11b1ce4c1c10f7802
|
7
|
+
data.tar.gz: 03fa61ed9e512c4e6da79aac5881bed089ce766c9995421043e8d86c82c08d5e8ff7df4cd5b2f49f2b538ddd6c416a390760eb12c3f923b43f0017c0e0fc0850
|
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
module DeliveryStateJp
|
2
2
|
class Yamato < DeliveryStateJp::Base
|
3
3
|
def self.delivery_state(args)
|
4
|
-
|
5
|
-
content = doc.xpath('/html/body/p/script[4]').first.children.first.content
|
4
|
+
content = response_body(args).force_encoding("UTF-8")
|
6
5
|
if m = content.match(/1件目.+\n.+.+\n.+\n.+swd.write.+>(?<state>.+)\<br\>\<\/font\>\<\/td\>/)
|
7
6
|
m[:state]
|
8
7
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delivery_state_jp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nyaahara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -111,7 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
|
-
|
114
|
+
rubyforge_project:
|
115
|
+
rubygems_version: 2.6.13
|
115
116
|
signing_key:
|
116
117
|
specification_version: 4
|
117
118
|
summary: delivery_state_jp can get status from japanese delivery solutions
|