micro-hookit 0.12.11 → 0.12.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '096ca77b30d22da4e013840aec4e19ab67b9bcc59d9cee60cbba34d34295fffb'
4
- data.tar.gz: e53956fa759ff1f1f26748dd271a917e43e21174ccd5239449db36fab3f2ea08
3
+ metadata.gz: b61556c8692f1468560d96308cae6a2e377b605abdeb9c120f22fa3dc874bb36
4
+ data.tar.gz: 823990bd43ef390620ec5d997d900c6df1eba604778fb015bca8d9bef24da595
5
5
  SHA512:
6
- metadata.gz: e3e75da419b563dbe31af392d77c7502f3bd6dc755573d7eff0ad64032713736a1b851fc0eb67d8c7ba138769080b5ffeabd7ead95eeaad3d5930376cf6b75e4
7
- data.tar.gz: 2ade0269e7d1ed419a71a3d4591eba58c5fed350fe3627073739c20946bde85371628d57103c6697b6e1d7dcc07f244014095e78307b3799d98eebfa8d398d8e
6
+ metadata.gz: 87fd3b2cf56ee950d98db6c0e0cd30b2bd47c5beef67b1798b318740a31a46fb7f4820ca17c38f8860bf50b7a23e06facd26a6f9e4baf1a30fe6891c85bb1c59
7
+ data.tar.gz: 5c919112072df43d9a6f6295cdbdb0d0d6b030e7f0364fd182dac158600fd16156ece7330ff71511d53bddd4a8294d46d8092f1db8ff3dacb054736087b2651d
@@ -108,8 +108,12 @@ module Hookit
108
108
  result << chunk.to_s
109
109
  elsif socket == STDIN
110
110
  # write what we got on STDIN right into the process' stdin
111
- chunk = socket.readpartial(4096)
112
- stdin.write(chunk)
111
+ begin
112
+ chunk = socket.readpartial(4096)
113
+ stdin.write(chunk)
114
+ rescue EOFError
115
+ # no-op
116
+ end
113
117
  end
114
118
  end
115
119
  end
@@ -1,3 +1,3 @@
1
1
  module Hookit
2
- VERSION = "0.12.11"
2
+ VERSION = "0.12.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: micro-hookit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.11
4
+ version: 0.12.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hennik Hunsaker
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-03-01 00:00:00.000000000 Z
13
+ date: 2022-03-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: tilt