Skip to content

Commit

Permalink
Update website for 5.81.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jun 1, 2024
1 parent 3a45d2b commit 04df42b
Show file tree
Hide file tree
Showing 34 changed files with 1,110 additions and 294 deletions.
4 changes: 3 additions & 1 deletion documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<main class="main">
<div class="main__container">
<section class="documentation">
<h1 class="h1">Documentation for Sequel (v5.80.0)</h1>
<h1 class="h1">Documentation for Sequel (v5.81.0)</h1>

<hr class="hr" />

Expand Down Expand Up @@ -166,6 +166,8 @@ <h3 class="h3"><a class="a" href="rdoc/files/CHANGELOG.html">Release Notes</a></

<li>

<a class="a" href="rdoc/files/doc/release_notes/5_81_0_txt.html">5.81</a> |

<a class="a" href="rdoc/files/doc/release_notes/5_80_0_txt.html">5.80</a> |

</li>
Expand Down
6 changes: 5 additions & 1 deletion plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div class="main__container">
<section class="plugins">

<h1 class="h1">Sequel::Model Plugins for v5.80.0</h1>
<h1 class="h1">Sequel::Model Plugins for v5.81.0</h1>

<div class="plugins__sidebar">
<aside class="plugins__sidebar-aside">
Expand Down Expand Up @@ -816,6 +816,10 @@ <h3 class="h3">Database extensions that ship with Sequel</h3>
<span class="ul__span">Normalizes SQL before logging, helpful for analytics and sensitive data.</span>
</li>
<li class="ul__li ul__li--grid">
<a class="a" href="rdoc-plugins/files/lib/sequel/extensions/temporarily_release_connection_rb.html">temporarily_release_connection </a>
<span class="ul__span">Allows for multithreaded transactional testing by temporarily releasing checked-out connections back to the pool.</span>
</li>
<li class="ul__li ul__li--grid">
<a class="a" href="rdoc-plugins/files/lib/sequel/extensions/transaction_connection_validator_rb.html">transaction_connection_validator </a>
<span class="ul__span">Handle disconnect failures detected when starting a new transaction using a new connection transparently.</span>
</li>
Expand Down
2 changes: 1 addition & 1 deletion rdoc-adapters/created.rid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Wed, 01 May 2024 08:57:52 -0700
Sat, 01 Jun 2024 08:48:18 -0700
lib/sequel/adapters/ado.rb Tue, 21 Sep 2021 14:24:30 -0700
lib/sequel/adapters/ado/access.rb Tue, 21 Sep 2021 14:24:30 -0700
lib/sequel/adapters/ado/mssql.rb Mon, 28 Jan 2019 08:29:19 -0800
Expand Down
5 changes: 5 additions & 0 deletions rdoc-plugins/classes/Sequel.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ <h1 class='name'><span class='type'>module</span>
<a href="../files/lib/sequel/extensions/synchronize_sql_rb.html">lib/sequel/extensions/synchronize_sql.rb</a>
</li>
<li class='other'>
<a href="../files/lib/sequel/extensions/temporarily_release_connection_rb.html">lib/sequel/extensions/temporarily_release_connection.rb</a>
</li>
<li class='other'>
<a href="../files/lib/sequel/extensions/thread_local_timezones_rb.html">lib/sequel/extensions/thread_local_timezones.rb</a>
</li>
<li class='other'>
Expand Down Expand Up @@ -890,6 +893,7 @@ <h2>Classes and Modules</h2>
<li><a href="Sequel/ServerLogging.html">Sequel::ServerLogging</a></li>
<li><a href="Sequel/SymbolAref.html">Sequel::SymbolAref</a></li>
<li><a href="Sequel/SymbolAs.html">Sequel::SymbolAs</a></li>
<li><a href="Sequel/TemporarilyReleaseConnection.html">Sequel::TemporarilyReleaseConnection</a></li>
<li><a href="Sequel/ThreadLocalTimezones.html">Sequel::ThreadLocalTimezones</a></li>
<li><a href="Sequel/ThreadedServerBlock.html">Sequel::ThreadedServerBlock</a></li>
<li><a href="Sequel/TransactionConnectionValidator.html">Sequel::TransactionConnectionValidator</a></li>
Expand All @@ -908,6 +912,7 @@ <h2>Classes and Modules</h2>
<li><a href="Sequel/SimpleMigration.html">Sequel::SimpleMigration</a></li>
<li><a href="Sequel/TimestampMigrator.html">Sequel::TimestampMigrator</a></li>
<li><a href="Sequel/ToDot.html">Sequel::ToDot</a></li>
<li><a href="Sequel/UnableToReacquireConnectionError.html">Sequel::UnableToReacquireConnectionError</a></li>
</ol>
</div>
<div id='section'>
Expand Down
19 changes: 13 additions & 6 deletions rdoc-plugins/classes/Sequel/CallerLogging.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ <h2>Constants</h2>
<div class='name-list'>
<table summary='Constants'>
<tr class='top-aligned-row context-row'>
<td class='context-item-name'>INTERNAL</td>
<td>=</td>
<td class='context-item-value'>'<internal'</td>
<td>&nbsp;</td>
<td class='context-item-desc'></td>
</tr>
<tr class='top-aligned-row context-row'>
<td class='context-item-name'>RUBY_STDLIB</td>
<td>=</td>
<td class='context-item-value'>RbConfig::CONFIG["rubylibdir"]</td>
Expand Down Expand Up @@ -112,12 +119,12 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-log_connection_yield-source'> <span class="ruby-comment"># File lib/sequel/extensions/caller_logging.rb</span>
<span class="line-num">48</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">log_connection_yield</span>(<span class="ruby-identifier">sql</span>, <span class="ruby-identifier">conn</span>, <span class="ruby-identifier">args</span>=<span class="ruby-keyword">nil</span>)
<span class="line-num">49</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@loggers</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">external_caller</span> = <span class="ruby-identifier">external_caller_for_log</span>)
<span class="line-num">50</span> <span class="ruby-identifier">sql</span> = <span class="ruby-node">&quot;#{external_caller} #{sql}&quot;</span>
<span class="line-num">51</span> <span class="ruby-keyword">end</span>
<span class="line-num">52</span> <span class="ruby-keyword">super</span>
<span class="line-num">53</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">49</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">log_connection_yield</span>(<span class="ruby-identifier">sql</span>, <span class="ruby-identifier">conn</span>, <span class="ruby-identifier">args</span>=<span class="ruby-keyword">nil</span>)
<span class="line-num">50</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@loggers</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">external_caller</span> = <span class="ruby-identifier">external_caller_for_log</span>)
<span class="line-num">51</span> <span class="ruby-identifier">sql</span> = <span class="ruby-node">&quot;#{external_caller} #{sql}&quot;</span>
<span class="line-num">52</span> <span class="ruby-keyword">end</span>
<span class="line-num">53</span> <span class="ruby-keyword">super</span>
<span class="line-num">54</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
</div>
Expand Down
13 changes: 10 additions & 3 deletions rdoc-plugins/classes/Sequel/Dataset/Provenance.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ <h2>Constants</h2>
<div class='name-list'>
<table summary='Constants'>
<tr class='top-aligned-row context-row'>
<td class='context-item-name'>INTERNAL</td>
<td>=</td>
<td class='context-item-value'>'<internal'</td>
<td>&nbsp;</td>
<td class='context-item-desc'></td>
</tr>
<tr class='top-aligned-row context-row'>
<td class='context-item-name'>RUBY_STDLIB</td>
<td>=</td>
<td class='context-item-value'>RbConfig::CONFIG["rubylibdir"]</td>
Expand Down Expand Up @@ -85,9 +92,9 @@ <h2>Public Instance methods</h2>
[show source]
</a>
<pre id='method-i-clone-source'> <span class="ruby-comment"># File lib/sequel/extensions/provenance.rb</span>
<span class="line-num">44</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clone</span>(<span class="ruby-identifier">opts</span> = <span class="ruby-keyword">nil</span> <span class="ruby-operator">||</span> (<span class="ruby-keyword">return</span> <span class="ruby-keyword">self</span>))
<span class="line-num">45</span> <span class="ruby-keyword">super</span>(<span class="ruby-identifier">provenance_opts</span>(<span class="ruby-identifier">opts</span>))
<span class="line-num">46</span> <span class="ruby-keyword">end</span></pre>
<span class="line-num">45</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clone</span>(<span class="ruby-identifier">opts</span> = <span class="ruby-keyword">nil</span> <span class="ruby-operator">||</span> (<span class="ruby-keyword">return</span> <span class="ruby-keyword">self</span>))
<span class="line-num">46</span> <span class="ruby-keyword">super</span>(<span class="ruby-identifier">provenance_opts</span>(<span class="ruby-identifier">opts</span>))
<span class="line-num">47</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions rdoc-plugins/classes/Sequel/Plugins/ColumnEncryption.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ <h2>Public Class methods</h2>
<div class='method public-class' id='method-method-c-apply'>
<a name='method-c-apply'></a>
<div class='synopsis'>
<span class='name'>apply</span><span class='arguments'>(model, opts=OPTS)</span>
<span class='name'>apply</span><span class='arguments'>(model, opts=OPTS, &_)</span>

</div>
<div class='description'>
Expand All @@ -299,7 +299,7 @@ <h2>Public Class methods</h2>
[show source]
</a>
<pre id='method-c-apply-source'> <span class="ruby-comment"># File lib/sequel/plugins/column_encryption.rb</span>
<span class="line-num">589</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">apply</span>(<span class="ruby-identifier">model</span>, <span class="ruby-identifier">opts</span>=<span class="ruby-constant">OPTS</span>)
<span class="line-num">589</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">apply</span>(<span class="ruby-identifier">model</span>, <span class="ruby-identifier">opts</span>=<span class="ruby-constant">OPTS</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">_</span>)
<span class="line-num">590</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">plugin</span> <span class="ruby-value">:serialization</span>
<span class="line-num">591</span> <span class="ruby-keyword">end</span></pre>
</div>
Expand Down
4 changes: 2 additions & 2 deletions rdoc-plugins/classes/Sequel/Plugins/InputTransformer.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h2>Public Class methods</h2>
<div class='method public-class' id='method-method-c-apply'>
<a name='method-c-apply'></a>
<div class='synopsis'>
<span class='name'>apply</span><span class='arguments'>(model, *)</span>
<span class='name'>apply</span><span class='arguments'>(model, *, &_)</span>

</div>
<div class='description'>
Expand All @@ -93,7 +93,7 @@ <h2>Public Class methods</h2>
[show source]
</a>
<pre id='method-c-apply-source'> <span class="ruby-comment"># File lib/sequel/plugins/input_transformer.rb</span>
<span class="line-num">27</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">apply</span>(<span class="ruby-identifier">model</span>, <span class="ruby-operator">*</span>)
<span class="line-num">27</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">apply</span>(<span class="ruby-identifier">model</span>, <span class="ruby-operator">*</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">_</span>)
<span class="line-num">28</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">instance_exec</span> <span class="ruby-keyword">do</span>
<span class="line-num">29</span> <span class="ruby-ivar">@input_transformers</span> = {}
<span class="line-num">30</span> <span class="ruby-ivar">@skip_input_transformer_columns</span> = {}
Expand Down
65 changes: 65 additions & 0 deletions rdoc-plugins/classes/Sequel/TemporarilyReleaseConnection.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<title>Sequel::TemporarilyReleaseConnection</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<link href='../../css/style.css' media='screen' rel='stylesheet' type='text/css'>
<script type='text/javascript'>
function popupCode(url) {
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}

function toggleCode(id) {
var code = document.getElementById(id)

code.style.display = code.style.display != 'block' ? 'block' : 'none'
return true
}

// Make codeblocks hidden by default
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>')
</script>
</head>
<body class='page'>
<div class='class' id='wrapper'>
<div class='header'>
<h1 class='name'><span class='type'>module</span>
Sequel::TemporarilyReleaseConnection
</h1>
<ol class='paths'>
<li>
<a href="../../files/lib/sequel/extensions/temporarily_release_connection_rb.html">lib/sequel/extensions/temporarily_release_connection.rb</a>
</li>
</ol>
</div>
<div id='content'>
<div id='text'>
<div id='description'></div>
<div id='context'>
</div>
<div id='class-list'>
<h2>Classes and Modules</h2>
<ol>
<li><a href="TemporarilyReleaseConnection/DatabaseMethods.html">Sequel::TemporarilyReleaseConnection::DatabaseMethods</a></li>
<li><a href="TemporarilyReleaseConnection/PoolMethods.html">Sequel::TemporarilyReleaseConnection::PoolMethods</a></li>
<li><a href="TemporarilyReleaseConnection/ShardedThreaded.html">Sequel::TemporarilyReleaseConnection::ShardedThreaded</a></li>
<li><a href="TemporarilyReleaseConnection/ShardedTimedQueue.html">Sequel::TemporarilyReleaseConnection::ShardedTimedQueue</a></li>
<li><a href="TemporarilyReleaseConnection/Threaded.html">Sequel::TemporarilyReleaseConnection::Threaded</a></li>
<li><a href="TemporarilyReleaseConnection/ThreadedBase.html">Sequel::TemporarilyReleaseConnection::ThreadedBase</a></li>
<li><a href="TemporarilyReleaseConnection/TimedQueue.html">Sequel::TemporarilyReleaseConnection::TimedQueue</a></li>
</ol>
</div>
<div id='section'>
</div>

