athar 0.3.1 → 0.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3606e5dbd82d65ccb6070d0cd82a6408110f10eb6a449546d7ec4cf573d2cbd6
|
|
4
|
+
data.tar.gz: 158b8db5f4ce145bee31e562dfc6ab9ced0b7e5bab2c8cfbe7268b129c276836
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29961e6f2302bb2cc732629ccf57d775fa089f950424860e73b9d56b8f26faebd0dc00874137597774c33e450cd6c3ae32ab62b0647d7c842d8b44beb76ebac6
|
|
7
|
+
data.tar.gz: 3a6229cc444e9fe48d84fa8c61c00690047422d604b25a8daa0461222279684b1471d0b936a9648eccfbb659aa6b1707dd8ac1d305b1748535c2b12d0632af09
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
|
|
6
6
|
|
|
7
|
+
## [0.3.2] - 2026-05-10
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Logo and favicon now resolve via the engine's own asset helper, which falls back to the bundled `Athar::Middleware::AssetServer` when the host's asset pipeline cannot locate `athar/logo.png`. The 0.3.1 fix relied on host-pipeline auto-discovery and still failed on hosts using `vite_ruby` or non-default Propshaft configurations. The middleware now also serves `.png` and `.svg` files from `app/assets/images/athar/`.
|
|
12
|
+
|
|
7
13
|
## [0.3.1] - 2026-05-10
|
|
8
14
|
|
|
9
15
|
### Fixed
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<div class="sidebar-head">
|
|
27
27
|
<div class="kbd-row">
|
|
28
28
|
<span class="brand">
|
|
29
|
-
<%= image_tag "
|
|
29
|
+
<%= image_tag athar_asset_path("logo.png"), alt: "", class: "brand-logo" %>
|
|
30
30
|
<span class="brand-name">athar</span>
|
|
31
31
|
<span class="brand-version">v<%= Athar::VERSION %></span>
|
|
32
32
|
</span>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
so our JS owns the page (no double-Turbo, no leftover host listeners). %>
|
|
13
13
|
<meta name="turbo-visit-control" content="reload">
|
|
14
14
|
|
|
15
|
-
<link rel="icon" type="image/png" href="<%=
|
|
15
|
+
<link rel="icon" type="image/png" href="<%= athar_asset_path("logo.png") %>">
|
|
16
16
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
17
17
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
18
18
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
@@ -16,13 +16,17 @@ module Athar
|
|
|
16
16
|
|
|
17
17
|
MIME_TYPES = {
|
|
18
18
|
".js" => "application/javascript",
|
|
19
|
-
".css" => "text/css"
|
|
19
|
+
".css" => "text/css",
|
|
20
|
+
".png" => "image/png",
|
|
21
|
+
".svg" => "image/svg+xml"
|
|
20
22
|
}.freeze
|
|
21
23
|
|
|
22
24
|
# Where each file extension lives, relative to the engine root.
|
|
23
25
|
EXTENSION_DIRS = {
|
|
24
26
|
".js" => "app/assets/javascripts/athar",
|
|
25
|
-
".css" => "app/assets/stylesheets/athar"
|
|
27
|
+
".css" => "app/assets/stylesheets/athar",
|
|
28
|
+
".png" => "app/assets/images/athar",
|
|
29
|
+
".svg" => "app/assets/images/athar"
|
|
26
30
|
}.freeze
|
|
27
31
|
|
|
28
32
|
def initialize(app, engine_root)
|
data/lib/athar/version.rb
CHANGED