guardship 0.0.52-x86_64-linux → 0.0.55-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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2519fbfbeddb48a1a7c279c12062ea6857c5c271eca30d6478380c4b0b25cc1
4
- data.tar.gz: c25c07a51a7953c636910d7396af13f314527ac9fe3fa9b3f83ff31c72a8b9a4
3
+ metadata.gz: 158c6c7638c35525ebb525778c45093ee2f7de25813ce43b5585442e6022f5b0
4
+ data.tar.gz: d883a8c060b7b656f7eb6841bc5317fcf350e3da5bbcdc792c6cd39c63bbde8c
5
5
  SHA512:
6
- metadata.gz: 10b924672bcd16f8f913b42668c9bc276a32c1e88dc8778bf56464f6fa2d8fb954f5a04180dc058b155d35f9bb060fea7389b5b53f0a44c509099235d735d83d
7
- data.tar.gz: db1fc83489dcb1b36677fb19010ff146dc541ff649751a0de75db58a8b99d95af4fa5dea14fefefbaeb358ee331c76c0b99c82e94626588f20e79ed8dfd3d247
6
+ metadata.gz: 84f2c6f083aafabb23724c8ca6362ab5f3332e5cc3f64fc44622c432e4be00282345a6182168cc40d02d98226a9a7b02a70ecd7cc493241334fd9d722098e601
7
+ data.tar.gz: 8e9d4d4d18ec0c9b0575bcf553e6fdc9f91446a25266e304e38fb3c783a6c5d77174b0a93eb11df789bebd1d3fa282e5df845adc514d184a6ec038814492f257
data/README.md CHANGED
@@ -1,20 +1,78 @@
1
- # Mothership Gem
1
+ # Guardship
2
2
 
3
3
  Precompiled binary distribution of [Mothership](https://github.com/seuros/mothership) - a process supervisor with HTTP exposure.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- gem install mothership
8
+ gem install guardship
9
9
  ```
10
10
 
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
23
+
24
+ **Granular binaries reduce your exposure to vulnerabilities:**
25
+
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.
31
+
11
32
  ## Usage
12
33
 
34
+ ### Basic Process Supervision
35
+
36
+ ```bash
37
+ # Minimal variant (no PostgreSQL, no WASM)
38
+ mothership --config mothership.toml
39
+ ```
40
+
41
+ ### PostgreSQL Flagship Coordination
42
+
13
43
  ```bash
14
- mothership --help
44
+ # PostgreSQL variant (leader election, multi-instance)
45
+ mothership-pg --config mothership.toml
15
46
  ```
16
47
 
17
- For full documentation, see the [main repository](https://github.com/seuros/mothership).
48
+ ### WASM Plugin Support
49
+
50
+ ```bash
51
+ # WASM variant (custom plugins)
52
+ mothership-wasm --config mothership.toml
53
+ ```
54
+
55
+ ### All Features
56
+
57
+ ```bash
58
+ # Full variant (PostgreSQL + WASM)
59
+ mothership-full --config mothership.toml
60
+ ```
61
+
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
+ ## Documentation
70
+
71
+ For full documentation, configuration examples, and advanced usage:
72
+
73
+ - [Main Repository](https://github.com/seuros/mothership)
74
+ - [Configuration Guide](https://github.com/seuros/mothership#configuration)
75
+ - [API Documentation](https://docs.rs/mothership)
18
76
 
19
77
  ## License
20
78
 
data/exe/mothership CHANGED
Binary file
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guardship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52
4
+ version: 0.0.55
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Abdelkader Boudih
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-01-12 00:00:00.000000000 Z
11
12
  dependencies: []
12
- description: Process supervisor with HTTP exposure - wrap, monitor, and expose your
13
- fleet. This gem provides precompiled binaries.
13
+ description: 'Process supervisor with HTTP exposure - wrap, monitor, and expose your
14
+ fleet. For minimal builds: cargo install mothership --no-default-features'
14
15
  email:
15
16
  - oss@seuros.com
16
17
  executables:
@@ -21,16 +22,14 @@ files:
21
22
  - LICENSE
22
23
  - README.md
23
24
  - exe/mothership
24
- - exe/mothership-linux-x86_64
25
- - lib/mothership.rb
26
- - lib/mothership/version.rb
27
25
  homepage: https://github.com/seuros/mothership
28
26
  licenses:
29
- - MIT
27
+ - BSD-3-Clause
30
28
  metadata:
31
29
  homepage_uri: https://github.com/seuros/mothership
32
30
  source_code_uri: https://github.com/seuros/mothership
33
31
  changelog_uri: https://github.com/seuros/mothership/blob/master/CHANGELOG.md
32
+ post_install_message:
34
33
  rdoc_options: []
35
34
  require_paths:
36
35
  - lib
@@ -38,14 +37,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
38
37
  requirements:
39
38
  - - ">="
40
39
  - !ruby/object:Gem::Version
41
- version: 3.0.0
40
+ version: '0'
42
41
  required_rubygems_version: !ruby/object:Gem::Requirement
43
42
  requirements:
44
43
  - - ">="
45
44
  - !ruby/object:Gem::Version
46
45
  version: '0'
47
46
  requirements: []
48
- rubygems_version: 4.0.1
47
+ rubygems_version: 3.5.22
48
+ signing_key:
49
49
  specification_version: 4
50
- summary: Process supervisor with HTTP exposure - precompiled binary distribution
50
+ summary: Process supervisor with HTTP exposure
51
51
  test_files: []
Binary file
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Mothership
4
- VERSION = "0.0.52"
5
- end
data/lib/mothership.rb DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "mothership/version"
4
-
5
- module Mothership
6
- class Error < StandardError; end
7
-
8
- def self.executable_path
9
- File.expand_path("../../exe/mothership", __dir__)
10
- end
11
- end