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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94cd0747b43b1e3a0bb4e6389d718162d215d01d20b886cd11d4aa91b1b51ad3
4
- data.tar.gz: f9d6822b05a11164d1ea7a70db162d441d892feb09a4a6b0923a06ae56741fb0
3
+ metadata.gz: f54d510129feffa6867dec6a6b94ed46f6c2821bd0c4225054ea9537cda37bf3
4
+ data.tar.gz: 57e937775ddedd01c1ee8c62ed56c4dc95f3157e329a568f42a72f836cb8e12e
5
5
  SHA512:
6
- metadata.gz: 6a87671573ffe95194fc2ac0824dfa77fce0e10622b4d0763d5f5a95da92f7a530c84cc355be29c73937e4139e7c5ff69893b25db138d8e047f31e3f4df88837
7
- data.tar.gz: 0fe1c50c1bad8f34ad7bf12d3670caa7dd8742859b2266c58f83e32a25a67df9087c41d96534b6854a56ed18b7a0e81bd7bd80d7267d2406ea5b75431a297783
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 = ->(_) do
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.13.ga523c90
4
+ version: 0.0.0.14.g60b4507
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer