kozenet_ui 0.1.1 → 0.1.3

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: 87c0ad03dcc95a00eb4fc883b4552269ffc7f1f49269ff0b4745dddb2b2af9c6
4
- data.tar.gz: f1f5dbcd45413d494e07583e70b1dc3b8942674501a60437f2c269ee7e866132
3
+ metadata.gz: a1e2e8b54a360d5a3d0e6adb313c7b622f95d604d45313f05bd4f11dcb80546b
4
+ data.tar.gz: c112ab997c36542a6b7ae9e1c2e16687948b1cbd6d3e4176ba5be6cf17087524
5
5
  SHA512:
6
- metadata.gz: 013ed5e8fb76bc73bd551bca5cc02d13af5b938f222491e13cba05abe36da159811c2eef6fdb966ccc40e14fc799e528a4ea289bed64c7548a038d95a3b07f49
7
- data.tar.gz: b199a4a49fc12253127e191bdc8aef83a15a426c5c26dd3a8c926a9ecc5f257a5c6f39320fe3ba353118a542b9d77a0e771f547959fa521687549097bc2647ee
6
+ metadata.gz: e792e18445663e57457a3f459f35141cad5609b6358d75b7856d22aef034be4b810bad6de2131a3226d4e7c53f6d0f0493c8b4b8e9c967bd2741640b1eff05c5
7
+ data.tar.gz: '029ab38c64adb66d73c59a4cb7915d95124b943f36d118c69e2600224e3367587f1177bfbd08e7c3e28208943d41cebf26efc43b23d18e24a1407c2b877685a0'
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Kozenet UI
2
2
 
3
- [![CI](https://github.com/kozenetpro/kozenet_ui/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/kozenetpro/kozenet_ui/actions/workflows/main.yml)
3
+ [![Ruby](https://github.com/kozenetpro/kozenet_ui/actions/workflows/main.yml/badge.svg)](https://github.com/kozenetpro/kozenet_ui/actions/workflows/main.yml)
4
4
  ![Test Status](https://img.shields.io/badge/tests-passing-brightgreen?style=flat-square)
5
5
 
6
6
  Beautiful, minimal, Apple-inspired UI components for Rails.
@@ -59,21 +59,21 @@ module KozenetUi
59
59
  end
60
60
 
61
61
  initializer "kozenet_ui.assets" do |app|
62
- # Add all Kozenet UI asset paths for stylesheets and images
63
- %w[
64
- app/assets/stylesheets/kozenet_ui
65
- app/assets/stylesheets/kozenet_ui/components
66
- app/assets/images/kozenet_ui/icons
67
- ].each do |path|
68
- app.config.assets.paths << root.join(path)
62
+ # Only add asset paths and precompile for Sprockets (classic asset pipeline)
63
+ if app.config.respond_to?(:assets) && app.config.assets.respond_to?(:paths)
64
+ %w[
65
+ app/assets/stylesheets/kozenet_ui
66
+ app/assets/stylesheets/kozenet_ui/components
67
+ app/assets/images/kozenet_ui/icons
68
+ ].each do |path|
69
+ app.config.assets.paths << root.join(path)
70
+ end
71
+ app.config.assets.precompile += %w[
72
+ kozenet_ui/tokens.css
73
+ kozenet_ui/base.css
74
+ kozenet_ui/components.css
75
+ ]
69
76
  end
70
-
71
- # Precompile Kozenet UI CSS files for all asset setups
72
- app.config.assets.precompile += %w[
73
- kozenet_ui/tokens.css
74
- kozenet_ui/base.css
75
- kozenet_ui/components.css
76
- ]
77
77
  end
78
78
  end
79
79
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KozenetUi
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kozenet_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kozenet Pro