yard-fence 0.9.2 → 0.9.3
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/LICENSE.md +1 -1
- data/README.md +3 -3
- data/lib/yard/fence/version.rb +1 -1
- data/lib/yard/fence.rb +16 -4
- data.tar.gz.sig +0 -0
- metadata +18 -18
- 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: b55af6318c510f7abe9263bef064826f4276cf9d69eb0a586dadca6ab06e94fc
|
|
4
|
+
data.tar.gz: 66044987daef5a56c3792549a2974a044699cb4be3842fefa56209e16f2108a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bea524b8199a91e9e0b9b46d2f76b21ed3a5e73b20c829315ff5291662341c21c737738d91880d11570eb4fb785a6793b43d946cc79929814ceff2824f40af93
|
|
7
|
+
data.tar.gz: e8a7f374e8ee93b621fe89399891d99f3e03ae81481c8c504c120b0e2ab5d739650fa8f6ed55a1afcaa45e8c5d5606d393240fc5d8992c514fb4e27dfbaf5130
|
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.9.3] - 2026-06-09
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.9.3][0.9.3t]
|
|
36
|
+
- COVERAGE: 95.65% -- 198/207 lines in 5 files
|
|
37
|
+
- BRANCH COVERAGE: 83.33% -- 55/66 branches in 5 files
|
|
38
|
+
- 38.30% documented
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- Narrowed `YARD_FENCE_CLEAN_DOCS=true` cleanup to generated YARD HTML/CSS/JS artifacts so checked-in site metadata such as `docs/CNAME` is preserved.
|
|
43
|
+
|
|
33
44
|
## [0.9.2] - 2026-06-03
|
|
34
45
|
|
|
35
46
|
- TAG: [v0.9.2][0.9.2t]
|
|
@@ -234,7 +245,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
234
245
|
|
|
235
246
|
- Initial release
|
|
236
247
|
|
|
237
|
-
[Unreleased]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.
|
|
248
|
+
[Unreleased]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.3...HEAD
|
|
249
|
+
[0.9.3]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.2...v0.9.3
|
|
250
|
+
[0.9.3t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.9.3
|
|
238
251
|
[0.9.2]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.1...v0.9.2
|
|
239
252
|
[0.9.2t]: https://github.com/galtzo-floss/yard-fence/releases/tag/v0.9.2
|
|
240
253
|
[0.9.1]: https://github.com/galtzo-floss/yard-fence/compare/v0.9.0...v0.9.1
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -543,7 +543,7 @@ Thanks for RTFM. ☺️
|
|
|
543
543
|
[📌gitmoji]: https://gitmoji.dev
|
|
544
544
|
[📌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
545
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
546
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
546
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.207-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
547
547
|
[🔐security]: https://github.com/galtzo-floss/yard-fence/blob/main/SECURITY.md
|
|
548
548
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
549
549
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -551,7 +551,7 @@ Thanks for RTFM. ☺️
|
|
|
551
551
|
[📄license-ref]: MIT.md
|
|
552
552
|
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
553
553
|
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
554
|
-
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A
|
|
554
|
+
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
|
555
555
|
|
|
556
556
|
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
|
557
557
|
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
|
|
@@ -571,7 +571,7 @@ Thanks for RTFM. ☺️
|
|
|
571
571
|
| Package | yard-fence |
|
|
572
572
|
| 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
573
|
| Homepage | https://github.com/galtzo-floss/yard-fence |
|
|
574
|
-
| Source | https://github.com/galtzo-floss/yard-fence/tree/v0.9.
|
|
574
|
+
| Source | https://github.com/galtzo-floss/yard-fence/tree/v0.9.2 |
|
|
575
575
|
| License | `MIT` |
|
|
576
576
|
| Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/yard-fence, https://www.buymeacoffee.com/pboling |
|
|
577
577
|
<!-- kettle-jem:metadata:end -->
|
data/lib/yard/fence/version.rb
CHANGED
data/lib/yard/fence.rb
CHANGED
|
@@ -78,6 +78,11 @@ module Yard
|
|
|
78
78
|
BRACED_HTML_FRAGMENT_REGEX = /{([^{}]*<\/?[A-Za-z][^{}]*)}/
|
|
79
79
|
# Lines that are part of a classic indented code block (CommonMark: 4 spaces)
|
|
80
80
|
INDENTED_CODE_LINE = /^ {4,}\S/
|
|
81
|
+
GENERATED_DOC_GLOBS = [
|
|
82
|
+
"**/*.html",
|
|
83
|
+
"css/**/*",
|
|
84
|
+
"js/**/*"
|
|
85
|
+
].freeze
|
|
81
86
|
|
|
82
87
|
class Error < StandardError; end
|
|
83
88
|
# :nocov:
|
|
@@ -294,18 +299,25 @@ module Yard
|
|
|
294
299
|
true
|
|
295
300
|
end
|
|
296
301
|
|
|
297
|
-
# Clear
|
|
302
|
+
# Clear generated docs output files to remove stale YARD artifacts.
|
|
298
303
|
# Only runs when YARD_FENCE_CLEAN_DOCS=true is set.
|
|
299
304
|
# This ensures that if a markdown file is deleted from the project,
|
|
300
|
-
# its corresponding HTML file won't remain in docs
|
|
305
|
+
# its corresponding HTML file won't remain in docs/, while preserving
|
|
306
|
+
# site metadata such as docs/CNAME.
|
|
301
307
|
def clean_docs_directory
|
|
302
308
|
return unless ENV.fetch("YARD_FENCE_CLEAN_DOCS", "false").casecmp?("true")
|
|
303
309
|
|
|
304
310
|
docs = File.join(Dir.pwd, "docs")
|
|
305
311
|
return unless Dir.exist?(docs)
|
|
306
312
|
|
|
307
|
-
|
|
308
|
-
|
|
313
|
+
GENERATED_DOC_GLOBS.each do |pattern|
|
|
314
|
+
Dir.glob(File.join(docs, pattern), File::FNM_DOTMATCH).each do |path|
|
|
315
|
+
next unless File.file?(path)
|
|
316
|
+
|
|
317
|
+
FileUtils.rm_f(path)
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
puts "[yard/fence] Cleared generated docs artifacts (YARD_FENCE_CLEAN_DOCS=true)"
|
|
309
321
|
end
|
|
310
322
|
|
|
311
323
|
# Prepare for YARD documentation generation.
|
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.3
|
|
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.11
|
|
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.11
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: yard
|
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -103,20 +103,20 @@ dependencies:
|
|
|
103
103
|
requirements:
|
|
104
104
|
- - "~>"
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
|
-
version: '2.
|
|
106
|
+
version: '2.2'
|
|
107
107
|
- - ">="
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 2.0
|
|
109
|
+
version: 2.2.0
|
|
110
110
|
type: :development
|
|
111
111
|
prerelease: false
|
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
|
114
114
|
- - "~>"
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '2.
|
|
116
|
+
version: '2.2'
|
|
117
117
|
- - ">="
|
|
118
118
|
- !ruby/object:Gem::Version
|
|
119
|
-
version: 2.0
|
|
119
|
+
version: 2.2.0
|
|
120
120
|
- !ruby/object:Gem::Dependency
|
|
121
121
|
name: bundler-audit
|
|
122
122
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -171,20 +171,20 @@ dependencies:
|
|
|
171
171
|
requirements:
|
|
172
172
|
- - "~>"
|
|
173
173
|
- !ruby/object:Gem::Version
|
|
174
|
-
version: '3.
|
|
174
|
+
version: '3.1'
|
|
175
175
|
- - ">="
|
|
176
176
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: 3.
|
|
177
|
+
version: 3.1.1
|
|
178
178
|
type: :development
|
|
179
179
|
prerelease: false
|
|
180
180
|
version_requirements: !ruby/object:Gem::Requirement
|
|
181
181
|
requirements:
|
|
182
182
|
- - "~>"
|
|
183
183
|
- !ruby/object:Gem::Version
|
|
184
|
-
version: '3.
|
|
184
|
+
version: '3.1'
|
|
185
185
|
- - ">="
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: 3.
|
|
187
|
+
version: 3.1.1
|
|
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.4
|
|
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.4
|
|
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.2
|
|
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.2
|
|
228
228
|
- !ruby/object:Gem::Dependency
|
|
229
229
|
name: ruby-progressbar
|
|
230
230
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -355,10 +355,10 @@ licenses:
|
|
|
355
355
|
- MIT
|
|
356
356
|
metadata:
|
|
357
357
|
homepage_uri: https://structuredmerge.org
|
|
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.
|
|
358
|
+
source_code_uri: https://github.com/galtzo-floss/yard-fence/tree/v0.9.3
|
|
359
|
+
changelog_uri: https://github.com/galtzo-floss/yard-fence/blob/v0.9.3/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.3
|
|
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
|
Binary file
|