proscenium 0.11.0.pre.11-x86_64-linux → 0.11.0.pre.12-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: 1afab3531309a1cf7f7318138cea4ccb208d04ecb6f007e1dbebc80119f20de5
4
- data.tar.gz: d068b6dad8d7a3b4dd3f2a6200d6ae2734ef0019d5a2ffbb78bea125b7f56d38
3
+ metadata.gz: 8c50db1d900a00b8c85feb758fcbe99c2a189af4b1b21a1d0eb0ccf563f15463
4
+ data.tar.gz: 48ba1636e92291e37ff2cef6e1dd2f583de47b8f3b384e541e98fdbc6649b94b
5
5
  SHA512:
6
- metadata.gz: 87d35590ef2bd2544af76fbb2f34e5484da2374666a7174bab34dbc47a4f7524cffa21ee470134b5b2c9530a81d661067b1186627ab6efb20048d37e69c20c56
7
- data.tar.gz: 75b4f3861b297afa53b3f212c3b120d6e1ba8974796aafe4f1a5556b3e1faa5f372e9f6051cfe0d60c13a635e78da85255100cb87c17a704c021a0426d4b5e94
6
+ metadata.gz: 9847c5eaf5a274e5d2323930da9aea499c8e6361cf3aefb726eadfc10e9f711cd647f760354f756b85234cd121f5ccf921ddf2673bac7ea3878caddc30f86972
7
+ data.tar.gz: 2768f6e7ddddd38f20288522d3bcf1edee08e8e6f097d2c343d57d8eaee19c4977d5f14781c5e7d3e5de9d259f0ce0ecdc4e532e44e6cc3a15cf88e62c4aa889
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: x86_64-linux
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