anydoc-ruby 0.1.7 → 0.1.8
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 +12 -0
- data/ext/anydoc/Cargo.toml +1 -1
- data/lib/anydoc/version.rb +1 -1
- 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: e7e3adf82f141f9b8cadb203c20334ed039921d9231e883c3ba3138b9e133b2d
|
|
4
|
+
data.tar.gz: e78ccbc3915ff05f944c8ccf1835dd0b5a222bd8f4f8f8ab561cce704519fef3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f87ff6cf51742ac7109b78ff9c4c05d03c1fb2142038ea8439f838ff7cddadf5cea1bb1de26c321f666fcf70d59207058248c8afb90b78d932262f47fd57cc9
|
|
7
|
+
data.tar.gz: 89525c3fcf2930f5e004d18b38be60a0e5651f1d02df8ddd9e676d2f0ccd8bb4842a8acff711d8048c03196607fceb27c605a37e088d6320e44e802565c8ef24
|
data/README.md
CHANGED
|
@@ -144,6 +144,18 @@ bundle exec rake gems:all # the source gem and all seven platforms
|
|
|
144
144
|
|
|
145
145
|
Run these through Rake rather than calling `rb-sys-dock` from this directory: the container mounts the shell's working directory, and the build needs the crate one level above it, so the tasks run the CLI from the repository root with `--directory ruby`. The first build of each platform pulls a multi-gigabyte image.
|
|
146
146
|
|
|
147
|
+
### Releasing
|
|
148
|
+
|
|
149
|
+
The gem version tracks the version of the crate it wraps, so a release starts from a crate version bump:
|
|
150
|
+
|
|
151
|
+
1. Bump `lib/anydoc/version.rb` and the `anydoc` dependency in `ext/anydoc/Cargo.toml` to the crate's version.
|
|
152
|
+
2. `sh scripts/check-versions.sh` from the repository root, which fails unless all seven version locations agree.
|
|
153
|
+
3. Tag `ruby-v<version>` and push it.
|
|
154
|
+
|
|
155
|
+
The tag runs [`.github/workflows/release-ruby.yml`](../.github/workflows/release-ruby.yml), which cross-compiles every platform gem, installs and tests each one, pushes them through RubyGems trusted publishing, and attaches them to a GitHub release. A `workflow_dispatch` run does everything except publish.
|
|
156
|
+
|
|
157
|
+
Because the versions are locked together, a fix that touches only the bindings waits for the next crate release. Shipping one sooner means relaxing the version gate for that release.
|
|
158
|
+
|
|
147
159
|
## License
|
|
148
160
|
|
|
149
161
|
[MIT](https://github.com/honzasterba/anydoc/blob/main/LICENSE)
|
data/ext/anydoc/Cargo.toml
CHANGED
|
@@ -16,7 +16,7 @@ crate-type = ["cdylib"]
|
|
|
16
16
|
# From crates.io, so an installed source gem builds anywhere. Builds inside
|
|
17
17
|
# this repository redirect it to the local crate through ruby/.cargo/config.toml,
|
|
18
18
|
# and scripts/check-versions.sh keeps this requirement on the release version.
|
|
19
|
-
anydoc = "0.1.
|
|
19
|
+
anydoc = "0.1.8"
|
|
20
20
|
magnus = "0.8"
|
|
21
21
|
# For rb_thread_call_without_gvl; magnus resolves to the same major version.
|
|
22
22
|
rb-sys = "0.9"
|
data/lib/anydoc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anydoc-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Sterba
|
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: '0'
|
|
73
73
|
requirements: []
|
|
74
|
-
rubygems_version:
|
|
74
|
+
rubygems_version: 3.6.9
|
|
75
75
|
specification_version: 4
|
|
76
76
|
summary: Convert documents (doc, docx, odt, rtf, epub, pdf, presentations, spreadsheets,
|
|
77
77
|
csv) to GitHub-Flavored Markdown
|