proscenium 0.11.0.pre.11-arm64-darwin → 0.11.0.pre.12-arm64-darwin

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: fa886294c46353e120b898e38963617da263d56ecc12bd5e5a6f4cdfac6f18f2
4
- data.tar.gz: 7f7b6a3910688e5d5ed63c72b542f30153f35b48293d5fac00afefc6161f7488
3
+ metadata.gz: 9ffe99381b81904463f3fd0642fdcfba65ab28a37ac5811cc3dc029421003c0c
4
+ data.tar.gz: ca30bf741c5ef28730d859427881a3b37c287b02404d67c0150e5951ec683ad6
5
5
  SHA512:
6
- metadata.gz: 532bc19aed316eb0d4f201a5a7b1a4525f33fde7caf9987c4ffb194179db24dfc05f586e9b2d6d3901a083598ea5c314c599d6ec8761c08b1606145230ffef2a
7
- data.tar.gz: f119ae6fccadd08598bbc7c5b0e452d5544b755a9f7c51989247867f1bafb28206f6a941909b46f443524442403ddc5f89363b42299ec40cab50eeab1d352661
6
+ metadata.gz: 9ab4117f18dbbf34b8c0e7afb591f6f00495753079850f5b2a67c282daed8b09a0d309ca74825b2ab4dae0140581823f0254de13b1b558a6bb903dce8ddf7326
7
+ data.tar.gz: 460e679b5d5114922d3ecccc3add996438ee0a742f1ab0dcb4df941d8b78b3523f3d5467c98bc19489b197cac24558534221e2a6a1ce6a2bac3f6494c21d13d8
Binary file
@@ -45,6 +45,11 @@ module Proscenium
45
45
  'Proscenium::Builder::BuildError' => 'build_error'
46
46
  }
47
47
 
48
+ initializer 'proscenium.debugging' do
49
+ ActionDispatch::DebugView::RESCUES_TEMPLATE_PATHS << root.join('lib', 'proscenium',
50
+ 'templates').to_s
51
+ end
52
+
48
53
  initializer 'proscenium.middleware' do |app|
49
54
  app.middleware.insert_after ActionDispatch::Static, Middleware
50
55
  # app.middleware.insert_after ActionDispatch::Static, Rack::ETag, 'no-cache'
@@ -69,13 +74,3 @@ module Proscenium
69
74
  end
70
75
  end
71
76
  end
72
-
73
- # Monkey path ActionDispatch::DebugView to use our custom error template on BuildError exceptions.
74
- class ActionDispatch::DebugView
75
- def initialize(assigns)
76
- paths = [RESCUES_TEMPLATE_PATH,
77
- Proscenium::Railtie.root.join('lib', 'proscenium', 'templates').to_s]
78
- lookup_context = ActionView::LookupContext.new(paths)
79
- super(lookup_context, assigns, nil)
80
- end
81
- end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.11.0.pre.11'
4
+ VERSION = '0.11.0.pre.12'
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.11.0.pre.11
4
+ version: 0.11.0.pre.12
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Joel Moss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-10 00:00:00.000000000 Z
11
+ date: 2023-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport