athar 0.3.0 → 0.3.1
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 +6 -0
- data/lib/athar/engine.rb +5 -1
- data/lib/athar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85c5b4492b52c9643fe140a4a7b6aaff18b55417e12b36350a9de5d043a6d4b3
|
|
4
|
+
data.tar.gz: adc9de2e5295b7897dcfef55bc440c3abc07fc827226355a8d26ba19e16f434f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02ba427dccd77b76c0387465cfc49be51f1917a1f106f077158d9032764612b40cd007ac5dc7c241821fd72ca0c13a08833fecae1fc7bb7b3725f47868c69314
|
|
7
|
+
data.tar.gz: 5e4a8f874fd0391a4b27e3be707f45ab22d7a750a1a6cb94b5eccfb3bc3b389573ff1ae4daf8a2cc0178e137ff3526fea54b9bacad04325c3de31b61c2e93e46
|
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.1] - 2026-05-10
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Fixed `Propshaft::MissingAssetError` for `athar/logo.png` on hosts with a non-default asset pipeline. The engine now explicitly registers `app/assets/images` on `app.config.assets.paths` (alongside `stylesheets` and `javascripts`) and lists the logo in `assets.precompile` for Sprockets-based hosts. Auto-discovery of engine `app/assets/*` paths cannot be relied on across all host setups (e.g. apps using `vite_ruby` or custom Sprockets configuration).
|
|
12
|
+
|
|
7
13
|
## [0.3.0] - 2026-05-10
|
|
8
14
|
|
|
9
15
|
### Added
|
data/lib/athar/engine.rb
CHANGED
|
@@ -14,7 +14,11 @@ module Athar
|
|
|
14
14
|
if app.config.respond_to?(:assets)
|
|
15
15
|
app.config.assets.paths << root.join("app/assets/stylesheets").to_s
|
|
16
16
|
app.config.assets.paths << root.join("app/assets/javascripts").to_s
|
|
17
|
-
app.config.assets.
|
|
17
|
+
app.config.assets.paths << root.join("app/assets/images").to_s
|
|
18
|
+
|
|
19
|
+
if defined?(::Sprockets)
|
|
20
|
+
app.config.assets.precompile += %w[athar/dashboard.js athar/dashboard.css athar/logo.png]
|
|
21
|
+
end
|
|
18
22
|
end
|
|
19
23
|
|
|
20
24
|
app.middleware.insert_after Rack::Runtime, Athar::Middleware::AssetServer, root
|
data/lib/athar/version.rb
CHANGED