leva 0.1.11 → 0.2.0

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: bfa8fc5e8dcf215b553b499c40665619cf7c2828dd5596afa280d1f9f0a023bd
4
- data.tar.gz: f7546abb593c08067becf5fd5b28f43acf03d330788440dde8bb016525996338
3
+ metadata.gz: '0019e85833a0d18992a78748b1726d696c77b0fbc778f2ccb1b8f2916f6ed302'
4
+ data.tar.gz: e6dd98f6ec9fcb6067d27ee49a482e921ad69154a62fbef867b90d11af19be9f
5
5
  SHA512:
6
- metadata.gz: aa5ceddeadac67abb428d7ca4f98800c97eaad7706fca815f3ff93e50fa0bcca3dab1f108712fba1c9a1f919d45d1bb8e720d10c715850a186b495aa4f218aae
7
- data.tar.gz: bbaf3caa414aaa676f0ac5038e20189da01babb2ddb2cdd025d21f0cbb0a31932dc5e22c51835b163057b22074f3473f43116367a35a60d0214f54b86b4e15e5
6
+ metadata.gz: 9ad48cafaf84e3a4899397e4b9eb43c2f1868eded4761afd114e297ca265fd8abd19cf8d29edfe625a93994bff406818d4adf4cb35da5faa54ff17000276eca0
7
+ data.tar.gz: e506343e51badf77c050a4aa26abdfcf442fa84432d6f5aaa9f3fd4019a0f933a0d5a2b66fab18a6f89827f27803bdadfbbffd7b79ddf9c4f76187e4dc53ade6
data/lib/leva/engine.rb CHANGED
@@ -1,5 +1,15 @@
1
1
  module Leva
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Leva
4
+
5
+ initializer "leva.assets" do |app|
6
+ # Add asset paths for both Sprockets and Propshaft
7
+ app.config.assets.paths << root.join("app/assets/stylesheets").to_s
8
+
9
+ # For Sprockets: explicitly precompile leva assets
10
+ if app.config.respond_to?(:assets) && app.config.assets.respond_to?(:precompile)
11
+ app.config.assets.precompile += %w[leva/application.css]
12
+ end
13
+ end
4
14
  end
5
15
  end
data/lib/leva/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Leva
2
- VERSION = "0.1.11"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leva
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kieran Klaassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-22 00:00:00.000000000 Z
11
+ date: 2025-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails