proscenium 0.19.0.beta12-x86_64-darwin → 0.19.0.beta13-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfc68f54b4be7efcabe0783b147b1bb6466d6dea8c689711940dd5ae6277b22c
4
- data.tar.gz: 2feb21a07aded62add9489b02c2884ca7350bdd879799b19084b4335deb84c77
3
+ metadata.gz: e78b43dd201efbdc701aba0325650b24de221ab7c2fc3c7c49dd85c9ed0bdb41
4
+ data.tar.gz: 5871d272b8eebd1181a51ed76d89cd33183f934b9ffe56a7b431e98c6f8154ca
5
5
  SHA512:
6
- metadata.gz: df41e6a5821b3f255122cb10d957af988c2e6f1da774a66483d6a33e2050553b67f41bf58a775755ee074a5a5ac95bc497af73770a67aa4d18265a8db0102f99
7
- data.tar.gz: ad427a15f665fc700c9050760a287305d4f80d806ac0d2b41b2281169a5dfd71fdcc3648e36517869de8c9ed9448665d784ccb8494e96a77212f216195a40460
6
+ metadata.gz: efeed34f9c7cd4b1597e55c1cd3497284aff10eae680122eafec32335f3af4b2437ab1d370972ffdb26b4b477cb60626708e56cef25498f4ae0f3d862e196702
7
+ data.tar.gz: db3597fd274349983b91f70e5c824b37bc1932fcfcc6e200653f0cbd47a6dddd6ed350c1b59e1ae51aa3ff6e40c3aab7d5e5cdb7f1e4706de6c3edd0b82ae873
@@ -13,7 +13,7 @@ module Proscenium
13
13
  bundle = {}
14
14
  specs.each do |s|
15
15
  bundle[s.name] = if s.name == 'proscenium'
16
- Pathname(s.full_gem_path).join('lib/proscenium').to_s
16
+ Pathname(s.full_gem_path).join('lib/proscenium/ui').to_s
17
17
  else
18
18
  s.full_gem_path
19
19
  end
@@ -33,6 +33,11 @@ module Proscenium
33
33
  end
34
34
  end
35
35
 
36
+ initializer 'proscenium.debugging' do
37
+ tpl_path = root.join('lib', 'proscenium', 'templates').to_s
38
+ ActionDispatch::DebugView::RESCUES_TEMPLATE_PATHS << tpl_path
39
+ end
40
+
36
41
  initializer 'proscenium.middleware' do |app|
37
42
  app.middleware.insert_after ActionDispatch::Static, Proscenium::Middleware
38
43
  end
@@ -50,5 +55,15 @@ module Proscenium
50
55
  ActionView::PartialRenderer.prepend Monkey::PartialRenderer
51
56
  end
52
57
  end
58
+
59
+ initializer 'proscenium.public_path' do |app|
60
+ if app.config.public_file_server.enabled
61
+ headers = app.config.public_file_server.headers || {}
62
+ index = app.config.public_file_server.index_name || 'index'
63
+
64
+ app.middleware.insert_after(ActionDispatch::Static, ActionDispatch::Static,
65
+ root.join('public').to_s, index:, headers:)
66
+ end
67
+ end
53
68
  end
54
69
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.19.0.beta12'
4
+ VERSION = '0.19.0.beta13'
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.19.0.beta12
4
+ version: 0.19.0.beta13
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-04-22 00:00:00.000000000 Z
11
+ date: 2025-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi