yard-yaml 0.1.0 → 0.1.1

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: 941c0f1eef9b37df0f03381ee57e3305ce1b228867441c389b65f41858035c6f
4
+ data.tar.gz: c99c1ea4059063c4caf15b4912b7c29e93dab3005af4089ee3ee26656636974c
5
5
  SHA512:
6
- metadata.gz: a50e36c08e761144ccb6f4086ee6ce7d7fabcfb2af071487e37c2eb40f53c5a6507ca3160114af4df15f1a68c27f3ca87f3dbdc276fbabe825f7c6f7aa2c9c47
7
- data.tar.gz: 708adeb7a7f54c5c07fec992c6adc94d7be12e2ddf28e9d73bc0d3bab08293170383420ab2d64fa3062ca3e8a23825f7aaf2aa8933aa316881a569141a734fbe
6
+ metadata.gz: 422a7cacf2815a119244d6527ad34784f56cb85b16f5bfbdc87cb5c88f3b62e1db26ca65bb3713f2e92b819855e1e4a857a65faff5260c7599c9f7e976fc0450
7
+ data.tar.gz: 990ba0b4369b92ac84a4c17c0b5c08051a3626c1f7a4346b026880e410253bad4e8a8f285b699b91d3d00284087d389985c278ae71a009c290130e84cc5e9eff
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,26 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [0.1.1] - 2026-05-24
34
+
35
+ - TAG: [v0.1.1][0.1.1t]
36
+ - COVERAGE: 92.61% -- 451/487 lines in 12 files
37
+ - BRANCH COVERAGE: 76.88% -- 133/173 branches in 12 files
38
+ - 77.46% documented
39
+
40
+ ### Added
41
+
42
+ - `documentation_local.gemfile` support for sibling-workspace documentation development under `KETTLE_RB_DEV`
43
+ - Added generated CI coverage for `rdoc` `~> 6.11` and `>= 7.0`.
44
+
45
+ ### Changed
46
+
47
+ - Refreshed generated project tooling, CI, and documentation support from the current `kettle-jem` template.
48
+
49
+ ### Fixed
50
+
51
+ - `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
52
+
33
53
  ## [0.1.0] - 2025-11-10
34
54
 
35
55
  - TAG: [v0.1.0][0.1.0t]
@@ -43,6 +63,8 @@ Please file a bug if you notice a violation of semantic versioning.
43
63
 
44
64
  ### Security
45
65
 
46
- [Unreleased]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.0...HEAD
66
+ [Unreleased]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.1...HEAD
67
+ [0.1.1]: https://github.com/galtzo-floss/yard-yaml/compare/v0.1.0...v0.1.1
68
+ [0.1.1t]: https://github.com/galtzo-floss/yard-yaml/releases/tag/v0.1.1
47
69
  [0.1.0]: https://github.com/galtzo-floss/yard-yaml/compare/ffbe883471d11462dc28675867d852372ea3a481...v0.1.0
48
70
  [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
 
@@ -52,7 +60,7 @@ General/runtime
52
60
  - CI: When set to true, adjusts default rake tasks toward CI behavior
53
61
 
54
62
  Coverage (kettle-soup-cover / SimpleCov)
55
- - K_SOUP_COV_DO: Enable coverage collection (default: true in .envrc)
63
+ - K_SOUP_COV_DO: Enable coverage collection (default: true in `mise.toml`)
56
64
  - K_SOUP_COV_FORMATTERS: Comma-separated list of formatters (html, xml, rcov, lcov, json, tty)
57
65
  - K_SOUP_COV_MIN_LINE: Minimum line coverage threshold (integer, e.g., 100)
58
66
  - K_SOUP_COV_MIN_BRANCH: Minimum branch coverage threshold (integer, e.g., 100)
@@ -78,7 +86,7 @@ Git hooks and commit message helpers (exe/kettle-commit-msg)
78
86
  - GIT_HOOK_FOOTER_SENTINEL: Required when footer append is enabled — a unique first-line sentinel to prevent duplicates
79
87
  - GIT_HOOK_FOOTER_APPEND_DEBUG: Extra debug output in the footer template (true/false)
80
88
 
81
- For a quick starting point, this repository’s `.envrc` shows sane defaults, and `.env.local` can override them locally.
89
+ 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
90
 
83
91
  ## Appraisals
84
92
 
@@ -89,24 +97,28 @@ They are created and updated with the commands:
89
97
  bin/rake appraisal:update
90
98
  ```
91
99
 
92
- When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
100
+ If you need to reset all gemfiles/*.gemfile.lock files:
101
+
102
+ ```console
103
+ bin/rake appraisal:reset
104
+ ```
93
105
 
94
- ## The Reek List
106
+ When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
95
107
 
96
- Take a look at the `reek` list which is the file called `REEK` and find something to improve.
108
+ ## Run Tests
97
109
 
98
- To refresh the `reek` list:
110
+ Run tests via `kettle-test` (provided by `kettle-test`). It runs RSpec, writes the full log to
111
+ `tmp/kettle-test/rspec-TIMESTAMP.log`, and prints a compact highlight block with timing, seed,
112
+ pass/fail count, failing example list, and SimpleCov coverage percentages.
99
113
 
100
114
  ```console
101
- bundle exec reek > REEK
115
+ bundle exec kettle-test
102
116
  ```
103
117
 
104
- ## Run Tests
105
-
106
- To run all tests
118
+ For targeted runs, disable the hard coverage threshold to avoid false failures:
107
119
 
108
120
  ```console
109
- bundle exec rake test
121
+ K_SOUP_COV_MIN_HARD=false bundle exec kettle-test spec/path/to/spec.rb
110
122
  ```
111
123
 
112
124
  ### Spec organization (required)
@@ -177,33 +189,34 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
177
189
  1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
178
190
  2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
179
191
  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
192
+ 4. Run `bin/rake yard` to regenerate the docs site using the canonical docs task
193
+ 5. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
194
+ 6. Run `git push` to trigger the final CI pipeline before release, and merge PRs
182
195
  - 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
196
+ 7. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
197
+ 8. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
198
+ 9. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
199
+ 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
200
  - If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
188
201
  - Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
189
202
  - If the echo above has no output, then it didn't work.
190
203
  - Note: `zsh/datetime` module is needed, if running `zsh`.
191
204
  - 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])
205
+ 11. Run `bundle exec rake build`
206
+ 12. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
194
207
  to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
195
208
  [gem][💎stone_checksums].
196
209
  - 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:
210
+ 13. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
198
211
  - `sha256sum pkg/<gem name>-<version>.gem`
199
- 13. Run `bundle exec rake release` which will create a git tag for the version,
212
+ 14. Run `bundle exec rake release` which will create a git tag for the version,
200
213
  push git commits and tags, and push the `.gem` file to the gem host configured in the gemspec.
201
214
 
202
- [📜src-gl]: https://gitlab.com/galtzo-floss/yard-yaml/
215
+ [📜src-gl]: https://gitlab.com/galtzo-floss/yard-yaml
203
216
  [📜src-cb]: https://codeberg.org/galtzo-floss/yard-yaml
204
217
  [📜src-gh]: https://github.com/galtzo-floss/yard-yaml
205
218
  [🧪build]: https://github.com/galtzo-floss/yard-yaml/actions
206
- [🤝conduct]: https://gitlab.com/galtzo-floss/yard-yaml/-/blob/main/CODE_OF_CONDUCT.md
219
+ [🤝conduct]: https://github.com/galtzo-floss/yard-yaml/blob/main/CODE_OF_CONDUCT.md
207
220
  [🖐contrib-rocks]: https://contrib.rocks
208
221
  [🖐contributors]: https://github.com/galtzo-floss/yard-yaml/graphs/contributors
209
222
  [🚎contributors-gl]: https://gitlab.com/galtzo-floss/yard-yaml/-/graphs/main
@@ -219,3 +232,4 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
219
232
  [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
220
233
  [🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
221
234
  [🏃‍♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
235
+ [✉️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