service_skeleton 0.0.0.13.ga523c90 → 0.0.0.14.g60b4507
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/service_skeleton/signal_handler.rb +2 -2
- 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: f54d510129feffa6867dec6a6b94ed46f6c2821bd0c4225054ea9537cda37bf3
|
4
|
+
data.tar.gz: 57e937775ddedd01c1ee8c62ed56c4dc95f3157e329a568f42a72f836cb8e12e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7803ae7cd3d40b3060f8b9a4ce23a46b11ad51a82b062362bab775315e3aa2f318b04819c71abb3bbddb719fa6671de92f836184ede23666da2fb5564eec06f8
|
7
|
+
data.tar.gz: 98274a73ae63dd9b9a68ef4d7e7895ffc131917415cb524646e64c42bc507a93c47ebc05adc3409a9395c9be3c87a1cb403e9a588dd4b3474cf5d554c4170392
|
@@ -148,9 +148,9 @@ class ServiceSkeleton
|
|
148
148
|
def install_handler(sigspec, i)
|
149
149
|
chain = nil
|
150
150
|
|
151
|
-
p = ->(
|
151
|
+
p = ->(*args) do
|
152
152
|
@w.write_nonblock(i.chr) rescue nil
|
153
|
-
chain.call if chain.respond_to?(:call)
|
153
|
+
chain.call(*args) if chain.respond_to?(:call)
|
154
154
|
end
|
155
155
|
chain = Signal.trap(sigspec[:signal], &p)
|
156
156
|
|