</div>
</div>

<div id='footer-push'></div>
</div>
<div id='footer'>
<a href="https://github.com/jeremyevans/hanna"><strong>Hanna</strong> RDoc template</a>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<title>Sequel::TemporarilyReleaseConnection::DatabaseMethods</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<link href='../../../css/style.css' media='screen' rel='stylesheet' type='text/css'>
<script type='text/javascript'>
function popupCode(url) {
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}

function toggleCode(id) {
var code = document.getElementById(id)

code.style.display = code.style.display != 'block' ? 'block' : 'none'
return true
}

// Make codeblocks hidden by default
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>')
</script>
</head>
<body class='page'>
<div class='class' id='wrapper'>
<div class='header'>
<h1 class='name'><span class='type'>module</span>
Sequel::TemporarilyReleaseConnection::DatabaseMethods
</h1>
<ol class='paths'>
<li>
<a href="../../../files/lib/sequel/extensions/temporarily_release_connection_rb.html">lib/sequel/extensions/temporarily_release_connection.rb</a>
</li>
</ol>
</div>
<div id='content'>
<div id='text'>
<div id='description'></div>
<div id='method-list'>
<h2>Methods</h2>
<h3>Public Instance</h3>
<ol>
<li><a href="#method-i-temporarily_release_connection">temporarily_release_connection</a></li>
</ol>
</div>
<div id='context'>
</div>
<div id='section'>
<div id='methods'>
<h2>Public Instance methods</h2>
<div class='method public-instance' id='method-method-i-temporarily_release_connection'>
<a name='method-i-temporarily_release_connection'></a>
<div class='synopsis'>
<span class='name'>temporarily_release_connection</span><span class='arguments'>(conn, server=:default, &block)</span>

</div>
<div class='description'>

<p>Temporarily release the connection back to the connection pool for the duration of the block.</p>

</div>
<div class='source'>
<a class='source-toggle' href='#' onclick='toggleCode(&#39;method-i-temporarily_release_connection-source&#39;); return false'>
[show source]
</a>
<pre id='method-i-temporarily_release_connection-source'> <span class="ruby-comment"># File lib/sequel/extensions/temporarily_release_connection.rb</span>
<span class="line-num">58</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">temporarily_release_connection</span>(<span class="ruby-identifier">conn</span>, <span class="ruby-identifier">server</span>=<span class="ruby-value">:default</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="line-num">59</span> <span class="ruby-identifier">pool</span>.<span class="ruby-identifier">temporarily_release_connection</span>(<span class="ruby-identifier">conn</span>, <span class="ruby-identifier">server</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="line-num">60</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
</div>
</div>

</div>
</div>

<div id='footer-push'></div>
</div>
<div id='footer'>
<a href="https://github.com/jeremyevans/hanna"><strong>Hanna</strong> RDoc template</a>
</div>
</body>
</html>
Loading

0 comments on commit 04df42b

Please sign in to comment.