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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: effe82fe1248b9c9a7a638656964ce0b1ecad8828a41e4a506599b91ab23d934
4
- data.tar.gz: a82855417f049a5519d871d70448a6a8c4c11dfa0b695da31b52886193407377
3
+ metadata.gz: 4d6284681c7e5106e63b7b434ade86e93e449bac6eea2f85787ee84fc7575cec
4
+ data.tar.gz: a7b9937adb22f3eee54abcc13d08648881bc6ca2c141d5df2ba6479b4adbc769
5
5
  SHA512:
6
- metadata.gz: b7ea6e6193d1b15a30c1cab6456252f54d902ff140075d4dc06f5f70aa92b3b8906a33b366608ed3f3ec6290fa53e98bf88889a3d5b1a1d8c848ab1ac88f0afa
7
- data.tar.gz: 8d22e3531c888acfcac1b0502f9717bea44971939e369f049215dfe2c7e1288ec725f555282d58f4f9af9518b04b3eb6a77d0c73e826196c23bfd461d8acab0c
6
+ metadata.gz: 8e4ed61b8f428a400eb58aa60af6c0cb64c7a99d1b0f0d8b9f7d6829d732a3b639ace59b031669bdad32b53840520f8b0efb51363f5fb7978b32b0e6527e768c
7
+ data.tar.gz: 8c393bb711ccec79e3acb57a1d25a1016cbd5bc63c88000146883e1a5e7277f8064838ff17e2f940dbbfafd4bb5a09fca758b678c227277b37bacd64d9a1edea
@@ -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.current.report_on_exception = false
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
@@ -1,3 +1,3 @@
1
1
  module TakuhaiStatus
2
- VERSION = "1.7.2"
2
+ VERSION = "1.7.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.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi