rails-api-docs 0.1.1 → 0.1.2
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 +16 -0
- data/README.md +2 -2
- data/lib/rails-api-docs/templates/api_docs.html.erb +2 -0
- data/lib/rails-api-docs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ea87504b3cded6365805b7c2ea084eb7cd9d983b650cef6ad22a709b219662c
|
|
4
|
+
data.tar.gz: fe4749ecd849c2e0a1dd7575e8d0d74a97424396b7257450c260a051b8def137
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7717b4ec5bc8713042cd9f21b3043618361ea9bb3bb3a7ed50aa898f98a0ee140175475ca47b28af18d8f191eb596f25042c5b1edd72747f5dd93bc00331bc0e
|
|
7
|
+
data.tar.gz: 6aa927e3fcec1f10488c5958898031713bf8a54854e876aeb41376f95d8bfd3ad23b8c8a8117df514011b8a0242a0cb38220c2f797d507a0e372199b3567337e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.2] - 2026-11-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **"Filtered by:" pill always visible.** The pill's
|
|
8
|
+
`.active-tag-filter { display: flex }` rule overrode the `[hidden]`
|
|
9
|
+
attribute, so the pill showed up empty on page load and stayed on
|
|
10
|
+
screen after clearing the tag filter. Added
|
|
11
|
+
`.active-tag-filter[hidden] { display: none; }`.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Verified on Ruby 4.0.9 + Rails 8.1.4.1 (full suite green); no
|
|
16
|
+
dependency constraint changes.
|
|
17
|
+
- README screenshot replaced with an animated demo GIF.
|
|
18
|
+
|
|
3
19
|
## [0.1.1] - 2026-06-03
|
|
4
20
|
|
|
5
21
|
### Fixed
|
data/README.md
CHANGED
|
@@ -16,7 +16,7 @@ The gem inspects your routes, controllers (via Prism AST), and
|
|
|
16
16
|
`ActiveRecord` schema to scaffold the YAML on first run; you edit it from
|
|
17
17
|
there to add descriptions, examples, and constraints.
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -524,7 +524,7 @@ prebuilt `public/api-docs.html` as a static asset.
|
|
|
524
524
|
|
|
525
525
|
```bash
|
|
526
526
|
bundle install
|
|
527
|
-
bundle exec rake test #
|
|
527
|
+
bundle exec rake test # 185 tests, ~0.3s
|
|
528
528
|
```
|
|
529
529
|
|
|
530
530
|
The test suite uses minitest + a real `ActionDispatch::Routing::RouteSet`
|
|
@@ -203,6 +203,8 @@
|
|
|
203
203
|
border-radius: 8px;
|
|
204
204
|
font-size: 12px; color: var(--primary);
|
|
205
205
|
}
|
|
206
|
+
/* `display: flex` above would otherwise override the [hidden] attribute. */
|
|
207
|
+
.active-tag-filter[hidden] { display: none; }
|
|
206
208
|
.active-tag-filter .label { font-weight: 500; }
|
|
207
209
|
.active-tag-filter .tag-name {
|
|
208
210
|
font-family: ui-monospace, monospace; font-weight: 600;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-api-docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jackson Pires
|
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
152
152
|
- !ruby/object:Gem::Version
|
|
153
153
|
version: '0'
|
|
154
154
|
requirements: []
|
|
155
|
-
rubygems_version: 4.0.
|
|
155
|
+
rubygems_version: 4.0.20
|
|
156
156
|
specification_version: 4
|
|
157
157
|
summary: Generate beautiful, self-contained HTML API documentation from your Rails
|
|
158
158
|
routes.
|