backticks 1.0.4 → 1.0.5

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: 8fdc95c7f7403e23a9522b5cddaded8b593bc7a34dd2f4cc98322d62e423b1f8
4
- data.tar.gz: 6339ee417426c52b2837f3045e3e02e137559a0b2a9141dc905fc2b7df3f8934
3
+ metadata.gz: 181001de3a7f0d5f8242a3cab24970dca6f4719b0fe59cfaa44a26d82470284f
4
+ data.tar.gz: b23613f42604cbe77f24bbc8565b4d2d3f6fe67ee15f87a10b17e5da84e0c2e5
5
5
  SHA512:
6
- metadata.gz: 8c757ab50b30effccd99f2be7dbc13b972cad6ad7a5c20d4ed2da34b5430d2dd35be351e2995379144f199b25145e9a5fb82c4b335a281d502ac1bfb56f58442
7
- data.tar.gz: edea4d8a1b83f0c0bc619f53a39a51005d74fa760bc0db565aa75acbe75952311b89e62c51c31bfb2cf2811dff18ced28d9da1fddb669ad7f4d1bde95dc66183
6
+ metadata.gz: df4ab691a55a64032c96c5707573d670fd3152f06bd588d4adda41def01e73fb822ed31c5dce6d5336b03130f574fa53f0279a9d0b3cad4430dd917b63056cc9
7
+ data.tar.gz: f6ea169a9445e9521107813a96e959f0b9eb8dd36c0b213c58f35282146ca27617e2b957c50e04c503a7de241d7446084e5a8e16815f7e098ed7864453166854
@@ -73,6 +73,11 @@ module Backticks
73
73
  # Determine whether output has been exhausted.
74
74
  def eof?
75
75
  @stdout.eof? && @stderr.eof?
76
+ rescue Errno::EIO
77
+ # The result of read operation when pty slave is closed is platform
78
+ # dependent.
79
+ # @see https://stackoverflow.com/questions/10238298/ruby-on-linux-pty-goes-away-without-eof-raises-errnoeio
80
+ true
76
81
  end
77
82
 
78
83
  # Provide a callback to monitor input and output in real time. This method
@@ -1,3 +1,3 @@
1
1
  module Backticks
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backticks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Spataro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler