yard-yaml 0.1.0 → 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: 22b0ebbb95b58991cc23c940303f46f8a1cd8048d867ffb9c8c2b3ccf26e562b
4
- data.tar.gz: c7dabbd1ab0ac84f58a458a8d6e9c3b7cd4575f519050eeaf4b3f65947811e56
3
+ metadata.gz: 17688fbe1cd0c399f12b2d81c53aed6a327711a4b456f450ab18f5f2989e909e
4
+ data.tar.gz: 1aacaff205bcd423920fe19c3530e26c6e9a186b424228d1bf00d64c38c3231f
5
5
  SHA512:
6
- metadata.gz: a50e36c08e761144ccb6f4086ee6ce7d7fabcfb2af071487e37c2eb40f53c5a6507ca3160114af4df15f1a68c27f3ca87f3dbdc276fbabe825f7c6f7aa2c9c47
7
- data.tar.gz: 708adeb7a7f54c5c07fec992c6adc94d7be12e2ddf28e9d73bc0d3bab08293170383420ab2d64fa3062ca3e8a23825f7aaf2aa8933aa316881a569141a734fbe
6
+ metadata.gz: e9f165ee92f04e283bb030b4764ff6cbc3dd48ce28e24cc3b7346977300e09a3385983fc1cb54e4102e7f8632cb041805fa726a6b3305d588ad31c3c35fb080c
7
+ data.tar.gz: b85b2b58d2bf9a33c9afaa63cbb1fc56aab62de626ae25c1789c24a70a810e7b108b0f2495cc9ad76638787b44feb1e5e9e876932b499ae83419bcb57f32c5f7
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,51 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [0.1.2] - 2026-05-27
34
+
35
+ - TAG: [v0.1.2][0.1.2t]
36
+ - COVERAGE: 94.88% -- 519/547 lines in 12 files
37
+ - BRANCH COVERAGE: 83.25% -- 164/197 branches in 12 files
38
+ - 78.38% documented
39
+
40
+ ### Changed
41
+
42
+ - Documented that `yard-yaml` discovers YAML/CFF files through its own globs
43
+ and that listing those files as plain YARD inputs is only needed when users
44
+ intentionally want YARD's raw file-page rendering too.
45
+
46
+ ### Fixed
47
+
48
+ - Converted YAML page filenames now default to source paths instead of YAML
49
+ titles, keeping display titles separate from stable output paths and avoiding
50
+ silent overwrites when titles collide.
51
+ - Expanded plugin, logger, registry, and tag-renderer specs so the test suite
52
+ again satisfies the configured line and branch coverage gates.
53
+ - `--plugin yaml` now activates discovery and emits converted YAML pages after
54
+ YARD finishes generating HTML.
55
+ - `Yard::Yaml::Converter` now adapts to `yaml-converter`'s real in-memory
56
+ Markdown API instead of calling an obsolete positional `convert` signature.
57
+
58
+ ## [0.1.1] - 2026-05-24
59
+
60
+ - TAG: [v0.1.1][0.1.1t]
61
+ - COVERAGE: 92.61% -- 451/487 lines in 12 files
62
+ - BRANCH COVERAGE: 76.88% -- 133/173 branches in 12 files
63
+ - 77.46% documented
64
+
65
+ ### Added
66
+
67
+ - `documentation_local.gemfile` support for sibling-workspace documentation development under `KETTLE_RB_DEV`
68
+ - Added generated CI coverage for `rdoc` `~> 6.11` and `>= 7.0`.
69
+
70
+ ### Changed
71
+
72
+ - Refreshed generated project tooling, CI, and documentation support from the current `kettle-jem` template.
73
+
74
+ ### Fixed
75
+
76
+ - `Yard::Yaml::Converter.from_file` now preserves valid UTF-8 text, scrubs malformed UTF-8 safely in non-strict mode, and rejects binary-ish inputs without raw encoding crashes
77
+
33
78
  ## [0.1.0] - 2025-11-10
34
79
 
