takuhai_status 1.1.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/takuhai_status/sagawa.rb +1 -1
- data/lib/takuhai_status/ups.rb +1 -1
- data/lib/takuhai_status/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: 473252d7c70aa15e6532dc81cddc276cb46c87a6
|
4
|
+
data.tar.gz: f86a202b6778ccce2858cd220fa9b94b1129f8b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0da30d82d4806c36bd3e43c2b81363c50f63b75e0218cc01187ece57ece4d6a574a01bc5de861279f566123793407add16e3a26a7273723f482dc93824a223c
|
7
|
+
data.tar.gz: 974bd36f497878136fbd3eee89c5450baf9a0d6de7af644100e6c6720a5d09e7b17cc709928ba5c273aa08811b95642c1c48eafbd9a4deb8ece1d18383d2c20c
|
data/lib/takuhai_status/ups.rb
CHANGED
@@ -16,7 +16,7 @@ module TakuhaiStatus
|
|
16
16
|
|
17
17
|
private
|
18
18
|
def check
|
19
|
-
uri = "
|
19
|
+
uri = "https://www.ups.com/WebTracking/processInputRequest?loc=ja_JP&Requester=NES&tracknum=#{@key}"
|
20
20
|
html = open(uri, &:read)
|
21
21
|
# HTML中に謎の大量ヌル文字が含まれていてnokogiriのパースが止まる対策
|
22
22
|
html.gsub!(/\u0000/,'')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: takuhai_status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TADA Tadashi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|