redact_ner 0.1.1 → 0.1.2

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: f6fdf0558a7f686f360db45f9a8ebc6822f8f271397597c412a606b97c53211d
4
- data.tar.gz: 8daed6b0d7875e295517dd1ef3677bb1e0b4c1b679fc12e6e3c09cf7c01b28d3
3
+ metadata.gz: b5865619e758c5b2d9959ecc613d1ae7830c9ecef1ab6d69370d513117f9fa46
4
+ data.tar.gz: ae41cb709cd3b1eb7e51458c42eb3256e13fa857e0c788891585765132091afe
5
5
  SHA512:
6
- metadata.gz: 7f30260888db3b7168eabee83ca11590754e790ae02e060c8bca9fadcc21fee6273a5df7ec27964a49328bac9be52e79313a2b22d55f2a74eb84856066b4fc84
7
- data.tar.gz: 66d18a4ddf45e931c5f615421a08da5d6caa22ae88e47bb4ece2d4a279c8f32cc744b5b893f3036a9bcd9ac69692756b8060d82b5f69a91a457d5e97d6c01505
6
+ metadata.gz: 576bdab1c4023c482d802c46df56b1651f8e92e1d9f7b5d3160baf98da59d0aaa626484b885369730cf0e5bbb0ea7e247cb3cca59fefed3346e59b0b14facba4
7
+ data.tar.gz: 3b82ee15c23bdbf1df3c8b68cc746bbc03272997406d0b50f10f370f62a2630dffac6df9c547184e60893a3324f002d2dbc1ebd486358ca28c2ba186e515906d
data/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.2] - 2026-05-17
11
+
12
+ ## What's Changed
13
+ * Automate release prep: version bump, CHANGELOG, draft GitHub Release by @mitsuru in https://github.com/mitsuru/redact-ner-ruby/pull/1
14
+ * Use a GitHub App token instead of RELEASE_PAT for release automation by @mitsuru in https://github.com/mitsuru/redact-ner-ruby/pull/2
15
+
16
+ ## New Contributors
17
+ * @mitsuru made their first contribution in https://github.com/mitsuru/redact-ner-ruby/pull/1
18
+
19
+ **Full Changelog**: https://github.com/mitsuru/redact-ner-ruby/compare/v0.1.1...v0.1.2
20
+
21
+
10
22
  ## [0.1.1] - 2026-05-17
11
23
 
12
24
  ### Changed
@@ -40,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
40
52
  - The precompiled musl gems (Alpine / distroless) link `libstdc++`
41
53
  dynamically; install it at runtime, e.g. `apk add --no-cache libstdc++`.
42
54
 
43
- [Unreleased]: https://github.com/mitsuru/redact-ner-ruby/compare/v0.1.1...HEAD
55
+ [Unreleased]: https://github.com/mitsuru/redact-ner-ruby/compare/v0.1.2...HEAD
44
56
  [0.1.1]: https://github.com/mitsuru/redact-ner-ruby/releases/tag/v0.1.1
45
57
  [0.1.0]: https://github.com/mitsuru/redact-ner-ruby/releases/tag/v0.1.0
58
+ [0.1.2]: https://github.com/mitsuru/redact-ner-ruby/releases/tag/v0.1.2
data/README.md CHANGED
@@ -120,27 +120,21 @@ bin/rake test
120
120
 
121
121
  ## Releasing
122
122
 
123
- For maintainers to cut a new release:
124
-
125
- 1. Update `lib/redact_ner/version.rb` and `CHANGELOG.md`. Commit.
126
- 2. Tag the release: `git tag v$(ruby -Ilib -rredact_ner/version -e 'puts RedactNer::VERSION')`
127
- 3. Push: `git push && git push --tags`
128
- 4. Build and ship the gem:
129
-
130
- ```sh
131
- bin/rake build # produces pkg/redact_ner-X.Y.Z.gem
132
- gem push pkg/redact_ner-*.gem
133
- ```
134
-
135
- The first `gem push` requires a rubygems.org API key (or an OIDC
136
- trusted-publisher setup). Two-factor MFA is required by this gem's
137
- `rubygems_mfa_required` metadata.
138
-
139
- > **Note**: this currently ships a "source" gem only. End users compile
140
- > the Rust extension on `gem install`. Cross-compiled precompiled gems
141
- > (per platform) can be added later via
142
- > [`rb-sys-dock`](https://github.com/oxidize-rb/rb-sys/tree/main/cargo-binstall-rb-sys-dock)
143
- > and `rake-compiler-dock`.
123
+ Releases are automated. To cut a release:
124
+
125
+ 1. Run the **Release Prep** workflow (Actions → Release Prep → Run workflow),
126
+ choosing the `bump` level (`patch`/`minor`/`major`). It bumps
127
+ `lib/redact_ner/version.rb`, rolls `CHANGELOG.md` from GitHub-generated
128
+ notes, opens a **Release PR**, and creates a **draft GitHub Release**.
129
+ 2. Review/edit the Release PR (and the draft Release notes) and **merge** it.
130
+ Merging auto-creates and pushes the `vX.Y.Z` tag.
131
+ 3. The tag triggers the **Release** workflow: it builds the 5 precompiled
132
+ gems + source gem, then the `publish` job waits for approval on the
133
+ `rubygems` GitHub Environment. Approve it to publish to RubyGems and
134
+ un-draft the GitHub Release with the gem assets attached.
135
+
136
+ To abort before publishing, close the Release PR without merging and delete
137
+ the `release/vX.Y.Z` branch and the draft Release.
144
138
 
145
139
  ## License
146
140
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RedactNer
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redact_ner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitsuru Hayasaka
@@ -95,7 +95,7 @@ metadata:
95
95
  source_code_uri: https://github.com/mitsuru/redact-ner-ruby
96
96
  bug_tracker_uri: https://github.com/mitsuru/redact-ner-ruby/issues
97
97
  changelog_uri: https://github.com/mitsuru/redact-ner-ruby/blob/main/CHANGELOG.md
98
- documentation_uri: https://rubydoc.info/gems/redact_ner/0.1.1
98
+ documentation_uri: https://rubydoc.info/gems/redact_ner/0.1.2
99
99
  rubygems_mfa_required: 'true'
100
100
  rdoc_options: []
101
101
  require_paths: