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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0b877c826fef22c35dbefe9df8a1d46704567f6a34041afb76f2be0c03d4ac0
4
- data.tar.gz: 5d53ed66ce9dfaf3d64453ec9913c14498561cdad2e6db6593ec1899326fbd02
3
+ metadata.gz: 85c5b4492b52c9643fe140a4a7b6aaff18b55417e12b36350a9de5d043a6d4b3
4
+ data.tar.gz: adc9de2e5295b7897dcfef55bc440c3abc07fc827226355a8d26ba19e16f434f
5
5
  SHA512:
6
- metadata.gz: 0b60bd4ac0cfe563946279bd7ee3e4da31e5add08fad25a5266fe9e14f9faa553cf958923770a4bb38e73981b8e876bfd2fe9dd9a831d24b0ff131d8b248c843
7
- data.tar.gz: 9185f28b703880a04a6cc5a7259854eb17483d2a16a22526bce5c1ed1696363aa7c62438e3220ee7856c9064f031b643d3a35e2ccb746923ad40711071d33348
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.precompile += %w[athar/dashboard.js athar/dashboard.css] if defined?(::Sprockets)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Athar
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Hamdi Ali Fadel