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 CHANGED
@@ -2,4 +2,5 @@ README.rdoc
2
2
  lib/**/*.rb
3
3
  bin/*
4
4
  features/**/*.feature
5
+ -
5
6
  LICENSE
data/.gitignore CHANGED
@@ -17,5 +17,6 @@ tmtags
17
17
  coverage
18
18
  rdoc
19
19
  pkg
20
+ .rbx
20
21
 
21
22
  ## PROJECT::SPECIFIC
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
- - rvm: jruby
15
- env: CHILDPROCESS_POSIX_SPAWN=true
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 << nil
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 << nil
127
+ @ptrs << FFI::Pointer.new(0)
128
128
  end
129
129
 
130
130
  def to_ptr
@@ -1,3 +1,3 @@
1
1
  module ChildProcess
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
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
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-20 00:00:00.000000000 Z
12
+ date: 2012-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec