takuhai_status 1.7.0 → 1.7.1

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: 94819f602a3689e653e35416adc771c0f4af070edac50ab4656a2f87352ca575
4
- data.tar.gz: 2d285e5b188cbc32c3fd8791d7d7ccc111329d35ed4dd260a3d9bd45e81a3af5
3
+ metadata.gz: fd69e84959e3c841a56043ef6088957698669278930e36cb30b68050485d75c7
4
+ data.tar.gz: 88084041e49be27f6a489492163654900ae7d6d3211714f0bad554dbc2c51315
5
5
  SHA512:
6
- metadata.gz: 49e18a982e1ae00d8d08e25029eed7d6fbb828fc989e7beb0ec909e67d42bfc557de8a64092797d54bdc71bc4f54320fe817ff195b311d02063f35a0fa1bd9f0
7
- data.tar.gz: e45694dd0bd3cf5ed03b9f9b989e41f888dee830b29bfdc4066a1231ad4e463e9abff6150a455ee25ca9b62e10f3b0d8a50734ab8a41aefc08c1b2ba24b711a8
6
+ metadata.gz: 2fc78cf315854767f87e7df30506a77ae5978ec4b4aef8ede18fe44d51a11bbb9664da9602dd80fa0e2b398feb0edcb356a77d0a2aed8af60cec89993a0941fe
7
+ data.tar.gz: 2c889f3cc4fa26d5b4b000cdb3b9ad5f29ab8c3de9556493ca56a8592720505da9dd92844bd7c34a28310c58b007d68bf07eaeba7b44749851fe470c285ec416
@@ -1,3 +1,3 @@
1
1
  module TakuhaiStatus
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
@@ -27,12 +27,13 @@ module TakuhaiStatus
27
27
  threads.push(Thread.new{
28
28
  name = service.to_s.sub(/^.*::/, '')
29
29
  begin
30
- Timeout.timeout(timeout, Timeout::Error, "Timeout in #{name}(#{key})") do
30
+ Timeout.timeout(timeout, Timeout::Error) do
31
31
  service.new(key)
32
32
  end
33
- rescue Timeout::Error, Faraday::TimeoutError => e
34
- logger.error e.message
35
- raise NotMyKey.new(e.message)
33
+ rescue Timeout::Error, Faraday::TimeoutError
34
+ m = "Timeout in #{name}(#{key})"
35
+ logger.error m
36
+ raise NotMyKey.new(m)
36
37
  end
37
38
  })
38
39
  end
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.7.0
4
+ version: 1.7.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: 2017-11-02 00:00:00.000000000 Z
11
+ date: 2017-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday