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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b73a92386a7dc619a85892686d5fb139df873bd2c762be8e78c29f602261e405
4
- data.tar.gz: 694607679a045c2599469b6b499c8970aa4963134364b9aebf1904a321518f50
3
+ metadata.gz: e7e3adf82f141f9b8cadb203c20334ed039921d9231e883c3ba3138b9e133b2d
4
+ data.tar.gz: e78ccbc3915ff05f944c8ccf1835dd0b5a222bd8f4f8f8ab561cce704519fef3
5
5
  SHA512:
6
- metadata.gz: 6fef910cd6101ca804b3e6d58b3fbcd4cb6250238349d0b0c387c57e040ed4a4d141e1f8b6814790847d7e070e01ac550547ed43b144ca4e7dc1a4b2ddc8e9ce
7
- data.tar.gz: 736c2870384cf448e7fc504e328ce835ac1b255bd6f09fff10011ba6a63b6852b544d6af9643bfa2088d15d80ae6c1c793b2019dedbbbaf3fb3864d29738e71f
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)
@@ -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.7"
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"
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Anydoc
4
4
  # The gem version, which is the version of the anydoc crate it wraps.
5
- VERSION = "0.1.7"
5
+ VERSION = "0.1.8"
6
6
  end
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.7
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: 4.0.17
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