<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">HorimotoYasuhiro <horim****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-04-26 15:38:44 +0900 (Wed, 26 Apr 2017)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233">36407eacdf541af474852389824ce9ac16a31233</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
<dd style="margin-left: 8.5em">
<ul>
<li>Merged <a href="https://github.com/ranguba/groonga-client/commit/21cf21b">21cf21b</a>: Merge pull request <a href="https://github.com/ranguba/groonga-client/issues/19">#19</a> from komainu8/feature/add_geo_in_rectangle</li>
</ul>
</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add geo_in_rectangle method in `select.rb`.</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70">lib/groonga/client/request/select.rb</a></li>
<li><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5">test/request/select/test-filter.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/groonga/client/request/select.rb (+38 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L92">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L95">95</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L98">98</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L217">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L218">218</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L220">220</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L221">221</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70L223">223</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R92">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R95">95</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R96">96</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R97">97</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R98">98</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R99">99</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R103">103</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R222">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R224">224</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R225">225</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R226">226</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R227">227</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R228">228</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R229">229</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R230">230</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R231">231</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R232">232</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R233">233</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R234">234</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R235">235</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R236">236</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R237">237</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R238">238</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R239">239</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R240">240</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R241">241</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R242">242</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R243">243</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R244">244</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R245">245</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R246">246</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R247">247</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R248">248</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R249">249</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R250">250</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R251">251</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R252">252</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R253">253</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R254">254</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R255">255</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R256">256</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R257">257</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R258">258</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R259">259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R260">260</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-77896fa1ebc078d26d520b539cd80e70R261">261</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -93,6 +93,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # filter.in_values(:tags, "tag1", "tag2")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # # -> --filter 'in_values(tags, "tag1", "tag2")'</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @example: Use geo_in_rectangle function</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # request.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # filter.geo_in_rectangle("50x50", "0x100", "100x0")</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # # -> --filter 'geo_in_rectangle("50x50", "0x100", "100x0")'</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # @example Use geo_in_circle function</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # request.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # filter.geo_in_circle(:location, "100x100", 300)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -218,6 +223,39 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @request = request</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # Adds a `geo_in_rectangle` condition then return a new `select`</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # request object.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @see http://groonga.org/docs/reference/functions/geo_in_rectangle.html</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # geo_in_rectangle function in the Groonga document</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @example: Basic usage</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # request.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # filter.geo_in_rectangle("50x50", "0x100", "100x0").</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # # -> --filter 'in_values(50x50, 0x100, 100x0)'</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @param point [String] The point to be checked.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # `"#{LONGITUDE}x#{LATITUDE}"` is the point format.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @param top_left [String] The top left of the condition rectangle.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @param bottom_right [String] The bottom right of the condition rectangle.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @return [Groonga::Client::Request::Select]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # The new request with the given condition.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @since 0.5.0</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def geo_in_rectangle(point, top_left, bottom_right)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ expression = "geo_in_rectangle(%{point}"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ expression << ", %{top_left}"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ expression << ", %{bottom_right}"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ expression << ")"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @request.filter(expression,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ point: point,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ top_left: top_left,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ bottom_right: bottom_right)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Adds a `geo_in_circle` condition then returns a new `select`</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # request object.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/request/select/test-filter.rb (+14 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L201">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L202">202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L203">203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L204">204</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L205">205</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L206">206</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5L207">207</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R201">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R202">202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R203">203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R204">204</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R205">205</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R206">206</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R207">207</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R208">208</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R209">209</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R210">210</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R211">211</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R212">212</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R213">213</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R214">214</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R215">215</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R216">216</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R217">217</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R218">218</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R220">220</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/36407eacdf541af474852389824ce9ac16a31233#diff-97fd0beaedded8e59b6c4df182a821c5R221">221</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -202,6 +202,20 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">title == "[\"He\\ llo\"]"</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> sub_test_case("Filter") do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ sub_test_case("#geo_in_rectangle") do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def geo_in_rectangle(*args)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @request.filter.geo_in_rectangle(*args).to_parameters</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ test("point") do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ assert_equal({</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :table => "posts",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :filter => "geo_in_rectangle(\"50x50\", \"0x100\", \"100x0\")",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ },</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ geo_in_rectangle("50x50", "0x100", "100x0"))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> sub_test_case("#geo_in_circle") do</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def geo_in_circle(*args)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @request.filter.geo_in_circle(*args).to_parameters</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>