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 +4 -4
- data/lib/proscenium/bundled_gems.rb +1 -1
- data/lib/proscenium/railtie.rb +15 -0
- 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: e78b43dd201efbdc701aba0325650b24de221ab7c2fc3c7c49dd85c9ed0bdb41
         | 
| 4 | 
            +
              data.tar.gz: 5871d272b8eebd1181a51ed76d89cd33183f934b9ffe56a7b431e98c6f8154ca
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: efeed34f9c7cd4b1597e55c1cd3497284aff10eae680122eafec32335f3af4b2437ab1d370972ffdb26b4b477cb60626708e56cef25498f4ae0f3d862e196702
         | 
| 7 | 
            +
              data.tar.gz: db3597fd274349983b91f70e5c824b37bc1932fcfcc6e200653f0cbd47a6dddd6ed350c1b59e1ae51aa3ff6e40c3aab7d5e5cdb7f1e4706de6c3edd0b82ae873
         | 
    
        data/lib/proscenium/railtie.rb
    CHANGED
    
    | @@ -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
         | 
    
        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.19.0. | 
| 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- | 
| 11 | 
            +
            date: 2025-04-23 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: ffi
         |