markdowndocs 0.11.4 → 0.12.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
- data/CHANGELOG.md +33 -0
- data/README.md +1 -1
- data/app/models/markdowndocs/documentation.rb +1 -1
- data/lib/markdowndocs/version.rb +1 -1
- data/mise.toml +1 -1
- metadata +12 -10
- data/.tool-versions +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41a46158462a10ecd9535da9ec2a29896d9482026175a6e692373f8795843dae
|
|
4
|
+
data.tar.gz: 9b1b4a4d5e378bcc619cdebb54a70fd1f067aaff9b2057e67a1003c48985c4f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d601a0a4871b811365f4ea97ff130189fb64cfd311b5a1f977368c69217973988b4571c0d9fd16008250b29a741bc525989ae1b93b8b3dbc9b4e22365d1173da
|
|
7
|
+
data.tar.gz: 766ecc84e968992fd23112f762140440d252a54661434c0708f0ec590371de857caec902b6a32377541dc7b79d003e7ac5f2ca1aa7b6376c5e0f4ac6954fbd29
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.12.0] - 2026-11-20
|
|
11
|
+
|
|
12
|
+
A security release. Host apps get patched HTML sanitization, and the gem drops
|
|
13
|
+
Ruby 3.2, which no longer receives security fixes. No API changes, but apps
|
|
14
|
+
still on Ruby 3.2 should stay on 0.11.x.
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
- **Ruby 3.2 is no longer supported.** `required_ruby_version` is now
|
|
19
|
+
`>= 3.3.0`. Ruby 3.2 reached end of life in March 2026 and no longer receives
|
|
20
|
+
security fixes. Apps still on 3.2 can stay on markdowndocs 0.11.x until they
|
|
21
|
+
upgrade Ruby.
|
|
22
|
+
|
|
23
|
+
### Security
|
|
24
|
+
|
|
25
|
+
- **markdowndocs now requires rails-html-sanitizer 1.7.2 or later** (was
|
|
26
|
+
`~> 1.6`). The sanitizer is markdowndocs' main defence against unsafe HTML
|
|
27
|
+
in rendered docs, and 1.7.2 fixes a possible XSS through shared scrubber
|
|
28
|
+
state when several threads sanitize at once, which is the normal case under
|
|
29
|
+
a multi-threaded server like Puma. It also requires loofah 2.25.3, so host
|
|
30
|
+
apps pick up loofah's XSS fixes too. Run `bundle update markdowndocs` and
|
|
31
|
+
Bundler will upgrade both.
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- CI now tests Ruby 3.3, 3.4 and 4.0, and the gem is linted and released on
|
|
36
|
+
Ruby 3.4 instead of 3.2.
|
|
37
|
+
- Development dependencies refreshed, including Rails 8.1.4.1 and
|
|
38
|
+
commonmarker 2.10.1. commonmarker 2.10 places the heading anchor after the
|
|
39
|
+
heading text instead of before it; rendered docs pages are unaffected
|
|
40
|
+
because `add_heading_anchors` assigns heading IDs itself and strips the
|
|
41
|
+
empty anchor links.
|
|
42
|
+
|
|
10
43
|
## [0.11.4] - 2026-09-23
|
|
11
44
|
|
|
12
45
|
Two search fixes. Neither changes an API, but the second one asks something of
|
data/README.md
CHANGED
|
@@ -269,7 +269,7 @@ module Markdowndocs
|
|
|
269
269
|
if Array(raw).map(&:to_s).sort == Markdowndocs.config.modes.sort
|
|
270
270
|
"This doc is already declared multi-audience; remove the `audience:` key (root files are visible in every mode)."
|
|
271
271
|
else
|
|
272
|
-
modes = Array(raw).
|
|
272
|
+
modes = Array(raw).join(", ")
|
|
273
273
|
"This doc declares audience: [#{modes}]. Path-based routing supports only a single mode per file; either move the file to a single mode subdirectory or leave the file at root and remove `audience:` (root is shared)."
|
|
274
274
|
end
|
|
275
275
|
else
|
data/lib/markdowndocs/version.rb
CHANGED
data/mise.toml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
[tools]
|
|
2
|
-
ruby = "3.4.
|
|
2
|
+
ruby = "3.4.12"
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: markdowndocs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dave Chmura
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -58,14 +57,20 @@ dependencies:
|
|
|
58
57
|
requirements:
|
|
59
58
|
- - "~>"
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '1.
|
|
60
|
+
version: '1.7'
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: 1.7.2
|
|
62
64
|
type: :runtime
|
|
63
65
|
prerelease: false
|
|
64
66
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
67
|
requirements:
|
|
66
68
|
- - "~>"
|
|
67
69
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '1.
|
|
70
|
+
version: '1.7'
|
|
71
|
+
- - ">="
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: 1.7.2
|
|
69
74
|
description: Mountable Rails engine that renders markdown files as a browsable documentation
|
|
70
75
|
site with syntax highlighting, TOC generation, category grouping, and mode-based
|
|
71
76
|
content filtering.
|
|
@@ -75,7 +80,6 @@ executables: []
|
|
|
75
80
|
extensions: []
|
|
76
81
|
extra_rdoc_files: []
|
|
77
82
|
files:
|
|
78
|
-
- ".tool-versions"
|
|
79
83
|
- CHANGELOG.md
|
|
80
84
|
- README.md
|
|
81
85
|
- Rakefile
|
|
@@ -115,7 +119,6 @@ metadata:
|
|
|
115
119
|
homepage_uri: https://github.com/dschmura/markdowndocs
|
|
116
120
|
source_code_uri: https://github.com/dschmura/markdowndocs
|
|
117
121
|
changelog_uri: https://github.com/dschmura/markdowndocs/blob/main/CHANGELOG.md
|
|
118
|
-
post_install_message:
|
|
119
122
|
rdoc_options: []
|
|
120
123
|
require_paths:
|
|
121
124
|
- lib
|
|
@@ -123,15 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
123
126
|
requirements:
|
|
124
127
|
- - ">="
|
|
125
128
|
- !ruby/object:Gem::Version
|
|
126
|
-
version: 3.
|
|
129
|
+
version: 3.3.0
|
|
127
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
131
|
requirements:
|
|
129
132
|
- - ">="
|
|
130
133
|
- !ruby/object:Gem::Version
|
|
131
134
|
version: '0'
|
|
132
135
|
requirements: []
|
|
133
|
-
rubygems_version: 3.
|
|
134
|
-
signing_key:
|
|
136
|
+
rubygems_version: 3.6.9
|
|
135
137
|
specification_version: 4
|
|
136
138
|
summary: A drop-in markdown documentation site for Rails apps
|
|
137
139
|
test_files: []
|
data/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ruby 3.4.5
|