proscenium 0.20.0-x86_64-linux → 0.20.1-x86_64-linux

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: 8abd17f5b817ccc88619b694bfd517ace2b6d6948fabdc82706e4d56c22dd6e5
4
- data.tar.gz: 685adeb95e985af0bf42e50c06b1451b02bdaf09a133035508e6b8e22e612b06
3
+ metadata.gz: 22c982d0c998870ee599aba5e42ad84599420a6cdbcd16b98bf94d0786a9c6f2
4
+ data.tar.gz: 0bf66ecd15e6709d462f188a5599c1edba653227171b9373809b423177c57b3c
5
5
  SHA512:
6
- metadata.gz: 19476deb400030a0f1f29f8174280a301a6bf643f1b00ca85830aea77e2d851a7e411d94bc4172c350c7e9c90069ccaabc518400f499205d8abb26a5efc35ca2
7
- data.tar.gz: c1ec939319766a120a0295f0640ba4d54dcfe6f943cda9151981b7ca8575e8f328558002d672840cdd45859aa04ffc781328ad70230c94949bed9d452f2cbfb1
6
+ metadata.gz: fe52870dfa416cc26b7c1183e0f85c4c20e5d0bd83ba214fcf1bd4311dfcb3a10ce902ea027226d6a50af6d51daf3dd1c8965d3ac7ab9b1a7bfa01014719dc45
7
+ data.tar.gz: 79708350eafc8597f0bea7951214164bce24e967d2f07efa82d40988e8d1406cc64876f05d0d85036a5c260d92fc29b634c168d5edf8e593b52b3f211d38df84
Binary file
@@ -24,6 +24,8 @@ module Proscenium
24
24
  end
25
25
 
26
26
  def sideload_template_assets(tpl, controller, options)
27
+ return unless (tpl_path = Pathname.new(tpl.identifier)).file?
28
+
27
29
  options = {} if options.nil?
28
30
  options = { js: options, css: options } unless options.is_a?(Hash)
29
31
 
@@ -40,7 +42,7 @@ module Proscenium
40
42
  options[k] = controller.instance_eval(&options[k]) if options[k].is_a?(Proc)
41
43
  end
42
44
 
43
- Importer.sideload Pathname.new(tpl.identifier), **options
45
+ Importer.sideload tpl_path, **options
44
46
  end
45
47
  end
46
48
 
@@ -64,6 +66,8 @@ module Proscenium
64
66
  end
65
67
 
66
68
  def sideload_template_assets(tpl, options)
69
+ return unless (tpl_path = Pathname.new(tpl.identifier)).file?
70
+
67
71
  options = {} if options.nil?
68
72
  options = { js: options, css: options } unless options.is_a?(Hash)
69
73
 
@@ -80,7 +84,7 @@ module Proscenium
80
84
  options[k] = controller.instance_eval(&options[k]) if options[k].is_a?(Proc)
81
85
  end
82
86
 
83
- Importer.sideload Pathname.new(tpl.identifier), **options
87
+ Importer.sideload tpl_path, **options
84
88
  end
85
89
  end
86
90
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.20.0'
4
+ VERSION = '0.20.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proscenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Joel Moss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-06 00:00:00.000000000 Z
11
+ date: 2025-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi