takuhai_status 1.7.2 → 1.7.3
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.rb +3 -1
- data/lib/takuhai_status/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d6284681c7e5106e63b7b434ade86e93e449bac6eea2f85787ee84fc7575cec
|
4
|
+
data.tar.gz: a7b9937adb22f3eee54abcc13d08648881bc6ca2c141d5df2ba6479b4adbc769
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4ed61b8f428a400eb58aa60af6c0cb64c7a99d1b0f0d8b9f7d6829d732a3b639ace59b031669bdad32b53840520f8b0efb51363f5fb7978b32b0e6527e768c
|
7
|
+
data.tar.gz: 8c393bb711ccec79e3acb57a1d25a1016cbd5bc63c88000146883e1a5e7277f8064838ff17e2f940dbbfafd4bb5a09fca758b678c227277b37bacd64d9a1edea
|
data/lib/takuhai_status.rb
CHANGED
@@ -25,7 +25,9 @@ module TakuhaiStatus
|
|
25
25
|
[].tap{|threads|
|
26
26
|
[Sagawa, JapanPost, KuronekoYamato, TMGCargo, UPS, FedEx].each do |service|
|
27
27
|
threads.push(Thread.new{
|
28
|
-
Thread.
|
28
|
+
if Thread.method_defined?(:report_on_exception)
|
29
|
+
Thread.current.report_on_exception = false
|
30
|
+
end
|
29
31
|
name = service.to_s.sub(/^.*::/, '')
|
30
32
|
begin
|
31
33
|
Timeout.timeout(timeout, Timeout::Error) do
|