yard-fence 0.2.0 → 0.3.0
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 +14 -1
- data/README.md +18 -2
- data/lib/yard/fence/hoist.rb +9 -0
- data/lib/yard/fence/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5baded4374cd088861f834e9979c206e08dac16af4c52fdbf3d28ea1e7ce8c58
|
|
4
|
+
data.tar.gz: bf14fe77229b435e7361883d6dd6128bcff08f58ed8a7742fb88eb9223148a2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c10875a2282e3e6613bdc39bcf37b5aa3507489a5f94406ded819765e3a9feb3ab1581c8a9a3e9c4b11e22564bafb0c7f137db6f7f038248e4d59827080cbdf
|
|
7
|
+
data.tar.gz: fae576e37e8f9c840bb5e6c772cfdfa7e8eb5e3a065ae9c3deda8d23860595a6827f52f529ae7d12944be2321d4fe0a74753e752505b8b2574a4df49704f1803
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,17 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.3.0] - 2025-11-07
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.3.0][0.3.0t]
|
|
36
|
+
- COVERAGE: 96.43% -- 81/84 lines in 4 files
|
|
37
|
+
- BRANCH COVERAGE: 93.75% -- 15/16 branches in 4 files
|
|
38
|
+
- 29.17% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- yard/fence/hoist.rb: Hoisting the customized GFM kramdown parser
|
|
43
|
+
|
|
33
44
|
## [0.2.0] - 2025-11-07
|
|
34
45
|
|
|
35
46
|
- TAG: [v0.2.0][0.2.0t]
|
|
@@ -51,6 +62,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
51
62
|
|
|
52
63
|
- Initial release
|
|
53
64
|
|
|
54
|
-
[Unreleased]: https://github.com/galtzo-floss/yard-fence/compare/v0.
|
|
65
|
+
[Unreleased]: https://github.com/galtzo-floss/yard-fence/compare/v0.3.0...HEAD
|
|
66
|
+
[0.3.0]: https://github.com/galtzo-floss/yard-fence/compare/v0.2.0...v0.3.0
|
|
67
|
+
[0.3.0t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.3.0
|
|
55
68
|
[0.2.0]: https://github.com/galtzo-floss/yard-fence/compare/v0.1.0...v0.2.0
|
|
56
69
|
[0.2.0t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.2.0
|
data/README.md
CHANGED
|
@@ -56,6 +56,22 @@ Just the important bits:
|
|
|
56
56
|
- Prioritizes Kramdown's GFM parser so tables and fenced code blocks render correctly.
|
|
57
57
|
- After YARD finishes generating HTML, restores fullwidth braces back to normal ASCII braces so code examples are copy‑pastable.
|
|
58
58
|
|
|
59
|
+
Create a `.yardopts` file like this:
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
--plugin fence
|
|
63
|
+
-e yard/fence/hoist.rb
|
|
64
|
+
--readme tmp/README.md
|
|
65
|
+
--markup markdown
|
|
66
|
+
--output docs
|
|
67
|
+
'lib/**/*.rb'
|
|
68
|
+
-
|
|
69
|
+
'tmp/*.md'
|
|
70
|
+
'tmp/*.txt'
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
See the configuration and usage sections for more details.
|
|
74
|
+
|
|
59
75
|
## 💡 Info you can shake a stick at
|
|
60
76
|
|
|
61
77
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
@@ -175,7 +191,7 @@ Recommended .yardopts (noise‑free):
|
|
|
175
191
|
|
|
176
192
|
```text
|
|
177
193
|
--plugin fence
|
|
178
|
-
-e
|
|
194
|
+
-e yard/fence/hoist.rb
|
|
179
195
|
--readme tmp/README.md
|
|
180
196
|
--markup markdown
|
|
181
197
|
--output docs
|
|
@@ -195,7 +211,7 @@ CLI example that would be similar to what is accomplished by the `.yardopts` fro
|
|
|
195
211
|
```bash
|
|
196
212
|
yard doc \
|
|
197
213
|
--plugin fence \
|
|
198
|
-
-e
|
|
214
|
+
-e yard/fence/hoist.rb \
|
|
199
215
|
--readme tmp/README.md \
|
|
200
216
|
lib/**/*.rb - tmp/*.md tmp/*.txt
|
|
201
217
|
```
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
if defined?(Yard::Fence) && Yard::Fence.respond_to?(:use_kramdown_gfm!)
|
|
2
|
+
if Yard::Fence.use_kramdown_gfm!
|
|
3
|
+
puts "[yard/fence/hoist] Kramdown GFM provider registered"
|
|
4
|
+
else
|
|
5
|
+
warn "[yard/fence/hoist] Kramdown GFM provider registration failed"
|
|
6
|
+
end
|
|
7
|
+
else
|
|
8
|
+
warn("[yard/fence/hoist] Yard::Fence.use_kramdown_gfm! not available; skipping")
|
|
9
|
+
end
|
data/lib/yard/fence/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -306,6 +306,7 @@ files:
|
|
|
306
306
|
- SECURITY.md
|
|
307
307
|
- lib/yard-fence.rb
|
|
308
308
|
- lib/yard/fence.rb
|
|
309
|
+
- lib/yard/fence/hoist.rb
|
|
309
310
|
- lib/yard/fence/kramdown_gfm_document.rb
|
|
310
311
|
- lib/yard/fence/version.rb
|
|
311
312
|
- sig/kramdown.rbs
|
|
@@ -315,10 +316,10 @@ licenses:
|
|
|
315
316
|
- MIT
|
|
316
317
|
metadata:
|
|
317
318
|
homepage_uri: https://yard-fence.galtzo.com/
|
|
318
|
-
source_code_uri: https://github.com/galtzo-floss/yard-fence/tree/v0.
|
|
319
|
-
changelog_uri: https://github.com/galtzo-floss/yard-fence/blob/v0.
|
|
319
|
+
source_code_uri: https://github.com/galtzo-floss/yard-fence/tree/v0.3.0
|
|
320
|
+
changelog_uri: https://github.com/galtzo-floss/yard-fence/blob/v0.3.0/CHANGELOG.md
|
|
320
321
|
bug_tracker_uri: https://github.com/galtzo-floss/yard-fence/issues
|
|
321
|
-
documentation_uri: https://www.rubydoc.info/gems/yard-fence/0.
|
|
322
|
+
documentation_uri: https://www.rubydoc.info/gems/yard-fence/0.3.0
|
|
322
323
|
funding_uri: https://github.com/sponsors/pboling
|
|
323
324
|
wiki_uri: https://github.com/galtzo-floss/yard-fence/wiki
|
|
324
325
|
news_uri: https://www.railsbling.com/tags/yard-fence
|
metadata.gz.sig
CHANGED
|
Binary file
|