yard-fence 0.9.3 → 0.9.5
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +43 -1
- data/CONTRIBUTING.md +2 -2
- data/FUNDING.md +1 -5
- data/README.md +35 -19
- data/lib/yard/fence/version.rb +1 -1
- data/lib/yard/fence.rb +10 -10
- data/lib/yard-fence.rb +1 -1
- data/sig/yard/fence.rbs +0 -2
- data.tar.gz.sig +0 -0
- metadata +17 -17
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a24b507c06f5587ba85f21adfbc61dadd1ce9b6c5eda29f885e040a53bcf859
|
|
4
|
+
data.tar.gz: 8640f0b9fbb801d1d3b4f86b9652e66c7cdf781f55c8942d7909d760846666bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6b5ca581ad98fc38fbc220d734dab811d25622465c5cc4d51ec8267374080fe775572578d40a23767dda66bb013df6d6cb2916ab2606a4583fa6e2286808b58
|
|
7
|
+
data.tar.gz: 5a4fce99f32b87ac30302977430f0e7673dd6ab39d3f697fe2671f8cf3eff074d9bb6704865a7d20079e62f8d14cd366667a57173addb9e4e607d8a5593e3878
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,44 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.9.5] - 2026-06-22
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.9.5][0.9.5t]
|
|
36
|
+
- COVERAGE: 90.83% -- 198/218 lines in 6 files
|
|
37
|
+
- BRANCH COVERAGE: 71.79% -- 56/78 branches in 6 files
|
|
38
|
+
- 38.30% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- Corrected RubyGems homepage metadata to point at the gem documentation site.
|
|
51
|
+
|
|
52
|
+
- Avoided a circular require warning when YARD's plugin loader requires
|
|
53
|
+
`yard-fence` while `yard/fence` is already loading.
|
|
54
|
+
|
|
55
|
+
## [0.9.4] - 2026-06-14
|
|
56
|
+
|
|
57
|
+
- TAG: [v0.9.4][0.9.4t]
|
|
58
|
+
- COVERAGE: 95.65% -- 198/207 lines in 5 files
|
|
59
|
+
- BRANCH COVERAGE: 83.33% -- 55/66 branches in 5 files
|
|
60
|
+
- 38.30% documented
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
|
|
64
|
+
- Retemplated project metadata, workflow pins, and dependency floors with the
|
|
65
|
+
latest `kettle-jem` template, including resilient templating bootstrap updates.
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
|
|
69
|
+
- Restored `docs/CNAME` so the generated documentation site keeps its custom domain.
|
|
70
|
+
|
|
33
71
|
## [0.9.3] - 2026-06-09
|
|
34
72
|
|
|
35
73
|
- TAG: [v0.9.3][0.9.3t]
|
|
@@ -245,7 +283,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
245
283
|
|
|
246
284
|
- Initial release
|
|
247
285
|
|
|
248
|
-
[Unreleased]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.
|
|
286
|
+
[Unreleased]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.5...HEAD
|
|
287
|
+
[0.9.5]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.4...v0.9.5
|
|
288
|
+
[0.9.5t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.9.5
|
|
289
|
+
[0.9.4]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.3...v0.9.4
|
|
290
|
+
[0.9.4t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.9.4
|
|
249
291
|
[0.9.3]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.2...v0.9.3
|
|
250
292
|
[0.9.3t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.9.3
|
|
251
293
|
[0.9.2]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.1...v0.9.2
|
data/CONTRIBUTING.md
CHANGED
|
@@ -109,14 +109,14 @@ Git diff driver setup
|
|
|
109
109
|
- Git hosting forges generally ignore external diff drivers, so pull request views may still show raw textual diffs even when local `git diff` uses semantic drivers.
|
|
110
110
|
|
|
111
111
|
```console
|
|
112
|
-
K_JEM_TEMPLATING=true
|
|
112
|
+
K_JEM_TEMPLATING=true kettle-jem install
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
Troubleshooting Git diffs
|
|
116
116
|
- Use `git diff --no-ext-diff` to compare against Git's built-in diff output.
|
|
117
117
|
- Use `git diff --no-textconv` when a textconv projection obscures the raw file bytes you need to inspect.
|
|
118
118
|
- If Git reports a missing `smorg-*` executable, rerun `bundle install` and the setup command above, then check `git config --local --get-regexp '^diff\.smorg-'`.
|
|
119
|
-
- To remove managed local entries, run `K_JEM_TEMPLATING=true
|
|
119
|
+
- To remove managed local entries, run `K_JEM_TEMPLATING=true kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
|
|
120
120
|
|
|
121
121
|
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 -- ...`.
|
|
122
122
|
|
data/FUNDING.md
CHANGED
|
@@ -6,7 +6,7 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
6
6
|
|
|
7
7
|
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal]
|
|
8
8
|
|
|
9
|
-
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
9
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
10
10
|
|
|
11
11
|
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
12
12
|
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
@@ -16,12 +16,8 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
16
16
|
[🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
|
|
17
17
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
18
18
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
19
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
|
20
|
-
[🖇polar]: https://polar.sh/pboling
|
|
21
19
|
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
22
20
|
[🖇kofi]: https://ko-fi.com/pboling
|
|
23
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
|
24
|
-
[🖇patreon]: https://patreon.com/galtzo
|
|
25
21
|
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
26
22
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
27
23
|
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
data/README.md
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
|
|
12
12
|
|
|
13
|
-
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
13
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
14
14
|
|
|
15
|
-
<details>
|
|
15
|
+
<details markdown="1">
|
|
16
16
|
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
17
17
|
|
|
18
18
|
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
@@ -53,9 +53,9 @@ See the configuration and usage sections for more details.
|
|
|
53
53
|
|
|
54
54
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
55
55
|
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
56
|
-
| Works with JRuby | [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
57
|
-
| Works with Truffle Ruby | [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
58
|
-
| Works with MRI Ruby 4 | [![Ruby
|
|
56
|
+
| Works with JRuby | [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
57
|
+
| Works with Truffle Ruby | [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf]|
|
|
58
|
+
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
59
59
|
| Works with MRI Ruby 3 | [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
60
60
|
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
61
61
|
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
@@ -73,9 +73,25 @@ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
|
73
73
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
74
74
|
not practical for the current toolchain.
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
77
|
+
|
|
78
|
+
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
79
|
+
|
|
80
|
+
<details markdown="1">
|
|
81
|
+
<summary>How kettle-dev manages complexity in tests</summary>
|
|
82
|
+
|
|
83
|
+
| Gem | Source | Role | Daily download rank |
|
|
84
|
+
|-----|--------|------|---------------------|
|
|
85
|
+
| [appraisal2](https://bestgems.org/gems/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://bestgems.org/gems/appraisal2) |
|
|
86
|
+
| [appraisal2-rubocop](https://bestgems.org/gems/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://bestgems.org/gems/appraisal2-rubocop) |
|
|
87
|
+
| [kettle-dev](https://bestgems.org/gems/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://bestgems.org/gems/kettle-dev) |
|
|
88
|
+
| [kettle-jem](https://bestgems.org/gems/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://bestgems.org/gems/kettle-jem) |
|
|
89
|
+
| [kettle-soup-cover](https://bestgems.org/gems/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://bestgems.org/gems/kettle-soup-cover) |
|
|
90
|
+
| [kettle-test](https://bestgems.org/gems/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://bestgems.org/gems/kettle-test) |
|
|
91
|
+
| [rubocop-lts](https://bestgems.org/gems/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://bestgems.org/gems/rubocop-lts) |
|
|
92
|
+
| [turbo_tests2](https://bestgems.org/gems/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://bestgems.org/gems/turbo_tests2) |
|
|
93
|
+
|
|
94
|
+
</details>
|
|
79
95
|
|
|
80
96
|
### Federated DVCS
|
|
81
97
|
|
|
@@ -245,7 +261,7 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
|
|
|
245
261
|
No sponsors yet. Be the first!
|
|
246
262
|
<!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
|
|
247
263
|
|
|
248
|
-
[kettle-readme-backers]: https://github.com/galtzo-floss/yard-fence/blob/main/
|
|
264
|
+
[kettle-readme-backers]: https://github.com/galtzo-floss/yard-fence/blob/main/bin/kettle-readme-backers
|
|
249
265
|
|
|
250
266
|
### Another way to support open-source
|
|
251
267
|
|
|
@@ -257,7 +273,7 @@ I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed
|
|
|
257
273
|
|
|
258
274
|
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
|
259
275
|
|
|
260
|
-
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
276
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
261
277
|
|
|
262
278
|
## 🔐 Security
|
|
263
279
|
|
|
@@ -303,7 +319,7 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
303
319
|
|
|
304
320
|
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/yard-fence/-/graphs/main][🚎contributors-gl]
|
|
305
321
|
|
|
306
|
-
<details>
|
|
322
|
+
<details markdown="1">
|
|
307
323
|
<summary>⭐️ Star History</summary>
|
|
308
324
|
|
|
309
325
|
<a href="https://star-history.com/galtzo-floss/yard-fence&Date">
|
|
@@ -398,12 +414,8 @@ Thanks for RTFM. ☺️
|
|
|
398
414
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
399
415
|
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
|
400
416
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
401
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
|
402
|
-
[🖇polar]: https://polar.sh/pboling
|
|
403
417
|
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
404
418
|
[🖇kofi]: https://ko-fi.com/pboling
|
|
405
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
|
406
|
-
[🖇patreon]: https://patreon.com/galtzo
|
|
407
419
|
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
408
420
|
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
|
409
421
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
@@ -484,8 +496,10 @@ Thanks for RTFM. ☺️
|
|
|
484
496
|
[🚎ruby-3.2-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/ruby-3.2.yml
|
|
485
497
|
[🚎ruby-3.3-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/ruby-3.3.yml
|
|
486
498
|
[🚎ruby-3.4-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/ruby-3.4.yml
|
|
499
|
+
[🚎jruby-10.0-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/jruby-10.0.yml
|
|
487
500
|
[🚎truby-24.2-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/truffleruby-24.2.yml
|
|
488
501
|
[🚎truby-25.0-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/truffleruby-25.0.yml
|
|
502
|
+
[🚎truby-33.0-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/truffleruby-33.0.yml
|
|
489
503
|
[🚎2-cov-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/coverage.yml
|
|
490
504
|
[🚎2-cov-wfi]: https://github.com/galtzo-floss/yard-fence/actions/workflows/coverage.yml/badge.svg
|
|
491
505
|
[🚎3-hd-wf]: https://github.com/galtzo-floss/yard-fence/actions/workflows/heads.yml
|
|
@@ -509,12 +523,14 @@ Thanks for RTFM. ☺️
|
|
|
509
523
|
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
510
524
|
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
511
525
|
[💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
512
|
-
[💎ruby-4.0i]: https://img.shields.io/badge/Ruby-4.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
513
526
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
514
527
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
515
528
|
[💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
516
529
|
[💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
530
|
+
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
517
531
|
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
532
|
+
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
|
533
|
+
[💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
518
534
|
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
519
535
|
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
520
536
|
[🤝gh-issues]: https://github.com/galtzo-floss/yard-fence/issues
|
|
@@ -543,7 +559,7 @@ Thanks for RTFM. ☺️
|
|
|
543
559
|
[📌gitmoji]: https://gitmoji.dev
|
|
544
560
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
545
561
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
546
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
562
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.218-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
547
563
|
[🔐security]: https://github.com/galtzo-floss/yard-fence/blob/main/SECURITY.md
|
|
548
564
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
549
565
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -571,7 +587,7 @@ Thanks for RTFM. ☺️
|
|
|
571
587
|
| Package | yard-fence |
|
|
572
588
|
| Description | 🍲 Convert ASCII braces ('{}') to full-width braces ('{}') within code fences (triple-or-single backticks) during YARD processing, and back to ASCII braces afterward |
|
|
573
589
|
| Homepage | https://github.com/galtzo-floss/yard-fence |
|
|
574
|
-
| Source | https://github.com/galtzo-floss/yard-fence
|
|
590
|
+
| Source | https://github.com/galtzo-floss/yard-fence |
|
|
575
591
|
| License | `MIT` |
|
|
576
|
-
| Funding | https://github.com/sponsors/pboling, https://
|
|
592
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/yard-fence, https://www.buymeacoffee.com/pboling |
|
|
577
593
|
<!-- kettle-jem:metadata:end -->
|
data/lib/yard/fence/version.rb
CHANGED
data/lib/yard/fence.rb
CHANGED
|
@@ -44,7 +44,7 @@ require "version_gem"
|
|
|
44
44
|
# includes gem files
|
|
45
45
|
require_relative "fence/version"
|
|
46
46
|
|
|
47
|
-
# :
|
|
47
|
+
# simplecov:disable
|
|
48
48
|
begin
|
|
49
49
|
require_relative "fence/kramdown_gfm_document"
|
|
50
50
|
# Not covering, because kramdown support is tested, so this rescue is not hit in test runs.
|
|
@@ -56,7 +56,7 @@ rescue LoadError => error
|
|
|
56
56
|
raise error
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
|
-
# :
|
|
59
|
+
# simplecov:enable
|
|
60
60
|
module Yard
|
|
61
61
|
module Fence
|
|
62
62
|
ASCII_BRACES = "{}"
|
|
@@ -85,10 +85,10 @@ module Yard
|
|
|
85
85
|
].freeze
|
|
86
86
|
|
|
87
87
|
class Error < StandardError; end
|
|
88
|
-
# :
|
|
88
|
+
# simplecov:disable
|
|
89
89
|
# This is a runtime sanity check to ensure our fullwidth braces differ from ASCII braces.
|
|
90
90
|
raise Error, "ASCII braces are not the same as Unicode Fullwidth braces" if ASCII_BRACES == FULLWIDTH_BRACES
|
|
91
|
-
# :
|
|
91
|
+
# simplecov:enable
|
|
92
92
|
|
|
93
93
|
module_function
|
|
94
94
|
|
|
@@ -222,9 +222,9 @@ module Yard
|
|
|
222
222
|
|
|
223
223
|
def postprocess_html_docs
|
|
224
224
|
if ENV.fetch("YARD_FENCE_DISABLE", "false").casecmp?("true")
|
|
225
|
-
# :
|
|
225
|
+
# simplecov:disable
|
|
226
226
|
warn("[yard/fence] postprocess_html_docs disabled via YARD_FENCE_DISABLE")
|
|
227
|
-
# :
|
|
227
|
+
# simplecov:enable
|
|
228
228
|
else
|
|
229
229
|
docs = File.join(Dir.pwd, "docs")
|
|
230
230
|
return unless Dir.exist?(docs)
|
|
@@ -243,12 +243,12 @@ module Yard
|
|
|
243
243
|
# require warnings when YARD is in the middle of loading itself. Call this
|
|
244
244
|
# from a file loaded via .yardopts (e.g. `-e 'require "yard/fence/kramdown_gfm"; Yard::Fence.use_kramdown_gfm!'`).
|
|
245
245
|
def use_kramdown_gfm!
|
|
246
|
-
# :
|
|
246
|
+
# simplecov:disable
|
|
247
247
|
# Not covering, because kramdown support is tested, so this rescue is not hit in test runs.
|
|
248
248
|
unless defined?(Yard::Fence::KramdownGfmDocument)
|
|
249
249
|
raise Error, "Yard::Fence: Kramdown GFM provider not loaded. Add kramdown and kramdown-parser-gfm to your Gemfile."
|
|
250
250
|
end
|
|
251
|
-
# :
|
|
251
|
+
# simplecov:enable
|
|
252
252
|
providers = ::YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS[:markdown]
|
|
253
253
|
# NOTE: Intentionally using String for :const in KRAMDOWN_PROVIDER.
|
|
254
254
|
# YARD performs string concatenation with this value (e.g., "::" + const).
|
|
@@ -325,9 +325,9 @@ module Yard
|
|
|
325
325
|
# It cleans the docs directory (if YARD_FENCE_CLEAN_DOCS=true) and prepares tmp files.
|
|
326
326
|
def prepare_for_yard
|
|
327
327
|
if ENV.fetch("YARD_FENCE_DISABLE", "false").casecmp?("true")
|
|
328
|
-
# :
|
|
328
|
+
# simplecov:disable
|
|
329
329
|
warn("[yard/fence] prepare_for_yard disabled via YARD_FENCE_DISABLE")
|
|
330
|
-
# :
|
|
330
|
+
# simplecov:enable
|
|
331
331
|
else
|
|
332
332
|
Yard::Fence.clean_docs_directory
|
|
333
333
|
Yard::Fence.prepare_tmp_files
|
data/lib/yard-fence.rb
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
# YARD plugin loader for `--plugin fence`.
|
|
4
4
|
# YARD tries requiring several patterns; providing `yard-fence` ensures
|
|
5
5
|
# it can be loaded regardless of whether YARD attempts `yard-fence` or `yard/fence`.
|
|
6
|
-
require_relative "yard/fence"
|
|
6
|
+
require_relative "yard/fence" unless defined?(::Yard::Fence)
|
data/sig/yard/fence.rbs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
module Yard
|
|
2
2
|
module Fence
|
|
3
3
|
# Constants (refined literal types where possible)
|
|
4
|
-
VERSION: String
|
|
5
4
|
ASCII_BRACES: "{}"
|
|
6
5
|
FULLWIDTH_BRACES: "{}"
|
|
7
6
|
RAKE_INTEGRATIONS: ::Hash[String, bool]
|
|
@@ -54,7 +53,6 @@ module Yard
|
|
|
54
53
|
def __reset_rake_integrations__: () -> nil
|
|
55
54
|
|
|
56
55
|
module Version
|
|
57
|
-
VERSION: String
|
|
58
56
|
end
|
|
59
57
|
|
|
60
58
|
class KramdownGfmDocument < ::Kramdown::Document
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yard-fence
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
version: '1.1'
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 1.1.
|
|
69
|
+
version: 1.1.13
|
|
70
70
|
type: :runtime
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -76,7 +76,7 @@ dependencies:
|
|
|
76
76
|
version: '1.1'
|
|
77
77
|
- - ">="
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
|
-
version: 1.1.
|
|
79
|
+
version: 1.1.13
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: yard
|
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -106,7 +106,7 @@ dependencies:
|
|
|
106
106
|
version: '2.2'
|
|
107
107
|
- - ">="
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 2.2.
|
|
109
|
+
version: 2.2.15
|
|
110
110
|
type: :development
|
|
111
111
|
prerelease: false
|
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -116,7 +116,7 @@ dependencies:
|
|
|
116
116
|
version: '2.2'
|
|
117
117
|
- - ">="
|
|
118
118
|
- !ruby/object:Gem::Version
|
|
119
|
-
version: 2.2.
|
|
119
|
+
version: 2.2.15
|
|
120
120
|
- !ruby/object:Gem::Dependency
|
|
121
121
|
name: bundler-audit
|
|
122
122
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -174,7 +174,7 @@ dependencies:
|
|
|
174
174
|
version: '3.1'
|
|
175
175
|
- - ">="
|
|
176
176
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: 3.1.
|
|
177
|
+
version: 3.1.2
|
|
178
178
|
type: :development
|
|
179
179
|
prerelease: false
|
|
180
180
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -184,7 +184,7 @@ dependencies:
|
|
|
184
184
|
version: '3.1'
|
|
185
185
|
- - ">="
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: 3.1.
|
|
187
|
+
version: 3.1.2
|
|
188
188
|
- !ruby/object:Gem::Dependency
|
|
189
189
|
name: kettle-test
|
|
190
190
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -194,7 +194,7 @@ dependencies:
|
|
|
194
194
|
version: '2.0'
|
|
195
195
|
- - ">="
|
|
196
196
|
- !ruby/object:Gem::Version
|
|
197
|
-
version: 2.0.
|
|
197
|
+
version: 2.0.6
|
|
198
198
|
type: :development
|
|
199
199
|
prerelease: false
|
|
200
200
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -204,7 +204,7 @@ dependencies:
|
|
|
204
204
|
version: '2.0'
|
|
205
205
|
- - ">="
|
|
206
206
|
- !ruby/object:Gem::Version
|
|
207
|
-
version: 2.0.
|
|
207
|
+
version: 2.0.6
|
|
208
208
|
- !ruby/object:Gem::Dependency
|
|
209
209
|
name: turbo_tests2
|
|
210
210
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -214,7 +214,7 @@ dependencies:
|
|
|
214
214
|
version: '3.1'
|
|
215
215
|
- - ">="
|
|
216
216
|
- !ruby/object:Gem::Version
|
|
217
|
-
version: 3.1.
|
|
217
|
+
version: 3.1.4
|
|
218
218
|
type: :development
|
|
219
219
|
prerelease: false
|
|
220
220
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -224,7 +224,7 @@ dependencies:
|
|
|
224
224
|
version: '3.1'
|
|
225
225
|
- - ">="
|
|
226
226
|
- !ruby/object:Gem::Version
|
|
227
|
-
version: 3.1.
|
|
227
|
+
version: 3.1.4
|
|
228
228
|
- !ruby/object:Gem::Dependency
|
|
229
229
|
name: ruby-progressbar
|
|
230
230
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -268,7 +268,7 @@ dependencies:
|
|
|
268
268
|
version: '2.0'
|
|
269
269
|
- - ">="
|
|
270
270
|
- !ruby/object:Gem::Version
|
|
271
|
-
version: 2.0.
|
|
271
|
+
version: 2.0.3
|
|
272
272
|
type: :development
|
|
273
273
|
prerelease: false
|
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -278,7 +278,7 @@ dependencies:
|
|
|
278
278
|
version: '2.0'
|
|
279
279
|
- - ">="
|
|
280
280
|
- !ruby/object:Gem::Version
|
|
281
|
-
version: 2.0.
|
|
281
|
+
version: 2.0.3
|
|
282
282
|
- !ruby/object:Gem::Dependency
|
|
283
283
|
name: kramdown
|
|
284
284
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -354,11 +354,11 @@ homepage: https://github.com/galtzo-floss/yard-fence
|
|
|
354
354
|
licenses:
|
|
355
355
|
- MIT
|
|
356
356
|
metadata:
|
|
357
|
-
homepage_uri: https://
|
|
358
|
-
source_code_uri: https://github.com/galtzo-floss/yard-fence/tree/v0.9.
|
|
359
|
-
changelog_uri: https://github.com/galtzo-floss/yard-fence/blob/v0.9.
|
|
357
|
+
homepage_uri: https://yard-fence.galtzo.com
|
|
358
|
+
source_code_uri: https://github.com/galtzo-floss/yard-fence/tree/v0.9.5
|
|
359
|
+
changelog_uri: https://github.com/galtzo-floss/yard-fence/blob/v0.9.5/CHANGELOG.md
|
|
360
360
|
bug_tracker_uri: https://github.com/galtzo-floss/yard-fence/issues
|
|
361
|
-
documentation_uri: https://www.rubydoc.info/gems/yard-fence/0.9.
|
|
361
|
+
documentation_uri: https://www.rubydoc.info/gems/yard-fence/0.9.5
|
|
362
362
|
funding_uri: https://github.com/sponsors/pboling
|
|
363
363
|
wiki_uri: https://github.com/galtzo-floss/yard-fence/wiki
|
|
364
364
|
news_uri: https://www.railsbling.com/tags/yard-fence
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
��!,B�L����z�g����ƶ���=W�u1f�w����ޭ ����%����Hr`6H�,���r0:A�����s`��u���s�4�]m�(x�L�賰o����;@�ʇ�/�N�U�����!�v~����@؉���p�=��ӯ��@�3d��xX7�%{a���,
|
|
2
|
+
Kŕ���42>�x�ĥ?0�pAAJJk�Cʿ^E�os��>d�f/�R��*�q>��鮐֊��}��u����X�; h�H��7�u:U#λ��`w&y�
|