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 +4 -4
- data/lib/backticks/command.rb +5 -0
- data/lib/backticks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 181001de3a7f0d5f8242a3cab24970dca6f4719b0fe59cfaa44a26d82470284f
|
4
|
+
data.tar.gz: b23613f42604cbe77f24bbc8565b4d2d3f6fe67ee15f87a10b17e5da84e0c2e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df4ab691a55a64032c96c5707573d670fd3152f06bd588d4adda41def01e73fb822ed31c5dce6d5336b03130f574fa53f0279a9d0b3cad4430dd917b63056cc9
|
7
|
+
data.tar.gz: f6ea169a9445e9521107813a96e959f0b9eb8dd36c0b213c58f35282146ca27617e2b957c50e04c503a7de241d7446084e5a8e16815f7e098ed7864453166854
|
data/lib/backticks/command.rb
CHANGED
@@ -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
|
data/lib/backticks/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|