Skip to content

Commit

Permalink
Update website for 5.87.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Dec 1, 2024
1 parent f939c35 commit 67be5eb
Show file tree
Hide file tree
Showing 39 changed files with 1,038 additions and 617 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.86.0)</h1>
<h1 class="h1">Documentation for Sequel (v5.87.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_87_0_txt.html">5.87</a> |

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

<a class="a" href="rdoc/files/doc/release_notes/5_85_0_txt.html">5.85</a> |
Expand Down
10 changes: 9 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.86.0</h1>
<h1 class="h1">Sequel::Model Plugins for v5.87.0</h1>

<div class="plugins__sidebar">
<aside class="plugins__sidebar-aside">
Expand Down Expand Up @@ -500,6 +500,10 @@ <h4 class="h4">Other</h4>
<span class="ul__span">Adds Model.finder and Model.prepared_finder methods for defining optimized lookup methods.</span>
</li>
<li class="ul__li ul__li--grid">
<a class="a" href="rdoc-plugins/classes/Sequel/Plugins/InspectPk.html">inspect_pk </a>
<span class="ul__span">Makes it easier to retrieve model instance based on inspect output.</span>
</li>
<li class="ul__li ul__li--grid">
<a class="a" href="rdoc-plugins/classes/Sequel/Plugins/List.html">list </a>
<span class="ul__span">Allows you to treat model objects as being part of a list, so you can move them up/down and get next/previous entries.</span>
</li>
Expand Down Expand Up @@ -780,6 +784,10 @@ <h3 class="h3">Database extensions that ship with Sequel</h3>
<span class="ul__span">Adds support for PostgreSQL row-valued/composite types.</span>
</li>
<li class="ul__li ul__li--grid">
<a class="a" href="rdoc-plugins/files/lib/sequel/extensions/pg_schema_caching_rb.html">pg_schema_caching </a>
<span class="ul__span">Builds on schema_caching extension, reloading OIDs for custom types when loading cached schema.</span>
</li>
<li class="ul__li ul__li--grid">
<a class="a" href="rdoc-plugins/files/lib/sequel/extensions/pg_static_cache_updater_rb.html">pg_static_cache_updater </a>
<span class="ul__span">Listens for changes to underlying tables in order to automatically update models using the static_cache plugin.</span>
</li>
Expand Down
302 changes: 151 additions & 151 deletions rdoc-adapters/classes/Sequel/MySQL/DatasetMethods.html

Large diffs are not rendered by default.

534 changes: 267 additions & 267 deletions rdoc-adapters/classes/Sequel/Postgres/DatasetMethods.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions rdoc-adapters/classes/Sequel/Trilogy/Dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ <h2>Public Instance methods</h2>
<a class='source-toggle' href='#' onclick='toggleCode(&#39;method-i-fetch_rows-source&#39;); return false'>
[show source]
</a>
<pre id='method-i-fetch_rows-source'> <span class="ruby-comment"># File lib/sequel/adapters/trilogy.rb</span>
<span class="line-num"> 94</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fetch_rows</span>(<span class="ruby-identifier">sql</span>)
<span class="line-num"> 95</span> <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">sql</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
<span class="line-num"> 96</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">columns</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">fields</span>.<span class="ruby-identifier">map!</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">output_identifier</span>(<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>)}
<span class="line-num"> 97</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">each_hash</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">h</span>}
<span class="line-num"> 98</span> <span class="ruby-keyword">end</span>
<span class="line-num"> 99</span> <span class="ruby-keyword">self</span>
<span class="line-num">100</span> <span class="ruby-keyword">end</span></pre>
<pre id='method-i-fetch_rows-source'> <span class="ruby-comment"># File lib/sequel/adapters/trilogy.rb</span>
<span class="line-num">93</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fetch_rows</span>(<span class="ruby-identifier">sql</span>)
<span class="line-num">94</span> <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">sql</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
<span class="line-num">95</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">columns</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">fields</span>.<span class="ruby-identifier">map!</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">output_identifier</span>(<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>)}
<span class="line-num">96</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">each_hash</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">h</span>}
<span class="line-num">97</span> <span class="ruby-keyword">end</span>
<span class="line-num">98</span> <span class="ruby-keyword">self</span>
<span class="line-num">99</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions rdoc-adapters/created.rid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fri, 01 Nov 2024 09:23:32 -0700
Sun, 01 Dec 2024 09:22:43 -0800
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 Expand Up @@ -31,15 +31,15 @@ lib/sequel/adapters/postgresql.rb Tue, 01 Aug 2017 08:12:00 -0700
lib/sequel/adapters/shared/access.rb Wed, 21 Dec 2022 15:06:01 -0800
lib/sequel/adapters/shared/db2.rb Thu, 11 Jul 2024 11:09:22 -0700
lib/sequel/adapters/shared/mssql.rb Thu, 11 Jul 2024 11:09:22 -0700
lib/sequel/adapters/shared/mysql.rb Fri, 05 Apr 2024 07:51:26 -0700
lib/sequel/adapters/shared/mysql.rb Mon, 11 Nov 2024 14:55:11 -0800
lib/sequel/adapters/shared/oracle.rb Wed, 06 Dec 2023 16:41:40 -0800
lib/sequel/adapters/shared/postgres.rb Thu, 03 Oct 2024 14:10:05 -0700
lib/sequel/adapters/shared/postgres.rb Mon, 11 Nov 2024 14:55:11 -0800
lib/sequel/adapters/shared/sqlanywhere.rb Wed, 06 Dec 2023 16:41:40 -0800
lib/sequel/adapters/shared/sqlite.rb Thu, 22 Aug 2024 11:50:35 -0700
lib/sequel/adapters/sqlanywhere.rb Tue, 21 Sep 2021 14:24:30 -0700
lib/sequel/adapters/sqlite.rb Sun, 27 Oct 2024 20:47:17 -0700
lib/sequel/adapters/tinytds.rb Tue, 21 Sep 2021 14:24:30 -0700
lib/sequel/adapters/trilogy.rb Thu, 04 May 2023 13:25:27 -0700
lib/sequel/adapters/trilogy.rb Thu, 07 Nov 2024 20:43:02 -0800
lib/sequel/adapters/utils/columns_limit_1.rb Wed, 13 Oct 2021 12:18:25 -0700
lib/sequel/adapters/utils/emulate_offset_with_reverse_and_count.rb Fri, 03 Aug 2018 16:28:24 -0700
lib/sequel/adapters/utils/emulate_offset_with_row_number.rb Tue, 01 Aug 2017 08:12:00 -0700
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class='name'>mysql.rb
</div>
<div class='last-update'>
Last Update:
<span class='datetime'>2024-04-05 07:51:26 -0700</span>
<span class='datetime'>2024-11-11 14:55:11 -0800</span>
</div>
</div>
<div id='content'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class='name'>postgres.rb
</div>
<div class='last-update'>
Last Update:
<span class='datetime'>2024-10-03 14:10:05 -0700</span>
<span class='datetime'>2024-11-11 14:55:11 -0800</span>
</div>
</div>
<div id='content'>
Expand Down
2 changes: 1 addition & 1 deletion rdoc-adapters/files/lib/sequel/adapters/trilogy_rb.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class='name'>trilogy.rb
</div>
<div class='last-update'>
Last Update:
<span class='datetime'>2023-05-04 13:25:27 -0700</span>
<span class='datetime'>2024-11-07 20:43:02 -0800</span>
</div>
</div>
<div id='content'>
Expand Down
6 changes: 6 additions & 0 deletions rdoc-plugins/classes/Sequel.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ <h1 class='name'><span class='type'>module</span>
<a href="../files/lib/sequel/extensions/pg_row_ops_rb.html">lib/sequel/extensions/pg_row_ops.rb</a>
</li>
<li class='other'>
<a href="../files/lib/sequel/extensions/pg_schema_caching_rb.html">lib/sequel/extensions/pg_schema_caching.rb</a>
</li>
<li class='other'>
<a href="../files/lib/sequel/extensions/pg_static_cache_updater_rb.html">lib/sequel/extensions/pg_static_cache_updater.rb</a>
</li>
<li class='other'>
Expand Down Expand Up @@ -446,6 +449,9 @@ <h1 class='name'><span class='type'>module</span>
<a href="../files/lib/sequel/plugins/insert_returning_select_rb.html">lib/sequel/plugins/insert_returning_select.rb</a>
</li>
<li class='other'>
<a href="../files/lib/sequel/plugins/inspect_pk_rb.html">lib/sequel/plugins/inspect_pk.rb</a>
</li>
<li class='other'>
<a href="../files/lib/sequel/plugins/instance_filters_rb.html">lib/sequel/plugins/instance_filters.rb</a>
</li>
<li class='other'>
Expand Down
4 changes: 4 additions & 0 deletions rdoc-plugins/classes/Sequel/Plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ <h1 class='name'><span class='type'>module</span>
<a href="../../files/lib/sequel/plugins/insert_returning_select_rb.html">lib/sequel/plugins/insert_returning_select.rb</a>
</li>
<li class='other'>
<a href="../../files/lib/sequel/plugins/inspect_pk_rb.html">lib/sequel/plugins/inspect_pk.rb</a>
</li>
<li class='other'>
<a href="../../files/lib/sequel/plugins/instance_filters_rb.html">lib/sequel/plugins/instance_filters.rb</a>
</li>
<li class='other'>
Expand Down Expand Up @@ -390,6 +393,7 @@ <h2>Classes and Modules</h2>
<li><a href="Plugins/InputTransformer.html">Sequel::Plugins::InputTransformer</a></li>
<li><a href="Plugins/InsertConflict.html">Sequel::Plugins::InsertConflict</a></li>
<li><a href="Plugins/InsertReturningSelect.html">Sequel::Plugins::InsertReturningSelect</a></li>
<li><a href="Plugins/InspectPk.html">Sequel::Plugins::InspectPk</a></li>
<li><a href="Plugins/InstanceFilters.html">Sequel::Plugins::InstanceFilters</a></li>
<li><a href="Plugins/InstanceHooks.html">Sequel::Plugins::InstanceHooks</a></li>
<li><a href="Plugins/InstanceSpecificDefault.html">Sequel::Plugins::InstanceSpecificDefault</a></li>
Expand Down
75 changes: 75 additions & 0 deletions rdoc-plugins/classes/Sequel/Plugins/InspectPk.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<title>Sequel::Plugins::InspectPk</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::Plugins::InspectPk
</h1>
<ol class='paths'>
<li>
<a href="../../../files/lib/sequel/plugins/inspect_pk_rb.html">lib/sequel/plugins/inspect_pk.rb</a>
</li>
</ol>
</div>
<div id='content'>
<div id='text'>
<div id='description'>
<p>The inspect_pk plugin includes the pk right next to the model name in inspect, allowing for easily copying and pasting to retrieve a copy of the object:</p>

<pre class="ruby"><span class="ruby-constant">Album</span>.<span class="ruby-identifier">with_pk</span>(<span class="ruby-value">1</span>).<span class="ruby-identifier">inspect</span>
<span class="ruby-comment"># default: #&lt;Album @values={...}&gt;</span>
<span class="ruby-comment"># with inspect_pk: #&lt;Album[1] @values={...}&gt;</span>
</pre>

<p>Usage:</p>

<pre class="ruby"><span class="ruby-comment"># Make all model instances include pk in inspect output</span>
<span class="ruby-constant">Sequel</span><span class="ruby-operator">::</span><span class="ruby-constant">Model</span>.<span class="ruby-identifier">plugin</span> <span class="ruby-value">:inspect_pk</span>

<span class="ruby-comment"># Make Album instances include pk in inspect output</span>
<span class="ruby-constant">Album</span>.<span class="ruby-identifier">plugin</span> <span class="ruby-value">:inspect_pk</span>
</pre>
</div>
<div id='context'>
</div>
<div id='class-list'>
<h2>Classes and Modules</h2>
<ol>
<li><a href="InspectPk/InstanceMethods.html">Sequel::Plugins::InspectPk::InstanceMethods</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>
53 changes: 53 additions & 0 deletions rdoc-plugins/classes/Sequel/Plugins/InspectPk/InstanceMethods.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<title>Sequel::Plugins::InspectPk::InstanceMethods</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::Plugins::InspectPk::InstanceMethods
</h1>
<ol class='paths'>
<li>
<a href="../../../../files/lib/sequel/plugins/inspect_pk_rb.html">lib/sequel/plugins/inspect_pk.rb</a>
</li>
</ol>
</div>
<div id='content'>
<div id='text'>
<div id='description'></div>
<div id='context'>
</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>
4 changes: 4 additions & 0 deletions rdoc-plugins/classes/Sequel/Postgres.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ <h1 class='name'><span class='type'>module</span>
<a href="../../files/lib/sequel/extensions/pg_row_ops_rb.html">lib/sequel/extensions/pg_row_ops.rb</a>
</li>
<li class='other'>
<a href="../../files/lib/sequel/extensions/pg_schema_caching_rb.html">lib/sequel/extensions/pg_schema_caching.rb</a>
</li>
<li class='other'>
<a href="../../files/lib/sequel/extensions/pg_static_cache_updater_rb.html">lib/sequel/extensions/pg_static_cache_updater.rb</a>
</li>
<li class='other'>
Expand Down Expand Up @@ -143,6 +146,7 @@ <h2>Classes and Modules</h2>
<li><a href="Postgres/LooseCount.html">Sequel::Postgres::LooseCount</a></li>
<li><a href="Postgres/PGRow.html">Sequel::Postgres::PGRow</a></li>
<li><a href="Postgres/RangeOpMethods.html">Sequel::Postgres::RangeOpMethods</a></li>
<li><a href="Postgres/SchemaCaching.html">Sequel::Postgres::SchemaCaching</a></li>
<li><a href="Postgres/StaticCacheUpdater.html">Sequel::Postgres::StaticCacheUpdater</a></li>
<li><a href="Postgres/Timestamptz.html">Sequel::Postgres::Timestamptz</a></li>
<li><a href="Postgres/TimestamptzDatasetMethods.html">Sequel::Postgres::TimestamptzDatasetMethods</a></li>
Expand Down
59 changes: 59 additions & 0 deletions rdoc-plugins/classes/Sequel/Postgres/SchemaCaching.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<title>Sequel::Postgres::SchemaCaching</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::Postgres::SchemaCaching
</h1>
<ol class='paths'>
<li>
<a href="../../../files/lib/sequel/extensions/pg_schema_caching_rb.html">lib/sequel/extensions/pg_schema_caching.rb</a>
</li>
</ol>
</div>
<div id='content'>
<div id='text'>
<div id='description'></div>
<div id='context'>
<div id='includes'>
<h2>Included modules</h2>
<ol>
<li><a href="../SchemaCaching.html">Sequel::SchemaCaching</a></li>
</ol>
</div>
</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>
Loading

0 comments on commit 67be5eb

Please sign in to comment.