Sha256: add484ab943db5b0ddbca667b18cec78175c66628fd66a0668df081aa563178f

Contents?: true

Size: 624 Bytes

Versions: 15

Compression:

Stored size: 624 Bytes

Contents

= New Feature

* Roda.run in the multi_run plugin now accepts blocks, to allow
  autoloading of apps to dispatch to:

    class App < Roda
      plugin :multi_run

      run("other_app"){OtherApp}

      route do |r|
        r.multi_run
      end
    end

  With the above example, the block is not evaluated until a
  request for the /other_app branch is received.  If OtherApp is
  autoloaded, this can speed up application startup and partial
  testing. When freezing the application (for production use),
  the block is eagerly loaded, so that requests to the
  /other_app branch do not call the block on every request.

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
roda-3.83.0 doc/release_notes/3.68.0.txt
roda-3.82.0 doc/release_notes/3.68.0.txt
roda-3.81.0 doc/release_notes/3.68.0.txt
roda-3.79.0 doc/release_notes/3.68.0.txt
roda-3.78.0 doc/release_notes/3.68.0.txt
roda-3.77.0 doc/release_notes/3.68.0.txt
roda-3.76.0 doc/release_notes/3.68.0.txt
roda-3.75.0 doc/release_notes/3.68.0.txt
roda-3.74.0 doc/release_notes/3.68.0.txt
roda-3.73.0 doc/release_notes/3.68.0.txt
roda-3.72.0 doc/release_notes/3.68.0.txt
roda-3.71.0 doc/release_notes/3.68.0.txt
roda-3.70.0 doc/release_notes/3.68.0.txt
roda-3.69.0 doc/release_notes/3.68.0.txt
roda-3.68.0 doc/release_notes/3.68.0.txt