proscenium 0.19.0.beta1-aarch64-linux → 0.19.0.beta2-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/proscenium/ext/proscenium +0 -0
- data/lib/proscenium/resolver.rb +6 -2
- data/lib/proscenium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ced7e17f9adaf2aae51124d4ad7a34e3929baa1566d0c01134283abf068b62f5
|
4
|
+
data.tar.gz: 71423475ddd89c0c0f632d57d898c66c9bcf2559ca1cc4e973dd83e652194103
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b693c01def9a089170c8c95ca526a64b2f968878f540ec61eba6bab8bdc021ced6604b46028b4657f4eff026f5664abd0547e3e5d2f76e7798fa45585cec7c8
|
7
|
+
data.tar.gz: 81462ff911827cb2d87ab86f305b4fd4ab3fee50fa51b8c5cf65e2f2e1c8247359a83e91629e05104d4b3e8e0d78b164ee70096c6220793232d6e084a74c16bd
|
Binary file
|
data/lib/proscenium/resolver.rb
CHANGED
@@ -25,10 +25,14 @@ module Proscenium
|
|
25
25
|
"/#{path}"
|
26
26
|
elsif path.start_with?(Proscenium.ui_path.to_s)
|
27
27
|
path.delete_prefix Proscenium.root.join('lib').to_s
|
28
|
+
elsif (engine = Proscenium.config.engines.find { |e| path.start_with? "#{e.root}/" })
|
29
|
+
if engine.root.to_s.start_with?("#{Rails.root}/")
|
30
|
+
path.delete_prefix Rails.root.to_s
|
31
|
+
else
|
32
|
+
path.sub(/^#{engine.root}/, "/#{engine.engine_name}")
|
33
|
+
end
|
28
34
|
elsif path.start_with?("#{Rails.root}/")
|
29
35
|
path.delete_prefix Rails.root.to_s
|
30
|
-
elsif (engine = Proscenium.config.engines.find { |e| path.start_with? "#{e.root}/" })
|
31
|
-
path.sub(/^#{engine.root}/, "/#{engine.engine_name}")
|
32
36
|
else
|
33
37
|
Builder.resolve path
|
34
38
|
end
|
data/lib/proscenium/version.rb
CHANGED