guardship 0.0.104 → 0.0.105
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 +4 -4
- data/README.md +25 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d37c7b6dc9d4499258501587a87c658f68cf2d4a64c23a286241d898d885c36
|
|
4
|
+
data.tar.gz: 0c76045c8610238f69fef6ac7931fcfcfc29cc807a78aea5914c959940a8c394
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 273f50907a4b503ee5bea3376fa2fbd1e074ac71147d2dc6bdb59e8c4445b022b845f55cdbbd8657a06183d5521a177ad2a027dc167f986575833dd755680e90
|
|
7
|
+
data.tar.gz: 34e046384ddb063c62f0d56ca8805cfacb4a8ed1c9e4ebff621de2f6288209821ed766b58f059226496b12651cfc9bfda6526f6263758563ea45996f2c0e0919
|
data/README.md
CHANGED
|
@@ -38,11 +38,33 @@ All packaged binaries are precompiled. No local Rust toolchain is required to ru
|
|
|
38
38
|
|
|
39
39
|
## Release Workflow
|
|
40
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
|
+
|
|
41
43
|
```bash
|
|
42
|
-
|
|
44
|
+
just build
|
|
45
|
+
cd gem
|
|
43
46
|
bundle exec rake gem:build
|
|
44
|
-
bundle exec rake gem:
|
|
45
|
-
|
|
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
|
|
46
68
|
bundle exec rake gem:push
|
|
47
69
|
# or
|
|
48
70
|
bundle exec rake gem:push_all
|
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.
|
|
4
|
+
version: 0.0.105
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
57
|
version: '0'
|
|
58
58
|
requirements: []
|
|
59
|
-
rubygems_version:
|
|
59
|
+
rubygems_version: 4.0.6
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Mothership gem wrapper
|
|
62
62
|
test_files: []
|