isomorfeus-asset-manager 0.15.4 → 0.15.5

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: c8f6742d154c531affd2de3a2362b85a50c9c86704f58a0a9dc0050738470a97
4
- data.tar.gz: 13a3577ee993cbe06a5920f2c62a31dc094e1c4cd9558e3d69ec386975c92d46
3
+ metadata.gz: f44ff99928ab2c60169756f5bba25744b37fbfe612325b21778856fe3844d5a0
4
+ data.tar.gz: 68b5e4ba520d8ce8397277cab6e0fb7201742b23e6e356b5d4497b643d10ed96
5
5
  SHA512:
6
- metadata.gz: 227d4fcd982f338a82b9e7eb807691794b6e2ef1f33d50a4a731a283fd919b8346c2fc804f7ab60ee94b128256d4f7dace200563cc17ecb003096eb04bd7801c
7
- data.tar.gz: 97c7445c8b644a2ce010a634ca24d0f04767e73312565140ce1af863e75e0479d913ff3fc6a9e74d8c6452d8afb5f2e1ceafd5081dd0bd7826cf7da74d1d2642
6
+ metadata.gz: 28acbd98ad2d5bce74db561c1ae2c131ec42b64e0cff04cbf1376c7dfe25331243fd5ffed184036dfde3a2c44d6b8702a6f2b1d4bcd2923ac72b15efc90cc433
7
+ data.tar.gz: f5cde2f1cf4aec902bb6dbd297aaad29bf1ded58a4e9b19050cf72f3ef4624d04353e147ed75bcf0fbb6055f9deb4fa3415b7c273a68f2a8f277bfbf32989936
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  class AssetManager
3
- VERSION = '0.15.4'
3
+ VERSION = '0.15.5'
4
4
  end
5
5
  end
@@ -28,8 +28,9 @@ require 'iso_opal'
28
28
 
29
29
  Isomorfeus.env = ENV['RACK_ENV']
30
30
 
31
- Isomorfeus.node_paths << File.expand_path(File.join(File.dirname(__FILE__), '..', 'node_modules'))
32
-
33
31
  Isomorfeus.root = File.expand_path('.')
32
+ node_modules = File.join(Isomorfeus.root, 'node_modules')
33
+ Isomorfeus.node_paths << node_modules if Dir.exist?(node_modules)
34
+ Isomorfeus.node_paths << File.expand_path(File.join(File.dirname(__FILE__), '..', 'node_modules'))
34
35
  Isomorfeus.app_root = File.expand_path('app')
35
36
  Opal.append_path(Isomorfeus.app_root) unless IsoOpal.paths_include?(Isomorfeus.app_root)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-asset-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-24 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brotli