subspawn-posix 0.1.0 → 0.2.0.pre1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1e9a8cd307acbb03c05440d9300a7e48a3636d36734f2b4cb189aae0ab98bdd
4
- data.tar.gz: e176b1617b2c674da1de970e1b9e7ecf7776ab9c418e746374ec3983e4d6a31b
3
+ metadata.gz: c8afdc6d87903949823c83bb10f901e058988b9a46a3657c03768d4868c47d99
4
+ data.tar.gz: e0022ce4593e0a3c7edb9f90278782c18da4cf7cb6e031fcf77b7730c1594fb5
5
5
  SHA512:
6
- metadata.gz: 47fc587e35e40da9bffc3b8a8877363441c98dd25cbe1c46509c92478bae2651661194ad080271226b23446eb3f1de089af9e132e212f29e05940d5adecc86d5
7
- data.tar.gz: 540342bd3dc2c875a0f94a8d6d0a6f58698a8cdc456cf707e09f8c5c1251d71294342a2d802d220ad6feea64f03d3f482c4f3c00781a88a2b3a19614a34bde3a
6
+ metadata.gz: 1ff79fc62db854e42c6fda69813d18246a6e991fc9021d9b7e5cc29da63ea6f3f150c9370b18f3d2863565d32a201f4f05752cbab74503604ec61b4444762af1
7
+ data.tar.gz: 8c39837625b2cac6163e9489ff6017a815986db62eef7903ad9e3312e64ff23bfce7d7036832ac31a982a6e579b87795835cc1aa38792ede2626100c43d4b4fa
@@ -20,7 +20,7 @@ module SubSpawn::POSIX::Internal
20
20
  module OpenPTY
21
21
  extend FFI::Library
22
22
 
23
- ffi_lib FFI::Platform.mac? ? FFI::Library::LIBC : "util"
23
+ ffi_lib FFI::Platform.mac? ? FFI::Library::LIBC : ["libutil.so.1", "util"]
24
24
  attach_function :openpty, [:buffer_out, :buffer_out, :buffer_out, :buffer_in, :buffer_in], :int
25
25
 
26
26
  ffi_lib FFI::Library::LIBC
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SubSpawn
4
4
  class POSIX
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0.pre1"
6
6
  end
7
7
  end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/subspawn/posix/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "subspawn-posix"
7
+ spec.version = SubSpawn::POSIX::VERSION
8
+ spec.authors = ["Patrick Plenefisch"]
9
+ spec.email = ["simonpatp@gmail.com"]
10
+
11
+ spec.summary = "SubSpawn Mid-level API for POSIX systems"
12
+ spec.description = "A SubSpawn subproject to wrap libfixposix as a mid level API"
13
+ final_github = "https://github.com/byteit101/subspawn"
14
+ spec.homepage = final_github
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
17
+ #spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = final_github
21
+ spec.metadata["changelog_uri"] = final_github
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(__dir__) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.require_paths = ["lib"]
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ spec.add_dependency "subspawn-common", "~> 0.2.0.pre1"
34
+ spec.add_dependency "ffi-bindings-libfixposix", "~> 0.5.0"
35
+
36
+ # For more information and examples about making a new gem, check out our
37
+ # guide at: https://bundler.io/guides/creating_gem.html
38
+
39
+ # You can use Ruby's license, or any of the JRuby tri-license options
40
+ spec.licenses = ["Ruby", "EPL-2.0", "LGPL-2.1-or-later"]
41
+ end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subspawn-posix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Plenefisch
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-11 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: subspawn-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.2.0.pre1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.2.0.pre1
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: ffi-bindings-libfixposix
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,13 +56,17 @@ files:
42
56
  - lib/subspawn/posix/signals.rb
43
57
  - lib/subspawn/posix/version.rb
44
58
  - sig/subspawn/posix.rbs
59
+ - subspawn-posix.gemspec
45
60
  homepage: https://github.com/byteit101/subspawn
46
- licenses: []
61
+ licenses:
62
+ - Ruby
63
+ - EPL-2.0
64
+ - LGPL-2.1-or-later
47
65
  metadata:
48
66
  homepage_uri: https://github.com/byteit101/subspawn
49
67
  source_code_uri: https://github.com/byteit101/subspawn
50
68
  changelog_uri: https://github.com/byteit101/subspawn
51
- post_install_message:
69
+ post_install_message:
52
70
  rdoc_options: []
53
71
  require_paths:
54
72
  - lib
@@ -63,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
81
  - !ruby/object:Gem::Version
64
82
  version: '0'
65
83
  requirements: []
66
- rubygems_version: 3.0.3.1
67
- signing_key:
84
+ rubygems_version: 3.5.3
85
+ signing_key:
68
86
  specification_version: 4
69
87
  summary: SubSpawn Mid-level API for POSIX systems
70
88
  test_files: []