proscenium 0.20.0-x86_64-darwin → 0.20.1-x86_64-darwin
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 +4 -4
- data/lib/proscenium/monkey.rb +6 -2
- data/lib/proscenium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e43af0c75e97062d14a30af1533dd3234044beba3c8de5e89f9f5f5f608f5ec
|
4
|
+
data.tar.gz: 293a9277bac0deb5a9557c06117a71f76d9d1c75d6026bc63805d6a4170030ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3424c14031d346089201f14d19da52077d2569f4e72cc17c19c62715b2330ec7206743f820b8a9af71d8aa16420cd09d91bd1a285a5749eb0c05835db005aeb2
|
7
|
+
data.tar.gz: f65b9c5a69219f5513573289417be8481f5b11efd270cf30405d3065d2527b62ecdaf9448396c47d23cbe0a1eaafbd63c251fc9c5046275bc6382c92d96235eb
|
data/lib/proscenium/monkey.rb
CHANGED
@@ -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
|
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
|
87
|
+
Importer.sideload tpl_path, **options
|
84
88
|
end
|
85
89
|
end
|
86
90
|
end
|
data/lib/proscenium/version.rb
CHANGED
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.
|
4
|
+
version: 0.20.1
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-10-
|
11
|
+
date: 2025-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|