process_executer 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/process_executer/monitored_pipe.rb +3 -4
- data/lib/process_executer/version.rb +1 -1
- data/process_executer.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ac0d1397bbe7c4f632a017f4b66ccdfba6860eed0bb616e65b385ef43bcd613
|
4
|
+
data.tar.gz: 3b4430d7c79739767bcf8f24ab644834eb4a43e89876ef27c1b40032621b72e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63766977ee0f62f6f8ef705c5bc47ecc5358bf06bb9764245ca7c4d6114adf7d0cfef443fac5c89597b5f504ef0b52d8444cf03436c8aae00c0e6ed6fc1d22ad
|
7
|
+
data.tar.gz: 1e8d38c8b4a1169177cd41a8767da33c2b15e2c7a45c3d7ef042aeafc7ba46b19bebfc63ef1bc0b8cd781b312300fbf51363b2305207d0d752895dd0a0dca735
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,18 @@ All notable changes to the process_executer gem will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## v0.6.0 (2023-02-12)
|
9
|
+
|
10
|
+
[Full Changelog](https://github.com/main-branch/process_executer/compare/v0.5.0..v0.6.0)
|
11
|
+
|
12
|
+
Changes since v0.5.0:
|
13
|
+
|
14
|
+
* 2a22dbd Fix intermittent test failures (#21)
|
15
|
+
* e3afaa3 Add build for MRI Ruby 3.2 on unbuntu-latest (#20)
|
16
|
+
* 17522ac Use latest create_release_version gem (#19)
|
17
|
+
* ba1fb2d Read remaining data from pipe_reader when closing a MonitoredPipe (#17)
|
18
|
+
* 8422aa9 Release v0.5.0
|
19
|
+
|
8
20
|
## v0.5.0 (2022-12-12)
|
9
21
|
|
10
22
|
[Full Changelog](https://github.com/main-branch/process_executer/compare/v0.4.0...v0.5.0)
|
@@ -299,12 +299,11 @@ module ProcessExecuter
|
|
299
299
|
def close_pipe
|
300
300
|
# Close the write end of the pipe so no more data can be written to it
|
301
301
|
pipe_writer.close
|
302
|
+
|
302
303
|
# Read remaining data from pipe_reader (if any)
|
303
304
|
# If an exception was already raised by the last call to #write, then don't try to read remaining data
|
304
|
-
|
305
|
-
|
306
|
-
writers.each { |w| w.write(new_data) }
|
307
|
-
end
|
305
|
+
monitor_pipe while exception.nil? && !pipe_reader.eof?
|
306
|
+
|
308
307
|
# Close the read end of the pipe
|
309
308
|
pipe_reader.close
|
310
309
|
end
|
data/process_executer.gemspec
CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
# spec.add_dependency "example-gem", "~> 1.0"
|
36
36
|
spec.add_development_dependency 'bump', '~> 0.10'
|
37
37
|
spec.add_development_dependency 'bundler-audit', '~> 0.9'
|
38
|
-
spec.add_development_dependency 'create_github_release', '~> 0
|
38
|
+
spec.add_development_dependency 'create_github_release', '~> 1.0'
|
39
39
|
spec.add_development_dependency 'rake', '~> 13.0'
|
40
40
|
spec.add_development_dependency 'rspec', '~> 3.10'
|
41
41
|
spec.add_development_dependency 'rubocop', '~> 1.36'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: process_executer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Couball
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '1.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
requirements: []
|
232
|
-
rubygems_version: 3.
|
232
|
+
rubygems_version: 3.4.1
|
233
233
|
signing_key:
|
234
234
|
specification_version: 4
|
235
235
|
summary: An API for executing commands in a subprocess
|