childprocess 4.0.0 → 4.1.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 +6 -0
- data/Gemfile +1 -13
- data/childprocess.gemspec +1 -1
- data/lib/childprocess/unix/platform/arm64-macosx.rb +11 -0
- data/lib/childprocess/version.rb +1 -1
- data/spec/childprocess_spec.rb +1 -1
- data/spec/io_spec.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a5e6dc8970dbfa81b42c587480b4cd7a564995c2a6a0be84f2c8192edcf6d0c
|
4
|
+
data.tar.gz: 766be22f3575a6ef9ba837a37722f0a852f509fc9efb2a77b01ca121b865a28e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4ac84967566de68d200d983bfebca6fce9575d7e8fb0aa0324b64dc4b6e0d29d29abe173ce99a54f8b37501eb515573b457f6b612a395f3f5d2bc672da6802
|
7
|
+
data.tar.gz: 16bc7aaffd67ab47f1f8a8ded31681fb88f1767421838c3ddb1f1033fb7dc0f5c5d664b7dce3fb4107edb9818a73ce2769f23a3e1f30bf51ffc3dd088d8a7690
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
|
+
### Version 4.1.0 / 2021-06-08
|
2
|
+
|
3
|
+
* [#170](https://github.com/enkessler/childprocess/pull/170): Update gem homepage to use `https://`
|
4
|
+
* [#177](https://github.com/enkessler/childprocess/pull/177): Add ARM64-macos support
|
5
|
+
|
1
6
|
### Version 4.0.0 / 2020-06-18
|
2
7
|
|
3
8
|
* [#167](https://github.com/enkessler/childprocess/pull/167): Fix detach behavior on Windows
|
9
|
+
* [#168](https://github.com/enkessler/childprocess/pull/168): Drop support for Ruby 2.3
|
4
10
|
|
5
11
|
### Version 3.0.0 / 2019-09-20
|
6
12
|
|
data/Gemfile
CHANGED
@@ -6,16 +6,4 @@ gemspec
|
|
6
6
|
# Used for local development/testing only
|
7
7
|
gem 'rake'
|
8
8
|
|
9
|
-
if
|
10
|
-
gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
|
11
|
-
gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
|
12
|
-
gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version
|
13
|
-
|
14
|
-
# ffi gem for Windows requires Ruby 2.x on/after this version
|
15
|
-
gem 'ffi', '< 1.9.15' if ENV['CHILDPROCESS_POSIX_SPAWN'] == 'true' || Gem.win_platform?
|
16
|
-
elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2')
|
17
|
-
# Ruby 2.0/2.1 support only ffi before 1.10
|
18
|
-
gem 'ffi', '~> 1.9.0' if ENV['CHILDPROCESS_POSIX_SPAWN'] == 'true' || Gem.win_platform?
|
19
|
-
else
|
20
|
-
gem 'ffi' if ENV['CHILDPROCESS_POSIX_SPAWN'] == 'true' || Gem.win_platform?
|
21
|
-
end
|
9
|
+
gem 'ffi' if ENV['CHILDPROCESS_POSIX_SPAWN'] == 'true' || Gem.win_platform?
|
data/childprocess.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Jari Bakken", "Eric Kessler", "Shane da Silva"]
|
10
10
|
s.email = ["morrow748@gmail.com", "shane@dasilva.io"]
|
11
|
-
s.homepage = "
|
11
|
+
s.homepage = "https://github.com/enkessler/childprocess"
|
12
12
|
s.summary = %q{A simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination.}
|
13
13
|
s.description = %q{This gem aims at being a simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination.}
|
14
14
|
|
data/lib/childprocess/version.rb
CHANGED
data/spec/childprocess_spec.rb
CHANGED
@@ -195,7 +195,7 @@ describe ChildProcess do
|
|
195
195
|
|
196
196
|
Tempfile.open('grandparent_out') do |gp_file|
|
197
197
|
# Create a parent and detached child process that will spit out their PID. Make sure that the child process lasts longer than the parent.
|
198
|
-
p_process = ruby("require 'childprocess' ; c_process = ChildProcess.build('ruby', '-e', 'puts \\\"Child PID: \#{Process.pid}\\\" ; sleep 5') ; c_process.io.inherit! ; c_process.detach = true ; c_process.start ; puts \"Child PID: \#{c_process.pid}\" ; puts \"Parent PID: \#{Process.pid}\"")
|
198
|
+
p_process = ruby("$: << 'lib'; require 'childprocess' ; c_process = ChildProcess.build('ruby', '-e', 'puts \\\"Child PID: \#{Process.pid}\\\" ; sleep 5') ; c_process.io.inherit! ; c_process.detach = true ; c_process.start ; puts \"Child PID: \#{c_process.pid}\" ; puts \"Parent PID: \#{Process.pid}\"")
|
199
199
|
p_process.io.stdout = p_process.io.stderr = gp_file
|
200
200
|
|
201
201
|
# Let the parent process die
|
data/spec/io_spec.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: childprocess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jari Bakken
|
8
8
|
- Eric Kessler
|
9
9
|
- Shane da Silva
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-06-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/childprocess/unix/fork_exec_process.rb
|
88
88
|
- lib/childprocess/unix/io.rb
|
89
89
|
- lib/childprocess/unix/lib.rb
|
90
|
+
- lib/childprocess/unix/platform/arm64-macosx.rb
|
90
91
|
- lib/childprocess/unix/platform/i386-linux.rb
|
91
92
|
- lib/childprocess/unix/platform/i386-solaris.rb
|
92
93
|
- lib/childprocess/unix/platform/x86_64-linux.rb
|
@@ -111,11 +112,11 @@ files:
|
|
111
112
|
- spec/spec_helper.rb
|
112
113
|
- spec/unix_spec.rb
|
113
114
|
- spec/windows_spec.rb
|
114
|
-
homepage:
|
115
|
+
homepage: https://github.com/enkessler/childprocess
|
115
116
|
licenses:
|
116
117
|
- MIT
|
117
118
|
metadata: {}
|
118
|
-
post_install_message:
|
119
|
+
post_install_message:
|
119
120
|
rdoc_options: []
|
120
121
|
require_paths:
|
121
122
|
- lib
|
@@ -130,8 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
131
|
- !ruby/object:Gem::Version
|
131
132
|
version: '0'
|
132
133
|
requirements: []
|
133
|
-
rubygems_version: 3.1.
|
134
|
-
signing_key:
|
134
|
+
rubygems_version: 3.1.4
|
135
|
+
signing_key:
|
135
136
|
specification_version: 4
|
136
137
|
summary: A simple and reliable solution for controlling external programs running
|
137
138
|
in the background on any Ruby / OS combination.
|