test-cmd.rb 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test/cmd.rb +1 -1
- data/test-cmd.rb.gemspec +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: eacb759ed6f2b3afecfc6fc35c717f2c1afe1f2db47d8ea45d6adad77732688e
|
4
|
+
data.tar.gz: f51cca55a116f9fbeedae35e1bb3c2a3d73460571070f5c743c86808d3125881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a06d34973043ebb37aef9d1c73e80c63b3884a0138eb3d21dccdbb6f264087199e3702e82752187326e8b3d7c2b6e56db5daea16afe26bea0d1ccecada4727
|
7
|
+
data.tar.gz: 5cbd7e228217facb5d517087b80e80b82a76fa61720a065c77874d2e8dc81e382a42f23e4696acc2680f145b6b43fdea36f99e2d35daa432771dcc3415c1b633
|
data/lib/test/cmd.rb
CHANGED
@@ -57,10 +57,10 @@ class Test::Cmd
|
|
57
57
|
@status = $?
|
58
58
|
end
|
59
59
|
loop do
|
60
|
-
break unless t.alive?
|
61
60
|
io, _ = IO.select([out.r, err.r], nil, nil, 0.01)
|
62
61
|
io&.include?(out.r) ? @stdout << out.r.read(1) : nil
|
63
62
|
io&.include?(err.r) ? @stderr << err.r.read(1) : nil
|
63
|
+
break unless t.alive? || IO.select([out.r, err.r], nil, nil, 0.01)
|
64
64
|
end
|
65
65
|
ensure
|
66
66
|
[out, err].each(&:close)
|
data/test-cmd.rb.gemspec
CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ["0x1eef"]
|
6
6
|
gem.email = ["0x1eef@protonmail.com"]
|
7
7
|
gem.homepage = "https://github.com/0x1eef/test-cmd.rb#readme"
|
8
|
-
gem.version = "0.12.
|
8
|
+
gem.version = "0.12.2"
|
9
9
|
gem.required_ruby_version = ">= 3.0"
|
10
10
|
gem.licenses = ["0BSD"]
|
11
11
|
gem.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-cmd.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- '0x1eef'
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|