-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a45d2b
commit 04df42b
Showing
34 changed files
with
1,110 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
rdoc-plugins/classes/Sequel/TemporarilyReleaseConnection.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
84 changes: 84 additions & 0 deletions
84
rdoc-plugins/classes/Sequel/TemporarilyReleaseConnection/DatabaseMethods.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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('method-i-temporarily_release_connection-source'); 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">&</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">&</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> |
Oops, something went wrong.