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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73547bf7e093c1c31aec89795cccd24af94e197e4e9873d74203416dd9814a0e
4
- data.tar.gz: 56b12f232d112a9acf5ceee20bba9fc29c6ae2c00019f2ab27ba0a51c114107c
3
+ metadata.gz: 6ea87504b3cded6365805b7c2ea084eb7cd9d983b650cef6ad22a709b219662c
4
+ data.tar.gz: fe4749ecd849c2e0a1dd7575e8d0d74a97424396b7257450c260a051b8def137
5
5
  SHA512:
6
- metadata.gz: abe7d84faabd80caa57004d13fe0f74e304567d5e0d5df85557f1506a81a8a5ed83c76a4f61c8600cb1d387ccee811b1221f6d1014dd5a68ed7658dc5c9b48c8
7
- data.tar.gz: e570a94a46be252cb60f6e110866239c99e9c26735a8d0150f6f80f9bde8e2a09cd1787cb67696b03c5d4b9aa68402126433ebf47011d35292fa8eb58fb8bb51
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
- ![Rails API Docs](docs/rails-api-docs-1.png)
19
+ ![Rails API Docs demo](docs/rails-api-docs.gif)
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 # 91 tests, ~0.1s
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;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsApiDocs
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
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.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.6
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.