guardship 0.0.55-x86_64-linux → 0.0.102-x86_64-linux

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -44
  3. data/exe/mothership +0 -0
  4. data/libexec/mothership +0 -0
  5. metadata +24 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 158c6c7638c35525ebb525778c45093ee2f7de25813ce43b5585442e6022f5b0
4
- data.tar.gz: d883a8c060b7b656f7eb6841bc5317fcf350e3da5bbcdc792c6cd39c63bbde8c
3
+ metadata.gz: 414debea466168ac896d6ff0f34b0f01397abfbf8129d79774bc83b0e61bb51a
4
+ data.tar.gz: 4207f66fa616bc36de7b6c625a1910dd284bafe26237621fbb904b55612f5392
5
5
  SHA512:
6
- metadata.gz: 84f2c6f083aafabb23724c8ca6362ab5f3332e5cc3f64fc44622c432e4be00282345a6182168cc40d02d98226a9a7b02a70ecd7cc493241334fd9d722098e601
7
- data.tar.gz: 8e9d4d4d18ec0c9b0575bcf553e6fdc9f91446a25266e304e38fb3c783a6c5d77174b0a93eb11df789bebd1d3fa282e5df845adc514d184a6ec038814492f257
6
+ metadata.gz: 0f18744d632132e5590dda40495c2653574e0e48269c0e4cf55ab654f17857b81acc788f2bc19b38e0347c883611d4474d51e50cd2623c75ddbae0aa85da5f60
7
+ data.tar.gz: 03e6808022713daed977a4ba18b6cfa1d1478fe4f149101d68dc4d4dacb61fd553d81a94dce6d749a75e9456e5387a94534832bbea6f00622b0b90a513d71012
data/README.md CHANGED
@@ -1,75 +1,56 @@
1
1
  # Guardship
2
2
 
3
- Precompiled binary distribution of [Mothership](https://github.com/seuros/mothership) - a process supervisor with HTTP exposure.
3
+ Ruby wrapper and release packaging for [Mothership](https://github.com/seuros/mothership), the process supervisor with HTTP exposure.
4
4
 
5
5
  ## Installation
6
6
 
7
+ RubyGems should resolve the matching platform gem automatically on supported targets:
8
+
7
9
  ```bash
8
10
  gem install guardship
9
11
  ```
10
12
 
11
- ## Binary Variants
12
-
13
- Guardship provides **4 binary variants** to minimize attack surface. Each variant includes only the features you need:
14
-
15
- | Command | Features | Use Case | Attack Surface |
16
- |---------|----------|----------|----------------|
17
- | `mothership` | Minimal (core only) | Basic process supervision | **Smallest** - no PostgreSQL or WASM dependencies |
18
- | `mothership-pg` | PostgreSQL coordination | Flagship mode with leader election | Adds tokio-postgres, excludes WASM |
19
- | `mothership-wasm` | WASM plugin support | Custom WASM modules | Adds wasmtime, excludes PostgreSQL |
20
- | `mothership-full` | All features | Full capabilities | **Largest** - includes all dependencies |
21
-
22
- ### Security Benefits
13
+ The generic `guardship` gem is a stub. Platform-specific releases carry the bundled native `mothership` binary.
23
14
 
24
- **Granular binaries reduce your exposure to vulnerabilities:**
15
+ ## What Is Included
25
16
 
26
- - **CVE in wasmtime?** Only affects `mothership-wasm` and `mothership-full`
27
- - **Bug in tokio-postgres?** Only affects `mothership-pg` and `mothership-full`
28
- - **Running `mothership` (minimal)?** Immune to vulnerabilities in both PostgreSQL and WASM dependencies
29
-
30
- This approach follows the **principle of least privilege** - only include code you actually use.
17
+ - Stub gem:
18
+ - Ruby launcher only
19
+ - no bundled native binary
20
+ - Platform gems:
21
+ - `mothership` native binary under `libexec/`
22
+ - `tokio-postgres` support for flagship PostgreSQL coordination
23
+ - `wasmtime` support for WASM request/response modules
31
24
 
32
25
  ## Usage
33
26
 
34
- ### Basic Process Supervision
35
-
36
27
  ```bash
37
- # Minimal variant (no PostgreSQL, no WASM)
38
28
  mothership --config mothership.toml
39
29
  ```
40
30
 
41
- ### PostgreSQL Flagship Coordination
31
+ If you install the stub gem directly on a platform without a matching packaged binary, the launcher will tell you that no bundled binary is present.
42
32
 
43
- ```bash
44
- # PostgreSQL variant (leader election, multi-instance)
45
- mothership-pg --config mothership.toml
46
- ```
33
+ ## Supported Platforms
47
34
 
48
- ### WASM Plugin Support
35
+ - Linux: `x86_64-linux`, `aarch64-linux`
36
+ - macOS: `x86_64-darwin`, `arm64-darwin`
49
37
 
50
- ```bash
51
- # WASM variant (custom plugins)
52
- mothership-wasm --config mothership.toml
53
- ```
38
+ All packaged binaries are precompiled. No local Rust toolchain is required to run the gem.
54
39
 
55
- ### All Features
40
+ ## Release Workflow
56
41
 
57
42
  ```bash
58
- # Full variant (PostgreSQL + WASM)
59
- mothership-full --config mothership.toml
43
+ cd mothership/gem
44
+ bundle exec rake gem:build
45
+ bundle exec rake gem:build_current_platform
46
+ bundle exec rake gem:build_platforms
47
+ bundle exec rake gem:push
48
+ # or
49
+ bundle exec rake gem:push_all
60
50
  ```
61
51
 
62
- ## Supported Platforms
63
-
64
- - Linux: x86_64, ARM64
65
- - macOS: x86_64 (Intel), ARM64 (Apple Silicon)
66
-
67
- All binaries are precompiled and ready to use - no compilation required.
68
-
69
52
  ## Documentation
70
53
 
71
- For full documentation, configuration examples, and advanced usage:
72
-
73
54
  - [Main Repository](https://github.com/seuros/mothership)
74
55
  - [Configuration Guide](https://github.com/seuros/mothership#configuration)
75
56
  - [API Documentation](https://docs.rs/mothership)
data/exe/mothership CHANGED
Binary file
Binary file
metadata CHANGED
@@ -1,17 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guardship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.55
4
+ version: 0.0.102
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Abdelkader Boudih
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-01-12 00:00:00.000000000 Z
12
- dependencies: []
13
- description: 'Process supervisor with HTTP exposure - wrap, monitor, and expose your
14
- fleet. For minimal builds: cargo install mothership --no-default-features'
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rake
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '13.0'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '13.0'
26
+ description: Platform-specific Mothership gem with a bundled native binary.
15
27
  email:
16
28
  - oss@seuros.com
17
29
  executables:
@@ -22,14 +34,14 @@ files:
22
34
  - LICENSE
23
35
  - README.md
24
36
  - exe/mothership
37
+ - libexec/mothership
25
38
  homepage: https://github.com/seuros/mothership
26
39
  licenses:
27
- - BSD-3-Clause
40
+ - MIT
28
41
  metadata:
29
- homepage_uri: https://github.com/seuros/mothership
30
42
  source_code_uri: https://github.com/seuros/mothership
31
43
  changelog_uri: https://github.com/seuros/mothership/blob/master/CHANGELOG.md
32
- post_install_message:
44
+ rubygems_mfa_required: 'true'
33
45
  rdoc_options: []
34
46
  require_paths:
35
47
  - lib
@@ -37,15 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
37
49
  requirements:
38
50
  - - ">="
39
51
  - !ruby/object:Gem::Version
40
- version: '0'
52
+ version: '3.0'
41
53
  required_rubygems_version: !ruby/object:Gem::Requirement
42
54
  requirements:
43
55
  - - ">="
44
56
  - !ruby/object:Gem::Version
45
57
  version: '0'
46
58
  requirements: []
47
- rubygems_version: 3.5.22
48
- signing_key:
59
+ rubygems_version: 3.6.9
49
60
  specification_version: 4
50
- summary: Process supervisor with HTTP exposure
61
+ summary: Mothership gem wrapper
51
62
  test_files: []