spoon 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/spoon/windows.rb +3 -1
  3. data/spoon.gemspec +2 -1
  4. metadata +15 -18
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 01ec003deb02e9eababfee15fbc6cfd9fa2ad41c
4
+ data.tar.gz: 773ca706e743609fc30445e823fb00fa2fa3c5a9
5
+ SHA512:
6
+ metadata.gz: f513025b5c19700cc57d60495179ebb70193ed4025f197a1f9f1a368b9dab417c9caf6849a2a96494dd414f25d72dbca43cf21af30ab48935190bbf97f5ad70e
7
+ data.tar.gz: 141b67a3b6a35e3681906b37c966b2b62dd50cb277bfcc4cab3e4e1713bd2b14ee47f78f6420cad5a7b37e245401c6cf7eaf9f7422d50f974b3449c491145a05
@@ -16,7 +16,9 @@ require 'ffi'
16
16
 
17
17
  module Spoon
18
18
  P_NOWAIT = 1
19
-
19
+ extend FFI::Library
20
+
21
+ ffi_lib FFI::Library::LIBC
20
22
  attach_function :_spawnve, [:int, :string, :pointer, :pointer], :int
21
23
  attach_function :_spawnvpe, [:int, :string, :pointer, :pointer], :int
22
24
 
@@ -1,10 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "spoon"
3
- s.version = "0.0.4"
3
+ s.version = "0.0.5"
4
4
  s.authors = ["Charles Oliver Nutter"]
5
5
  s.date = "2013-03-29"
6
6
  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."
7
7
  s.files = `git ls-files`.lines.map(&:chomp)
8
8
  s.require_paths = ["lib"]
9
9
  s.add_dependency('ffi')
10
+ s.license = "Apache-2.0"
10
11
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spoon
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.4
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Charles Oliver Nutter
@@ -12,21 +11,19 @@ cert_chain: []
12
11
  date: 2013-03-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: ffi
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - '>='
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- none: false
22
14
  requirement: !ruby/object:Gem::Requirement
23
15
  requirements:
24
- - - '>='
16
+ - - ">="
25
17
  - !ruby/object:Gem::Version
26
18
  version: '0'
27
- none: false
19
+ name: ffi
28
20
  prerelease: false
29
21
  type: :runtime
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
30
27
  description: Spoon is an FFI binding of the posix_spawn function (and Windows equivalent), providing fork+exec functionality in a single shot.
31
28
  email:
32
29
  executables: []
@@ -41,27 +38,27 @@ files:
41
38
  - lib/spoon/windows.rb
42
39
  - spoon.gemspec
43
40
  homepage:
44
- licenses: []
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata: {}
45
44
  post_install_message:
46
45
  rdoc_options: []
47
46
  require_paths:
48
47
  - lib
49
48
  required_ruby_version: !ruby/object:Gem::Requirement
50
49
  requirements:
51
- - - '>='
50
+ - - ">="
52
51
  - !ruby/object:Gem::Version
53
52
  version: '0'
54
- none: false
55
53
  required_rubygems_version: !ruby/object:Gem::Requirement
56
54
  requirements:
57
- - - '>='
55
+ - - ">="
58
56
  - !ruby/object:Gem::Version
59
57
  version: '0'
60
- none: false
61
58
  requirements: []
62
59
  rubyforge_project:
63
- rubygems_version: 1.8.24
60
+ rubygems_version: 2.6.6
64
61
  signing_key:
65
- specification_version: 3
62
+ specification_version: 4
66
63
  summary: Spoon is an FFI binding of the posix_spawn function (and Windows equivalent), providing fork+exec functionality in a single shot.
67
64
  test_files: []