childprocess 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +1 -0
- data/.gitignore +1 -0
- data/.travis.yml +5 -2
- data/lib/childprocess/unix/posix_spawn_process.rb +2 -2
- data/lib/childprocess/version.rb +1 -1
- data/lib/childprocess.rb +3 -1
- metadata +2 -2
data/.document
CHANGED
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -4,12 +4,15 @@ rvm:
|
|
4
4
|
- 1.9.3
|
5
5
|
- jruby
|
6
6
|
- rbx
|
7
|
+
- ruby-head
|
7
8
|
env:
|
8
9
|
- CHILDPROCESS_POSIX_SPAWN=true
|
9
10
|
- CHILDPROCESS_POSIX_SPAWN=false
|
10
11
|
matrix:
|
11
12
|
exclude:
|
13
|
+
- rvm: jruby
|
14
|
+
env: CHILDPROCESS_POSIX_SPAWN=true
|
12
15
|
- rvm: rbx
|
13
16
|
env: CHILDPROCESS_POSIX_SPAWN=true
|
14
|
-
|
15
|
-
|
17
|
+
allow_failures:
|
18
|
+
- rvm: ruby-head
|
@@ -101,7 +101,7 @@ module ChildProcess
|
|
101
101
|
FFI::MemoryPointer.from_string(e.to_s)
|
102
102
|
end
|
103
103
|
|
104
|
-
@ptrs <<
|
104
|
+
@ptrs << FFI::Pointer.new(0)
|
105
105
|
end
|
106
106
|
|
107
107
|
def to_ptr
|
@@ -124,7 +124,7 @@ module ChildProcess
|
|
124
124
|
FFI::MemoryPointer.from_string("#{key}=#{val}")
|
125
125
|
end.compact
|
126
126
|
|
127
|
-
@ptrs <<
|
127
|
+
@ptrs << FFI::Pointer.new(0)
|
128
128
|
end
|
129
129
|
|
130
130
|
def to_ptr
|
data/lib/childprocess/version.rb
CHANGED
data/lib/childprocess.rb
CHANGED
@@ -10,7 +10,7 @@ module ChildProcess
|
|
10
10
|
class << self
|
11
11
|
def new(*args)
|
12
12
|
case os
|
13
|
-
when :macosx, :linux, :solaris, :bsd, :cygwin
|
13
|
+
when :macosx, :linux, :solaris, :bsd, :cygwin, :aix
|
14
14
|
if posix_spawn?
|
15
15
|
Unix::PosixSpawnProcess.new(args)
|
16
16
|
elsif jruby?
|
@@ -102,6 +102,8 @@ module ChildProcess
|
|
102
102
|
:solaris
|
103
103
|
when /bsd/
|
104
104
|
:bsd
|
105
|
+
when /aix/
|
106
|
+
:aix
|
105
107
|
else
|
106
108
|
raise Error, "unknown os: #{host_os.inspect}"
|
107
109
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: childprocess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07
|
12
|
+
date: 2012-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|