35
80
  - TAG: [v0.1.0][0.1.0t]
@@ -43,6 +88,10 @@ Please file a bug if you notice a violation of semantic versioning.
43
88
 
44
89
  ### Security
45
90
 
46
- [Unreleased]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.0...HEAD
91
+ [Unreleased]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.2...HEAD
92
+ [0.1.2]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.1...v0.1.2
93
+ [0.1.2t]: https://github.com/galtzo-floss/yard-yaml/releases/tag/v0.1.2
94
+ [0.1.1]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.0...v0.1.1
95
+ [0.1.1t]: https://github.com/galtzo-floss/yard-yaml/releases/tag/v0.1.1
47
96
  [0.1.0]: https://github.com/galtzo-floss/yard-yaml/compare/ffbe883471d11462dc28675867d852372ea3a481...v0.1.0
48
97
  [0.1.0t]: https://github.com/galtzo-floss/yard-yaml/releases/tag/v0.1.0
data/CITATION.cff CHANGED
@@ -1,19 +1,19 @@
1
1
  cff-version: 1.2.0
2
- title: yard-yaml
2
+ title: "yard-yaml"
3
3
  message: >-
4
4
  If you use this work and you want to cite it,
5
5
  then you can use the metadata from this file.
6
6
  type: software
7
7
  authors:
8
- - given-names: Peter Hurn
9
- family-names: Boling
10
- email: peter@railsbling.com
11
- affiliation: railsbling.com
8
+ - given-names: "Peter H."
9
+ family-names: "Boling"
10
+ email: "floss@galtzo.com"
11
+ affiliation: "galtzo.com"
12
12
  orcid: 'https://orcid.org/0009-0008-8519-441X'
13
13
  identifiers:
14
14
  - type: url
15
15
  value: 'https://github.com/galtzo-floss/yard-yaml'
16
- description: yard-yaml
16
+ description: "yard-yaml"
17
17
  repository-code: 'https://github.com/galtzo-floss/yard-yaml'
18
18
  abstract: >-
19
19
  yard-yaml
data/CONTRIBUTING.md CHANGED
@@ -8,19 +8,27 @@ To submit a patch, please fork the project, create a patch with tests, and send
8
8
 
9
9
  Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] if you make changes.
10
10
 
11
+ ## Developer Certificate of Origin
12
+
13
+ In order to protect users of this project, we require all contributors to comply with the
14
+ [Developer Certificate of Origin](https://developercertificate.org/).
15
+ This ensures that all contributions are properly licensed and attributed.
16
+
11
17
  ## Help out!
12
18
 
13
- Take a look at the `reek` list which is the file called `REEK` and find something to improve.
19
+ Take a look at the open issues and pull requests, or use the gem and find something to improve.
14
20
 
15
21
  Follow these instructions:
16
22
 
17
- 1. Fork the repository
18
- 2. Create a feature branch (`git checkout -b my-new-feature`)
19
- 3. Make some fixes.
20
- 4. Commit changes (`git commit -am 'Added some feature'`)
21
- 5. Push to the branch (`git push origin my-new-feature`)
22
- 6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
23
- 7. Create new Pull Request.
23
+ 1. Join the Discord: [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
24
+ 2. Fork the repository
25
+ 3. Create your feature branch (`git checkout -b my-new-feature`)
26
+ 4. Make some fixes.
27
+ 5. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 6. Push to the branch (`git push origin my-new-feature`)
29
+ 7. Make sure to add tests for it. This is important, so it doesn't break in a future release.
30
+ 8. Create new Pull Request.
31
+ 9. Announce it in the channel for this org in the [Discord][✉️discord-invite]!
24
32
 
25
33
  ## Executables vs Rake tasks
26
34
 
@@ -42,6 +50,22 @@ There are many Rake tasks available as well. You can see them by running:
42
50
  bin/rake -T
43
51
  ```
44
52
 
53
+ ## Code quality checks
54
+
55
+ Run the Reek task when you want a smell check that fails on current findings:
56
+
57
+ ```shell
58
+ bin/rake reek
59
+ ```
60
+
61
+ Refresh the checked-in `REEK` backlog through the rake task, not by redirecting
62
+ the raw `reek` executable output. The rake task uses the project bundle and
63
+ avoids stale generated binstubs shadowing the Reek gem executable:
64
+
65
+ ```shell
66
+ bin/rake reek:update
67
+ ```
68
+
45
69
  ## Environment Variables for Local Development
46
70
 
47
71
  Below are the primary environment variables recognized by stone_checksums (and its integrated tools). Unless otherwise noted, set boolean values to the string "true" to enable.
@@ -52,7 +76,7 @@ General/runtime
52
76
  - CI: When set to true, adjusts default rake tasks toward CI behavior
53
77
 
54
78
  Coverage (kettle-soup-cover / SimpleCov)
55
- - K_SOUP_COV_DO: Enable coverage collection (default: true in .envrc)
79
+ - K_SOUP_COV_DO: Enable coverage collection (default: true in `mise.toml`)
56
80
  - K_SOUP_COV_FORMATTERS: Comma-separated list of formatters (html, xml, rcov, lcov, json, tty)
57
81
  - K_SOUP_COV_MIN_LINE: Minimum line coverage threshold (integer, e.g., 100)
58
82
  - K_SOUP_COV_MIN_BRANCH: Minimum branch coverage threshold (integer, e.g., 100)
@@ -78,35 +102,44 @@ Git hooks and commit message helpers (exe/kettle-commit-msg)
78
102
  - GIT_HOOK_FOOTER_SENTINEL: Required when footer append is enabled — a unique first-line sentinel to prevent duplicates
79
103
  - GIT_HOOK_FOOTER_APPEND_DEBUG: Extra debug output in the footer template (true/false)
80
104
 
81
- For a quick starting point, this repository’s `.envrc` shows sane defaults, and `.env.local` can override them locally.
105
+ For a quick starting point, this repository’s `mise.toml` defines the shared defaults, and `.env.local` can override them locally. Copy `.env.local.example` to `.env.local`, use `KEY=value` lines, and either activate `mise` in your shell or run commands through `mise exec -C /path/to/project -- ...`.
82
106
 
83
107
  ## Appraisals
84
108
 
85
109
  From time to time the [appraisal2][🚎appraisal2] gemfiles in `gemfiles/` will need to be updated.
110
+ Generated appraisal and CI workflow floors are controlled by `ruby.test_minimum`
111
+ in `.kettle-jem.yml`; this project was templated with `ruby.test_minimum: 3.2.0`.
112
+ That value describes the lowest Ruby version expected to run the test/development
113
+ toolchain, and it may be higher than the gemspec runtime floor.
114
+
86
115
  They are created and updated with the commands:
87
116
 
88
117
  ```console
89
118
  bin/rake appraisal:update
90
119
  ```
91
120
 
92
- When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
121
+ If you need to reset all gemfiles/*.gemfile.lock files:
122
+
123
+ ```console
124
+ bin/rake appraisal:reset
125
+ ```
93
126
 
94
- ## The Reek List
127
+ When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
95
128
 
96
- Take a look at the `reek` list which is the file called `REEK` and find something to improve.
129
+ ## Run Tests
97
130
 
98
- To refresh the `reek` list:
131
+ Run tests via `kettle-test` (provided by `kettle-test`). It runs RSpec, writes the full log to
132
+ `tmp/kettle-test/rspec-TIMESTAMP.log`, and prints a compact highlight block with timing, seed,
133
+ pass/fail count, failing example list, and SimpleCov coverage percentages.
99
134
 
100
135
  ```console
101
- bundle exec reek > REEK
136
+ bundle exec kettle-test
102
137
  ```
103
138
 
104
- ## Run Tests
105
-
106
- To run all tests
139
+ For targeted runs, disable the hard coverage threshold to avoid false failures:
107
140
 
108
141
  ```console
109
- bundle exec rake test
142
+ K_SOUP_COV_MIN_HARD=false bundle exec kettle-test spec/path/to/spec.rb
110
143
  ```
111
144
 
112
145
  ### Spec organization (required)
@@ -177,33 +210,34 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
177
210
  1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
178
211
  2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
179
212
  3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
180
- 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
181
- 5. Run `git push` to trigger the final CI pipeline before release, and merge PRs
213
+ 4. Run `bin/rake yard` to regenerate the docs site using the canonical docs task
214
+ 5. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
215
+ 6. Run `git push` to trigger the final CI pipeline before release, and merge PRs
182
216
  - NOTE: Remember to [check the build][🧪build].
183
- 6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
184
- 7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
185
- 8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
186
- 9. Optional for older Bundler (< 2.7.0): Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use the same timestamp and generate the same checksums
217
+ 7. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
218
+ 8. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
219
+ 9. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
220
+ 10. Optional for older Bundler (< 2.7.0): Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use the same timestamp and generate the same checksums
187
221
  - If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
188
222
  - Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
189
223
  - If the echo above has no output, then it didn't work.
190
224
  - Note: `zsh/datetime` module is needed, if running `zsh`.
191
225
  - In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
192
- 10. Run `bundle exec rake build`
193
- 11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
226
+ 11. Run `bundle exec rake build`
227
+ 12. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
194
228
  to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
195
229
  [gem][💎stone_checksums].
196
230
  - The script automatically commits but does not push the checksums
197
- 12. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
231
+ 13. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
198
232
  - `sha256sum pkg/<gem name>-<version>.gem`
199
- 13. Run `bundle exec rake release` which will create a git tag for the version,
233
+ 14. Run `bundle exec rake release` which will create a git tag for the version,
200
234
  push git commits and tags, and push the `.gem` file to the gem host configured in the gemspec.
201
235
 
202
- [📜src-gl]: https://gitlab.com/galtzo-floss/yard-yaml/
236
+ [📜src-gl]: https://gitlab.com/galtzo-floss/yard-yaml
203
237
  [📜src-cb]: https://codeberg.org/galtzo-floss/yard-yaml
204
238
  [📜src-gh]: https://github.com/galtzo-floss/yard-yaml
205
239
  [🧪build]: https://github.com/galtzo-floss/yard-yaml/actions
206
- [🤝conduct]: https://gitlab.com/galtzo-floss/yard-yaml/-/blob/main/CODE_OF_CONDUCT.md
240
+ [🤝conduct]: https://github.com/galtzo-floss/yard-yaml/blob/main/CODE_OF_CONDUCT.md
207
241
  [🖐contrib-rocks]: https://contrib.rocks
208
242
  [🖐contributors]: https://github.com/galtzo-floss/yard-yaml/graphs/contributors
209
243
  [🚎contributors-gl]: https://gitlab.com/galtzo-floss/yard-yaml/-/graphs/main
@@ -219,3 +253,4 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
219
253
  [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
220
254
  [🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
221
255
  [🏃‍♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
256
+ [✉️discord-invite]: https://discord.gg/3qme4XHNKN
data/FUNDING.md CHANGED
@@ -19,7 +19,7 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
19
19
  [🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
20
20
  [🖇polar]: https://polar.sh/pboling
21
21
  [🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
22
- [🖇kofi]: https://ko-fi.com/O5O86SNP4
22
+ [🖇kofi]: https://ko-fi.com/pboling
23
23
  [🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
24
24
  [🖇patreon]: https://patreon.com/galtzo
25
25
  [🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
data/LICENSE.md ADDED
@@ -0,0 +1,11 @@
1
+ # License
2
+
3
+ This project is made available under the following license.
4
+ Choose the option that best fits your use case:
5
+
6
+ - [MIT](MIT.md)
7
+
8
+ ## Copyright Notice
9
+
10
+ Copyright (c) 2025 Annibelle Boling
11
+ Copyright (c) 2025-2026 Peter H. Boling