Commit 6254ae95 authored by Cédric Boutillier's avatar Cédric Boutillier

Imported Upstream version 0.0.3

parent 9d08b670
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'spoon' require 'spoon'
# #
......
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'spoon' require 'spoon'
Spoon.spawnp 'vi' Spoon.spawnp 'vi'
Process.waitall Process.waitall
\ No newline at end of file
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'rbconfig' require 'rbconfig'
if RbConfig::CONFIG['host_os'] =~ /mingw|mswin|bccwin/ if RbConfig::CONFIG['host_os'] =~ /mingw|mswin|bccwin/
......
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# UNIX posix_spawn # UNIX posix_spawn
require 'ffi' require 'ffi'
......
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Windows _spawnv # Windows _spawnv
require 'ffi' require 'ffi'
......
--- !ruby/object:Gem::Specification
name: spoon
version: !ruby/object:Gem::Version
version: 0.0.3
prerelease:
platform: ruby
authors:
- Charles Oliver Nutter
autorequire:
bindir: bin
cert_chain: []
date: 2013-03-29 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: ffi
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '>='
- !ruby/object:Gem::Version
version: '0'
none: false
requirement: !ruby/object:Gem::Requirement
requirements:
- - '>='
- !ruby/object:Gem::Version
version: '0'
none: false
prerelease: false
type: :runtime
description: Spoon is an FFI binding of the posix_spawn function (and Windows equivalent), providing fork+exec functionality in a single shot.
email:
executables: []
extensions: []
extra_rdoc_files: []
files:
- LICENSE
- examples/ls.rb
- examples/vi.rb
- lib/spoon.rb
- lib/spoon/unix.rb
- lib/spoon/windows.rb
- spoon.gemspec
homepage:
licenses: []
post_install_message:
rdoc_options: []
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
requirements:
- - '>='
- !ruby/object:Gem::Version
version: '0'
none: false
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - '>='
- !ruby/object:Gem::Version
version: '0'
none: false
requirements: []
rubyforge_project:
rubygems_version: 1.8.24
signing_key:
specification_version: 3
summary: Spoon is an FFI binding of the posix_spawn function (and Windows equivalent), providing fork+exec functionality in a single shot.
test_files: []
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "spoon" s.name = "spoon"
s.version = "0.0.2" s.version = "0.0.3"
s.authors = ["Charles Oliver Nutter"] s.authors = ["Charles Oliver Nutter"]
s.date = "2012-04-20" s.date = "2013-03-29"
s.description = s.summary = "Spoon is an FFI binding of the posix_spawn function (and Windows equivalent), providing fork+exec functionality in a single shot." s.description = s.summary = "Spoon is an FFI binding of the posix_spawn function (and Windows equivalent), providing fork+exec functionality in a single shot."
s.files = "lib/spoon.rb" s.files = `git ls-files`.lines.map(&:chomp)
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.add_dependency('ffi') unless defined?(JRUBY_VERSION) # JRuby includes ffi s.add_dependency('ffi')
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment