Skip to content

Commit

Permalink
Update website for 3.72.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Sep 12, 2023
1 parent b41c972 commit fc57348
Show file tree
Hide file tree
Showing 20 changed files with 659 additions and 427 deletions.
5 changes: 3 additions & 2 deletions documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</nav>

<div class="content"><div class="contain">
<h1>Documentation for Roda (v3.71.0)</h1>
<h1>Documentation for Roda (v3.72.0)</h1>

<h2><a href="rdoc/files/README_rdoc.html">README</a> <small>(Introduction to Roda, start here if new)</small></h2>

Expand Down Expand Up @@ -126,6 +126,7 @@ <h3 id="included-plugins">Plugins that Ship with Roda</h3>
<li><a href="rdoc/classes/Roda/RodaPlugins/DisallowFileUploads.html">disallow_file_uploads</a>: Disallow multipart file uploads.</li>
<li><a href="rdoc/classes/Roda/RodaPlugins/DropBody.html">drop_body</a>: Automatically drops response body and Content-Type/Content-Length headers for response statuses indicating no body.</li>
<li><a href="rdoc/classes/Roda/RodaPlugins/Halt.html">halt</a>: Augments request halt method for support for setting response status and/or response body.</li>
<li><a href="rdoc/classes/Roda/RodaPlugins/InvalidRequestBody.html">invalid_request_body</a>: Allows for custom handling of invalid request bodies.</li>
<li><a href="rdoc/classes/Roda/RodaPlugins/ModuleInclude.html">module_include</a>: Adds request_module and response_module class methods for adding modules/methods to request/response classes.</li>
<li><a href="rdoc/classes/Roda/RodaPlugins/PlainHashResponseHeaders.html">plain_hash_response_headers</a>: Uses plain hashes for response headers on Rack 3, for much better performance.</li>
<li><a href="rdoc/classes/Roda/RodaPlugins/R.html">r</a>: Adds r method for accessing the request, useful when r local variable is not in scope.</li>
Expand Down Expand Up @@ -246,7 +247,7 @@ <h2 id="release-notes">Release Notes</h2>


<li>
<a href='rdoc/files/doc/release_notes/3_71_0_txt.html'>3.71</a> | <a href='rdoc/files/doc/release_notes/3_70_0_txt.html'>3.70</a>
<a href='rdoc/files/doc/release_notes/3_72_0_txt.html'>3.72</a> | <a href='rdoc/files/doc/release_notes/3_71_0_txt.html'>3.71</a> | <a href='rdoc/files/doc/release_notes/3_70_0_txt.html'>3.70</a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1 class="red center">A Modular, Scalable Ruby Framework</h1>
<li>
<svg class="feature" viewBox="0 0 41 41"><circle cx="20.5" cy="20.5" r="19.5"/><polyline points="10.88 22.78 15.31 27.21 28.93 13.59"/></svg>
<strong>Simple, Reliable API</strong>
<p class="graylight">Currently at version 3.71.0</p>
<p class="graylight">Currently at version 3.72.0</p>
</li>

<li>
Expand Down
5 changes: 4 additions & 1 deletion rdoc/classes/Roda.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ <h1 class='name'><span class='type'>class</span>
<a href="../files/lib/roda/plugins/inject_erb_rb.html">lib/roda/plugins/inject_erb.rb</a>
</li>
<li class='other'>
<a href="../files/lib/roda/plugins/invalid_request_body_rb.html">lib/roda/plugins/invalid_request_body.rb</a>
</li>
<li class='other'>
<a href="../files/lib/roda/plugins/json_rb.html">lib/roda/plugins/json.rb</a>
</li>
<li class='other'>
Expand Down Expand Up @@ -468,7 +471,7 @@ <h2>Constants</h2>
<tr class='top-aligned-row context-row'>
<td class='context-item-name'>RodaMinorVersion</td>
<td>=</td>
<td class='context-item-value'>71</td>
<td class='context-item-value'>72</td>
<td>&nbsp;</td>
<td class='context-item-desc'>
<p>The minor version of <a href="Roda.html"><code>Roda</code></a>, updated for new feature releases of <a href="Roda.html"><code>Roda</code></a>.</p>
Expand Down
4 changes: 4 additions & 0 deletions rdoc/classes/Roda/RodaPlugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ <h1 class='name'><span class='type'>module</span>
<a href="../../files/lib/roda/plugins/inject_erb_rb.html">lib/roda/plugins/inject_erb.rb</a>
</li>
<li class='other'>
<a href="../../files/lib/roda/plugins/invalid_request_body_rb.html">lib/roda/plugins/invalid_request_body.rb</a>
</li>
<li class='other'>
<a href="../../files/lib/roda/plugins/json_rb.html">lib/roda/plugins/json.rb</a>
</li>
<li class='other'>
Expand Down Expand Up @@ -498,6 +501,7 @@ <h2>Classes and Modules</h2>
<li><a href="RodaPlugins/IndifferentParams.html">Roda::RodaPlugins::IndifferentParams</a></li>
<li><a href="RodaPlugins/InjectERB.html">Roda::RodaPlugins::InjectERB</a></li>
<li><a href="RodaPlugins/IntegerMatcherMax.html">Roda::RodaPlugins::IntegerMatcherMax</a></li>
<li><a href="RodaPlugins/InvalidRequestBody.html">Roda::RodaPlugins::InvalidRequestBody</a></li>
<li><a href="RodaPlugins/Json.html">Roda::RodaPlugins::Json</a></li>
<li><a href="RodaPlugins/JsonParser.html">Roda::RodaPlugins::JsonParser</a></li>
<li><a href="RodaPlugins/LinkTo.html">Roda::RodaPlugins::LinkTo</a></li>
Expand Down
392 changes: 198 additions & 194 deletions rdoc/classes/Roda/RodaPlugins/Base/ClassMethods.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions rdoc/classes/Roda/RodaPlugins/Base/InstanceMethods.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ <h2>Public Class methods</h2>
[show source]
</a>
<pre id='method-c-new-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">485</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">env</span>)
<span class="line-num">486</span> <span class="ruby-identifier">klass</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>
<span class="line-num">487</span> <span class="ruby-ivar">@_request</span> = <span class="ruby-identifier">klass</span><span class="ruby-operator">::</span><span class="ruby-constant">RodaRequest</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">env</span>)
<span class="line-num">488</span> <span class="ruby-ivar">@_response</span> = <span class="ruby-identifier">klass</span><span class="ruby-operator">::</span><span class="ruby-constant">RodaResponse</span>.<span class="ruby-identifier">new</span>
<span class="line-num">489</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">489</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">env</span>)
<span class="line-num">490</span> <span class="ruby-identifier">klass</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>
<span class="line-num">491</span> <span class="ruby-ivar">@_request</span> = <span class="ruby-identifier">klass</span><span class="ruby-operator">::</span><span class="ruby-constant">RodaRequest</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">env</span>)
<span class="line-num">492</span> <span class="ruby-ivar">@_response</span> = <span class="ruby-identifier">klass</span><span class="ruby-operator">::</span><span class="ruby-constant">RodaResponse</span>.<span class="ruby-identifier">new</span>
<span class="line-num">493</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<h2>Public Instance methods</h2>
Expand All @@ -108,13 +108,13 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-_roda_handle_main_route-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">493</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_handle_main_route</span>
<span class="line-num">494</span> <span class="ruby-identifier">catch</span>(<span class="ruby-value">:halt</span>) <span class="ruby-keyword">do</span>
<span class="line-num">495</span> <span class="ruby-identifier">r</span> = <span class="ruby-ivar">@_request</span>
<span class="line-num">496</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">block_result</span>(<span class="ruby-identifier">_roda_run_main_route</span>(<span class="ruby-identifier">r</span>))
<span class="line-num">497</span> <span class="ruby-ivar">@_response</span>.<span class="ruby-identifier">finish</span>
<span class="line-num">498</span> <span class="ruby-keyword">end</span>
<span class="line-num">499</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">497</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_handle_main_route</span>
<span class="line-num">498</span> <span class="ruby-identifier">catch</span>(<span class="ruby-value">:halt</span>) <span class="ruby-keyword">do</span>
<span class="line-num">499</span> <span class="ruby-identifier">r</span> = <span class="ruby-ivar">@_request</span>
<span class="line-num">500</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">block_result</span>(<span class="ruby-identifier">_roda_run_main_route</span>(<span class="ruby-identifier">r</span>))
<span class="line-num">501</span> <span class="ruby-ivar">@_response</span>.<span class="ruby-identifier">finish</span>
<span class="line-num">502</span> <span class="ruby-keyword">end</span>
<span class="line-num">503</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-_roda_handle_route'>
Expand All @@ -133,12 +133,12 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-_roda_handle_route-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">503</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_handle_route</span>
<span class="line-num">504</span> <span class="ruby-identifier">catch</span>(<span class="ruby-value">:halt</span>) <span class="ruby-keyword">do</span>
<span class="line-num">505</span> <span class="ruby-ivar">@_request</span>.<span class="ruby-identifier">block_result</span>(<span class="ruby-keyword">yield</span>)
<span class="line-num">506</span> <span class="ruby-ivar">@_response</span>.<span class="ruby-identifier">finish</span>
<span class="line-num">507</span> <span class="ruby-keyword">end</span>
<span class="line-num">508</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">507</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_handle_route</span>
<span class="line-num">508</span> <span class="ruby-identifier">catch</span>(<span class="ruby-value">:halt</span>) <span class="ruby-keyword">do</span>
<span class="line-num">509</span> <span class="ruby-ivar">@_request</span>.<span class="ruby-identifier">block_result</span>(<span class="ruby-keyword">yield</span>)
<span class="line-num">510</span> <span class="ruby-ivar">@_response</span>.<span class="ruby-identifier">finish</span>
<span class="line-num">511</span> <span class="ruby-keyword">end</span>
<span class="line-num">512</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-_roda_main_route'>
Expand All @@ -157,8 +157,8 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-_roda_main_route-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">512</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_main_route</span>(<span class="ruby-identifier">_</span>)
<span class="line-num">513</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">516</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_main_route</span>(<span class="ruby-identifier">_</span>)
<span class="line-num">517</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-_roda_run_main_route'>
Expand All @@ -177,9 +177,9 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-_roda_run_main_route-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">517</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_run_main_route</span>(<span class="ruby-identifier">r</span>)
<span class="line-num">518</span> <span class="ruby-identifier">_roda_main_route</span>(<span class="ruby-identifier">r</span>)
<span class="line-num">519</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">521</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">_roda_run_main_route</span>(<span class="ruby-identifier">r</span>)
<span class="line-num">522</span> <span class="ruby-identifier">_roda_main_route</span>(<span class="ruby-identifier">r</span>)
<span class="line-num">523</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-call'>
Expand All @@ -198,14 +198,14 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-call-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">522</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">call</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="line-num">523</span> <span class="ruby-comment"># RODA4: Remove</span>
<span class="line-num">524</span> <span class="ruby-identifier">catch</span>(<span class="ruby-value">:halt</span>) <span class="ruby-keyword">do</span>
<span class="line-num">525</span> <span class="ruby-identifier">r</span> = <span class="ruby-ivar">@_request</span>
<span class="line-num">526</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">block_result</span>(<span class="ruby-identifier">instance_exec</span>(<span class="ruby-identifier">r</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)) <span class="ruby-comment"># Fallback</span>
<span class="line-num">527</span> <span class="ruby-ivar">@_response</span>.<span class="ruby-identifier">finish</span>
<span class="line-num">528</span> <span class="ruby-keyword">end</span>
<span class="line-num">529</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">526</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">call</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="line-num">527</span> <span class="ruby-comment"># RODA4: Remove</span>
<span class="line-num">528</span> <span class="ruby-identifier">catch</span>(<span class="ruby-value">:halt</span>) <span class="ruby-keyword">do</span>
<span class="line-num">529</span> <span class="ruby-identifier">r</span> = <span class="ruby-ivar">@_request</span>
<span class="line-num">530</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">block_result</span>(<span class="ruby-identifier">instance_exec</span>(<span class="ruby-identifier">r</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)) <span class="ruby-comment"># Fallback</span>
<span class="line-num">531</span> <span class="ruby-ivar">@_response</span>.<span class="ruby-identifier">finish</span>
<span class="line-num">532</span> <span class="ruby-keyword">end</span>
<span class="line-num">533</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-env'>
Expand All @@ -227,9 +227,9 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-env-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">539</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">env</span>
<span class="line-num">540</span> <span class="ruby-ivar">@_request</span>.<span class="ruby-identifier">env</span>
<span class="line-num">541</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">543</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">env</span>
<span class="line-num">544</span> <span class="ruby-ivar">@_request</span>.<span class="ruby-identifier">env</span>
<span class="line-num">545</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-opts'>
Expand All @@ -254,9 +254,9 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-opts-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">550</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">opts</span>
<span class="line-num">551</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">opts</span>
<span class="line-num">552</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">554</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">opts</span>
<span class="line-num">555</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">opts</span>
<span class="line-num">556</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-session'>
Expand All @@ -278,9 +278,9 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-session-source'> <span class="ruby-comment"># File lib/roda.rb</span>
<span class="line-num">566</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">session</span>
<span class="line-num">567</span> <span class="ruby-ivar">@_request</span>.<span class="ruby-identifier">session</span>
<span class="line-num">568</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">570</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">session</span>
<span class="line-num">571</span> <span class="ruby-ivar">@_request</span>.<span class="ruby-identifier">session</span>
<span class="line-num">572</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit fc57348

Please sign in to comment.