lettert 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/lettert/run.rb +1 -1
- data/lib/lettert/version.rb +1 -1
- 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: 97cc84cba318b8c7bb55816d6e5bf6e0331816905d31fb805e8cfd10dbe75fd9
|
4
|
+
data.tar.gz: 6f4eddb9f434ac691160438ce43e07bda8dc74dbcf07d2eef524031b8826f9f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecb5b111613e45a05be2eb9fd14fdb9167fdc80659c3293378db463a9266823aa3d236a4d333159a5799f7ab7bd0ba7807db2a640c805559e101cec23afd3b60
|
7
|
+
data.tar.gz: 1cb00b6b9def4849c32c24187b83d19e15f2780cea2d47968733e7d687047df981af8c32e34353348f38adeaa5000ea52d3736129eef2c50be7980ecc67dc6e2
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@ Changelog
|
|
3
3
|
|
4
4
|
All notable changes to this project will be documented in this file.
|
5
5
|
|
6
|
+
[0.1.1] - 2021-11-07
|
7
|
+
--------------------
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- Do not try to check interactivity when STDIN was closed
|
12
|
+
|
6
13
|
[0.1.0] - 2021-11-07
|
7
14
|
--------------------
|
8
15
|
|
data/lib/lettert/run.rb
CHANGED
@@ -42,7 +42,7 @@ module Lettert
|
|
42
42
|
private_constant :Result
|
43
43
|
|
44
44
|
def self.call(*args)
|
45
|
-
out, err, status = Open3.capture3(*args, stdin_data: $stdin.tty? ? '' : $stdin.read)
|
45
|
+
out, err, status = Open3.capture3(*args, stdin_data: !$stdin.closed? && $stdin.tty? ? '' : $stdin.read)
|
46
46
|
|
47
47
|
Result.new out: out, err: err, argv: args, status: status.exitstatus
|
48
48
|
end
|
data/lib/lettert/version.rb
CHANGED