isomorfeus-asset-manager 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35473bc2ce6816a9d7f6475490dfdaab499fb0ecd0e13aa046715e0da9c149bb
|
4
|
+
data.tar.gz: 6b382b48cf9db06486b6e0c46e4ee37f1c7018625cc58e9ad442b1bc964378c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c91e4cdc3fb1ceda1300307711fbc30a619d2b2d9458d12951495aeaafd34a6b115648eb0782bfc548bc1ab36fedc5fdaf54caf9a1b965217418f20fd7adeb88
|
7
|
+
data.tar.gz: aed9fec1ab0b00945ea81e0c482f30108bf3ac7d28a6564093c36820cffc4ff794b40f1df42b8f1764ebb1380147dea612da5edf518546d3a16f544cb981c228
|
@@ -11,13 +11,8 @@ module Isomorfeus
|
|
11
11
|
def initialize(app)
|
12
12
|
@app = app
|
13
13
|
@asset_manager = Isomorfeus::AssetManager.new
|
14
|
-
|
15
|
-
|
16
|
-
@assets_path_size = @assets_path.size
|
17
|
-
else
|
18
|
-
@assets_path = Isomorfeus.assets_path + '/'
|
19
|
-
@assets_path_size = @assets_path.size
|
20
|
-
end
|
14
|
+
@assets_path = Isomorfeus.assets_path.end_with?('/') ? Isomorfeus.assets_path : "#{Isomorfeus.assets_path}/"
|
15
|
+
@assets_path_size = @assets_path.size
|
21
16
|
rescue Exception => e
|
22
17
|
STDERR.puts "#{e.message}\n#{e.backtrace&.join("\n")}\n"
|
23
18
|
end
|
@@ -112,6 +112,9 @@ module Isomorfeus
|
|
112
112
|
elsif file.end_with?('.js')
|
113
113
|
Isomorfeus.assets.each_value { |asset| asset.unbundle! }
|
114
114
|
update_json = Oj.dump({ reload: file }, mode: :strict)
|
115
|
+
elsif file.end_with?('.css')
|
116
|
+
Isomorfeus.assets.each_value { |asset| asset.unbundle! }
|
117
|
+
update_json = Oj.dump({ reload: file }, mode: :strict)
|
115
118
|
else
|
116
119
|
update_json = Oj.dump({ error: "Don't know how to update #{file}!" }, mode: :strict)
|
117
120
|
end
|
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.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brotli
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.6.
|
47
|
+
version: 0.6.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.6.
|
54
|
+
version: 0.6.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: listen
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,7 +75,7 @@ dependencies:
|
|
75
75
|
version: 3.13.23
|
76
76
|
- - "<"
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: 3.
|
78
|
+
version: 3.16.0
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -85,7 +85,7 @@ dependencies:
|
|
85
85
|
version: 3.13.23
|
86
86
|
- - "<"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 3.
|
88
|
+
version: 3.16.0
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: opal
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|