takuhai_status 1.4.0 → 1.4.1
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/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: c015ad60431dfb59921095e662da4abb3417e4c3
|
4
|
+
data.tar.gz: 3dfbdf2e397f9c97da128eb99d2ddf561501b940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fef03c4c01e0e5c3934dd033eb93feca9c189180ba850ebc8ec246e0bb072a7387304d6c0657dc66bcc063d8ce3a2d23fdbaf38dee5369e79f46adc61640af4
|
7
|
+
data.tar.gz: 394c234de677e22377364a9a97c067ecd62842e0de2acfe78ddfba2a63b7142e3a2cbed881b707ff8768b7e2eea46ee209cbc55fd74ddcddbef5f5ebdd844747
|
data/lib/takuhai_status/ups.rb
CHANGED
@@ -23,7 +23,7 @@ module TakuhaiStatus
|
|
23
23
|
doc = Nokogiri::HTML.parse(html, uri, "utf-8")
|
24
24
|
|
25
25
|
begin
|
26
|
-
state = doc.css('.newstatus
|
26
|
+
state = doc.css('.newstatus h3')[0].text.strip
|
27
27
|
begin
|
28
28
|
time = "#{doc.css('.secHead ul li')[0].text.match(/\d{4}\/\d\d\/\d\d \d{1,2}:\d\d/)[0]}+0500)"
|
29
29
|
rescue NoMethodError
|
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.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TADA Tadashi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|