<!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">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-10-06 16:47:34 +0900 (Tue, 06 Oct 2015)</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/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b">3cec5bcc7f5d23b696facedadfce9e963f0cb95b</a></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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Support call expression</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/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0">lib/groonga/expression-builder.rb</a></li>
          <li><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33">test/test-expression-builder.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, &quot;Liberation Mono&quot;, 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/expression-builder.rb (+27 -1)</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, &quot;Liberation Mono&quot;, 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/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L1">1</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L2">2</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L3">3</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L4">4</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L7">7</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L447">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L448">448</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L449">449</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L450">450</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L451">451</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L452">452</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L453">453</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L515">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L517">517</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L518">518</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L519">519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0L521">521</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R1">1</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R2">2</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R3">3</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R7">7</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R447">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R448">448</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R449">449</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R450">450</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R451">451</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R452">452</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R453">453</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R454">454</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R455">455</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R456">456</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R457">457</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R458">458</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R459">459</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R460">460</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R461">461</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R462">462</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R463">463</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R464">464</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R465">465</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R466">466</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R467">467</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R468">468</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R469">469</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R470">470</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R471">471</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R472">472</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R473">473</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R475">475</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R537">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R538">538</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R539">539</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R540">540</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R541">541</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R542">542</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R543">543</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R544">544</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R545">545</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R546">546</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-38c8d15cec8d900666ac297c90c39fe0R547">547</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -1,7 +1,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # -*- coding: utf-8 -*-</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Copyright (C) 2015  Masafumi Yokoyama &lt;yokoy****@clear*****&gt;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-# Copyright (C) 2009-2012  Kouhei Sutou &lt;kou****@clear*****&gt;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# Copyright (C) 2009-2015  Kouhei Sutou &lt;kou****@clear*****&gt;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # This library is free software; you can redistribute it and/or</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # modify it under the terms of the GNU Lesser General Public</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -448,6 +448,28 @@ <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">         super(Groonga::Operation::TERM_EXTRACT, column_value_builder, value)</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">     end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    # @private</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    class CallExpressionBuilder &lt; ExpressionBuilder</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      def initialize(function, *arguments)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        super()</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        @function = function</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        @arguments = arguments</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      def build(expression, variable)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        expression.append_object(@function)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        @arguments.each do |argument|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          case argument</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          when String</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            expression.append_constant(argument)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          else</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            argument.build(expression, variable)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        expression.append_operation(Operation::CALL, @arguments.size)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    end</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">   # @private</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -516,6 +538,10 @@ <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">       column_expression_builder(object, name)</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: #aaffaa; color: #000000; display: block; white-space: pre">+    def call(function, *arguments)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      CallExpressionBuilder.new(@table.context[function], *arguments)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     private</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     def build_match_target(&amp;block)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       sub_builder = MatchTargetRecordExpressionBuilder.new(@table, nil)</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, &quot;Liberation Mono&quot;, 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/test-expression-builder.rb (+38 -1)</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, &quot;Liberation Mono&quot;, 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/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L1">1</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L2">2</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L3">3</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L4">4</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L7">7</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L522">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L523">523</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L524">524</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L525">525</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L526">526</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L527">527</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33L528">528</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R1">1</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R2">2</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R3">3</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R7">7</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R522">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R523">523</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R524">524</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R525">525</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R526">526</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R527">527</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R528">528</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R529">529</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R530">530</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R531">531</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R532">532</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R533">533</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R534">534</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R535">535</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R536">536</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R537">537</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R538">538</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R539">539</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R540">540</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R541">541</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R542">542</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R543">543</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R544">544</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R545">545</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R546">546</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R547">547</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R548">548</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R549">549</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R550">550</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R551">551</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R552">552</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R553">553</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R554">554</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R555">555</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R556">556</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R557">557</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R558">558</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R559">559</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R560">560</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R561">561</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R562">562</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R563">563</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R564">564</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/3cec5bcc7f5d23b696facedadfce9e963f0cb95b#diff-1e5b2e1c2bfd1ff52efb90d2524f2d33R565">565</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -1,7 +1,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # -*- coding: utf-8 -*-</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Copyright (C) 2014-2015  Masafumi Yokoyama &lt;yokoy****@clear*****&gt;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-# Copyright (C) 2009-2012  Kouhei Sutou &lt;kou****@clear*****&gt;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# Copyright (C) 2009-2015  Kouhei Sutou &lt;kou****@clear*****&gt;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # This library is free software; you can redistribute it and/or</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # modify it under the terms of the GNU Lesser General Public</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -523,6 +523,43 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">EOC</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">   end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  class CallTest &lt; self</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    def setup_tables</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      Groonga::Schema.define do |schema|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        schema.create_table(&quot;Shops&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                            :type =&gt; :hash,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                            :key_type =&gt; &quot;ShortText&quot;) do |table|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          table.wgs84_geo_point(&quot;location&quot;)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        schema.create_table(&quot;Locations&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                            :type =&gt; :patricia_trie,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                            :key_type =&gt; :wgs84_geo_point) do |table|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          table.index(&quot;Shops.location&quot;)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      @shops = Groonga[&quot;Shops&quot;]</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    def setup_data</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      @shops.add(&quot;Nezu no taiyaki&quot;, :location =&gt; &quot;35.720253,139.762573&quot;)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      @shops.add(&quot;Taiyaki Kataoka&quot;, :location =&gt; &quot;35.712521,139.715591&quot;)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      @shops.add(&quot;Taiyaki Sharaku&quot;, :location =&gt; &quot;35.716969,139.794846&quot;)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    def test_search</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      result = @shops.select do |record|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        record.call(&quot;geo_in_rectangle&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    record.location,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    &quot;35.7185,139.7912&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    &quot;35.7065,139.8069&quot;)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      assert_equal([&quot;Taiyaki Sharaku&quot;],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                   result.collect(&amp;:_key))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   class RecordTest &lt; self</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     def setup_tables</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       Groonga::Schema.define do |schema|</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>