takuhai_status 1.8.2 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d2a4a7fabf7a2abd08e23983986e988eb1228559298f94dfc09ca43e67a2d25
4
- data.tar.gz: 9b9dce93a78662311fe2ebe934819b870e736d2cc40fa6554f00d39fe1bf9cb7
3
+ metadata.gz: a2a6cc88961c420960012172ea25bc1b67a90f010f3b357d01f622d31ecd30fc
4
+ data.tar.gz: b84b61c3115dcfd533b74b50a7b0f211b1eaa28c316de16d80d4ed08181d9fe6
5
5
  SHA512:
6
- metadata.gz: cf3e3005ed57b718293a287e77633102792a5cff7b109f185df2e9470d7f2d5de104e2e0851cf890d7215f9398d6d194fc4ee68c790e9b3a10a20b7f0c851a0e
7
- data.tar.gz: 52f1c1542faf872e64521cafca8af6f0e4e4cd9cc8389fd647b1ddf80d50a032f7fb257ec4a4d55b85ac176f293b74fe5edfcc5ef747149e10ffc822d4a82d17
6
+ metadata.gz: da8f20c15ae48f54898848be82fe2a84f082167fb70f1c2c6e4db023087dc0922ac3ce2849284d20a4b20eb420385e4448f6bfc53ae6124d0535c65834f91df0
7
+ data.tar.gz: 28e7458d8c5c69855170c8426bc6cf6b917ed14e9be0dc6522c6d9688082ff912c319cb5ff21521e4da9b042c5ba28c73be940f544e83da7badbc8fd3e1fe461
@@ -25,7 +25,7 @@ module TakuhaiStatus
25
25
  begin
26
26
  cells = doc.css('.table_okurijo_detail2').css('tr').last.css('td')
27
27
  state = "#{cells[0].text.strip} [#{cells[2].text.strip}]".sub(/^./, '')
28
- time = Time.parse(cells[1].text.strip)
28
+ time = Time.parse(cells[1].text.strip) rescue Time.now
29
29
  return time, state
30
30
  rescue NoMethodError # detail2 table not found, use detail table
31
31
  begin
@@ -1,3 +1,3 @@
1
1
  module TakuhaiStatus
2
- VERSION = "1.8.2"
2
+ VERSION = "1.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takuhai_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi