posix-spawn 0.3.14 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/posix/spawn.rb +1 -1
- data/lib/posix/spawn/child.rb +0 -2
- data/lib/posix/spawn/version.rb +1 -1
- data/test/test_spawn.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: e80888255d57122ba2ad477c456582e0ebfdd05a61b175c60577ee8b38e579ad
|
4
|
+
data.tar.gz: 12d37e71310f0127b75b0f31da196c9c7554cac29a31d63754583f7737132190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3371e197b9b63ec2dce0b64d070bce8628ccb63112bcd14e8f7426891d1acf4d4ce4bc9558f44a832eaabd194b4b11a7feb2f12db2dd1d6db60968b8b9bc1a2a
|
7
|
+
data.tar.gz: 4d63126f9866a66ac6cc50d811be076939e1048f490aa40c55db1931398e016d225c3ae3da939a93646be551e6b207066f1dd4d2a1ee4f7dfe859a4404325242
|
data/lib/posix/spawn.rb
CHANGED
@@ -529,7 +529,7 @@ module POSIX
|
|
529
529
|
#
|
530
530
|
# Returns a [[cmdname, argv0], argv1, ...] array.
|
531
531
|
def adjust_process_spawn_argv(args)
|
532
|
-
if args.size == 1 && args[0] =~ /[ |>]/
|
532
|
+
if args.size == 1 && args[0].is_a?(String) && args[0] =~ /[ |>]/
|
533
533
|
# single string with these characters means run it through the shell
|
534
534
|
command_and_args = system_command_prefixes + [args[0]]
|
535
535
|
[*command_and_args]
|
data/lib/posix/spawn/child.rb
CHANGED
data/lib/posix/spawn/version.rb
CHANGED
data/test/test_spawn.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: posix-spawn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|