guardship 0.0.103-x86_64-linux → 0.0.105-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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -5
  3. data/libexec/mothership +0 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4405052137310ffb6c00aab55bb9bec00778740cd4907641a06604c08dbf2532
4
- data.tar.gz: 96f2e4ec88167b79cbc4c09acf06490b63b65ab1bd18d3023baf8ac51ba90970
3
+ metadata.gz: aa6e7dbdcc9ee51edeb3c289f9fc7c6e258d41ee02553d2d9e33a1e0b62e6637
4
+ data.tar.gz: 37f14fd5abaeb04b57c94f0832e7b76d0e3936c1800fcffe4ea77a8cb854f836
5
5
  SHA512:
6
- metadata.gz: 3eb793cc977709c375a71111ab42d678a3a8381a9f6f70ee63c695d35e2c89fd133fd15d6ac708d52e55d43ecfe330ca41277fc2cc0bf67928604ecc5dbe603a
7
- data.tar.gz: 7bfb567f01ef410f27e576f60fad45e0baedc2c3c1b059aea9aa4cc7304a28d2599dbb869c51a6390c693912bf2d9704e5ba3fbb7c5111a9d8b0fe88ed7ac0ee
6
+ metadata.gz: 5e356da4a2557c72e8149c929f56f858cbf92c795a34f4368b6bf2a681b141b636acfdc6b46b6a58b195ebf477f9c498718d5cec4f1babfe8f19762eabfdb378
7
+ data.tar.gz: 79dfeada2a587cc0a5edbd8535d33f1a905675fa3b90dd2298ca51ad00ee566774931b7dab0cb20bfb49f084b8b75c97875143d27e9ae2b11b4a157814b913a7
data/README.md CHANGED
@@ -19,8 +19,7 @@ The generic `guardship` gem is a stub. Platform-specific releases carry the bund
19
19
  - no bundled native binary
20
20
  - Platform gems:
21
21
  - `mothership` native binary under `libexec/`
22
- - `tokio-postgres` support for flagship PostgreSQL coordination
23
- - `wasmtime` support for WASM request/response modules
22
+ - default feature set only
24
23
 
25
24
  ## Usage
26
25
 
@@ -39,11 +38,33 @@ All packaged binaries are precompiled. No local Rust toolchain is required to ru
39
38
 
40
39
  ## Release Workflow
41
40
 
41
+ The release build produces one stub gem and one platform gem for each supported target. Run it from the repository root after the Rust crate and gem versions have been bumped together.
42
+
42
43
  ```bash
43
- cd mothership/gem
44
+ just build
45
+ cd gem
44
46
  bundle exec rake gem:build
45
- bundle exec rake gem:build_current_platform
46
- bundle exec rake gem:build_platforms
47
+ mise exec zig@0.14.1 -- bundle exec rake gem:build_platforms
48
+ ```
49
+
50
+ `gem:build_platforms` builds these artifacts:
51
+
52
+ - `guardship-VERSION.gem`
53
+ - `guardship-VERSION-arm64-darwin.gem`
54
+ - `guardship-VERSION-x86_64-darwin.gem`
55
+ - `guardship-VERSION-aarch64-linux.gem`
56
+ - `guardship-VERSION-x86_64-linux.gem`
57
+
58
+ Linux platform gems are built with `cargo zigbuild` through the configured Zig toolchain. The task uses glibc-versioned targets by default:
59
+
60
+ - `x86_64-unknown-linux-gnu.2.36`
61
+ - `aarch64-unknown-linux-gnu.2.36`
62
+
63
+ The glibc floor can be changed for a release with `GUARDSHIP_GLIBC_VERSION=2.xx`. Do not use the plain `*-unknown-linux-gnu` Zig targets for the local all-platform release; Rama DNS links resolver symbols such as `res_nquery` that need the glibc-versioned target.
64
+
65
+ Publish after the artifacts are present:
66
+
67
+ ```bash
47
68
  bundle exec rake gem:push
48
69
  # or
49
70
  bundle exec rake gem:push_all
data/libexec/mothership CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guardship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.103
4
+ version: 0.0.105
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Abdelkader Boudih