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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1cb96fab1fc2c66437f972396f19bab376bd65ec1d72581ed82c05473057e79
4
- data.tar.gz: 072df951ff61287660aeb1b55e3ec762d688d82908df2f2a8f930acf7307f872
3
+ metadata.gz: ced7e17f9adaf2aae51124d4ad7a34e3929baa1566d0c01134283abf068b62f5
4
+ data.tar.gz: 71423475ddd89c0c0f632d57d898c66c9bcf2559ca1cc4e973dd83e652194103
5
5
  SHA512:
6
- metadata.gz: c980fa451b5f609a0014a8d9e543a132d02ad8f98f443ad9a26c79aa361230c187fa71ad50fe43e97b408b30dbb9cdb93ae181f5245bca294eb1c9eb706f0b57
7
- data.tar.gz: c055058f05dbfa2238986b550a267bca7309b8cc2e23fdfb9c2a0a38862276cf7b91344ffdd9a659ed4585320f3f375b14c6c273c207fbcf45eeb06268331782
6
+ metadata.gz: 7b693c01def9a089170c8c95ca526a64b2f968878f540ec61eba6bab8bdc021ced6604b46028b4657f4eff026f5664abd0547e3e5d2f76e7798fa45585cec7c8
7
+ data.tar.gz: 81462ff911827cb2d87ab86f305b4fd4ab3fee50fa51b8c5cf65e2f2e1c8247359a83e91629e05104d4b3e8e0d78b164ee70096c6220793232d6e084a74c16bd
Binary file
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.19.0.beta1'
4
+ VERSION = '0.19.0.beta2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proscenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0.beta1
4
+ version: 0.19.0.beta2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Joel Moss