Skip to content

Commit

Permalink
Update website for 4.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Apr 1, 2014
1 parent 6b5dcfe commit d2195ec
Show file tree
Hide file tree
Showing 133 changed files with 3,892 additions and 1,903 deletions.
11 changes: 11 additions & 0 deletions _posts/2014-04-01-sequel-490-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: post
title: Sequel 4.9.0 Released
---

Sequel 4.9.0 was released today! <a href="/rdoc/files/doc/release_notes/4_9_0_txt.html">Full release notes are available</a>, but here are some highlights:

* A Dataset::PlaceholderLiteralizer optimization framework has been added.
* Model.first, .first!, .find, .[] are now about 50% faster in some cases.
* The PostgreSQL array parser is up to 1000x faster.
* Dataset#paged_each accepts a :strategy=>:filter option for improved performance.
4 changes: 3 additions & 1 deletion documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>The Database Toolkit for Ruby</h1>

<div id="content">
<br style="clear: both;" />
<h2>Documentation for Sequel (v4.8.0)</h2>
<h2>Documentation for Sequel (v4.9.0)</h2>

<h3>General Info, Guides, Examples, and Tutorials</h3>

Expand Down Expand Up @@ -114,6 +114,8 @@ <h3>Release Notes</h3>

<li>

<a href="rdoc/files/doc/release_notes/4_9_0_txt.html">4.9</a> |

<a href="rdoc/files/doc/release_notes/4_8_0_txt.html">4.8</a> |

<a href="rdoc/files/doc/release_notes/4_7_0_txt.html">4.7</a> |
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>The Database Toolkit for Ruby</h1>

<div id="content">
<br style="clear: both;" />
<h2>Sequel: The Database Toolkit for Ruby (v4.8.0)</h2>
<h2>Sequel: The Database Toolkit for Ruby (v4.9.0)</h2>

<p>&quot;Sequel has restored my faith in Ruby. It's really amazing. The O/RM I've been hoping for for years.&quot; -- Sam Smoot, creator of DataMapper</p>

Expand Down
3 changes: 2 additions & 1 deletion plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>The Database Toolkit for Ruby</h1>

<div id="content">
<br style="clear: both;" />
<h2>Sequel::Model Plugins for v4.8.0</h2>
<h2>Sequel::Model Plugins for v4.9.0</h2>

<p>Sequel::Model has a standardized and very flexible plugin architecture, see the <a href="rdoc/classes/Sequel/Plugins.html">RDoc</a>. Here is a list of plugins that members of the Sequel community have developed:</p>

Expand Down Expand Up @@ -185,6 +185,7 @@ <h3>Dataset extensions that ship with Sequel</h3>

<ul>
<li><a href="rdoc-plugins/files/lib/sequel/extensions/columns_introspection_rb.html">columns_introspection</a>: Attemps to skip database queries by introspecting the selected columns if possible.</li>
<li><a href="rdoc-plugins/files/lib/sequel/extensions/current_datetime_timestamp_rb.html">current_datetime_timestamp</a>: Creates current Time/DateTime objects that are literalized as CURRENT_TIMESTAMP.</li>
<li><a href="rdoc-plugins/files/lib/sequel/extensions/date_arithmetic_rb.html">date_arithmetic</a>: Allows for database-independent date calculations (adding/subtracting an interval to/from a date/timestamp).</li>
<li><a href="rdoc-plugins/files/lib/sequel/extensions/empty_array_ignore_nulls_rb.html">empty_array_ignore_nulls</a>: Makes Sequel's handling of IN/NOT IN with an empty ignore correct NULL handling.</li>
<li><a href="rdoc-plugins/files/lib/sequel/extensions/filter_having_rb.html">filter_having</a>: Makes Dataset#filter, #and, #or, and #having operate on HAVING clause if HAVING clause is already present.</li>
Expand Down
20 changes: 10 additions & 10 deletions rdoc-adapters/classes/Sequel/DB2/DatasetMethods.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion rdoc-adapters/classes/Sequel/JDBC/Database.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h2 class='section-bar'>Attributes</h2>
<td class='context-item-value'>[R]</td>
<td class='context-item-desc'>

<p>The Java database driver we are using</p>
<p>The Java database driver we are using (should be a Java class)</p>
</td>
</tr>
</table>
Expand Down
4 changes: 2 additions & 2 deletions rdoc-adapters/classes/Sequel/JDBC/Dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ <h2>Public Instance methods</h2>
<a class='source-toggle' href='#' onclick="toggleCode('method-i-fetch_rows-source'); return false">
[show source]
</a>
<pre id='method-i-fetch_rows-source'><span class="ruby-comment"># File lib/sequel/adapters/jdbc.rb, line 714</span>&#x000A;<span class="ruby-keyword">def</span> <span class="ruby-identifier">fetch_rows</span>(<span class="ruby-identifier">sql</span>, &amp;<span class="ruby-identifier">block</span>)&#x000A; <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">sql</span>){<span class="ruby-operator">|</span><span class="ruby-identifier">result</span><span class="ruby-operator">|</span> <span class="ruby-identifier">process_result_set</span>(<span class="ruby-identifier">result</span>, &amp;<span class="ruby-identifier">block</span>)}&#x000A; <span class="ruby-keyword">self</span>&#x000A;<span class="ruby-keyword">end</span></pre>
<pre id='method-i-fetch_rows-source'><span class="ruby-comment"># File lib/sequel/adapters/jdbc.rb, line 716</span>&#x000A;<span class="ruby-keyword">def</span> <span class="ruby-identifier">fetch_rows</span>(<span class="ruby-identifier">sql</span>, &amp;<span class="ruby-identifier">block</span>)&#x000A; <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">sql</span>){<span class="ruby-operator">|</span><span class="ruby-identifier">result</span><span class="ruby-operator">|</span> <span class="ruby-identifier">process_result_set</span>(<span class="ruby-identifier">result</span>, &amp;<span class="ruby-identifier">block</span>)}&#x000A; <span class="ruby-keyword">self</span>&#x000A;<span class="ruby-keyword">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-method-i-prepare'>
Expand All @@ -282,7 +282,7 @@ <h2>Public Instance methods</h2>
<a class='source-toggle' href='#' onclick="toggleCode('method-i-prepare-source'); return false">
[show source]
</a>
<pre id='method-i-prepare-source'><span class="ruby-comment"># File lib/sequel/adapters/jdbc.rb, line 721</span>&#x000A;<span class="ruby-keyword">def</span> <span class="ruby-identifier">prepare</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">name</span>=<span class="ruby-keyword">nil</span>, *<span class="ruby-identifier">values</span>)&#x000A; <span class="ruby-identifier">ps</span> = <span class="ruby-identifier">to_prepared_statement</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">values</span>)&#x000A; <span class="ruby-identifier">ps</span>.<span class="ruby-identifier">extend</span>(<span class="ruby-constant">PreparedStatementMethods</span>)&#x000A; <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>&#x000A; <span class="ruby-identifier">ps</span>.<span class="ruby-identifier">prepared_statement_name</span> = <span class="ruby-identifier">name</span>&#x000A; <span class="ruby-identifier">db</span>.<span class="ruby-identifier">set_prepared_statement</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">ps</span>)&#x000A; <span class="ruby-keyword">end</span>&#x000A; <span class="ruby-identifier">ps</span>&#x000A;<span class="ruby-keyword">end</span></pre>
<pre id='method-i-prepare-source'><span class="ruby-comment"># File lib/sequel/adapters/jdbc.rb, line 723</span>&#x000A;<span class="ruby-keyword">def</span> <span class="ruby-identifier">prepare</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">name</span>=<span class="ruby-keyword">nil</span>, *<span class="ruby-identifier">values</span>)&#x000A; <span class="ruby-identifier">ps</span> = <span class="ruby-identifier">to_prepared_statement</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">values</span>)&#x000A; <span class="ruby-identifier">ps</span>.<span class="ruby-identifier">extend</span>(<span class="ruby-constant">PreparedStatementMethods</span>)&#x000A; <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>&#x000A; <span class="ruby-identifier">ps</span>.<span class="ruby-identifier">prepared_statement_name</span> = <span class="ruby-identifier">name</span>&#x000A; <span class="ruby-identifier">db</span>.<span class="ruby-identifier">set_prepared_statement</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">ps</span>)&#x000A; <span class="ruby-keyword">end</span>&#x000A; <span class="ruby-identifier">ps</span>&#x000A;<span class="ruby-keyword">end</span></pre>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit d2195ec

Please sign in to comment.