<!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">2017-04-26 15:12:00 +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/fa1d2d1e5d181af487f92882db9de6c9324b6c50">fa1d2d1e5d181af487f92882db9de6c9324b6c50</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">Stop to use needless variable length arguments</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70">lib/groonga/client/request/select.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/client/request/select.rb (+14 -8)</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/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L508">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L509">509</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L510">510</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L511">511</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L512">512</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L513">513</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L514">514</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/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L515">515</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L517">517</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L518">518</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L519">519</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L520">520</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L521">521</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L522">522</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L523">523</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L524">524</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/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L525">525</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L526">526</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70L527">527</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/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R508">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R509">509</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R510">510</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R511">511</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: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R512">512</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R513">513</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R514">514</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R515">515</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: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R516">516</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R517">517</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R518">518</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R519">519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R521">521</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R522">522</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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R523">523</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R524">524</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R525">525</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R526">526</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R527">527</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/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R528">528</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R529">529</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: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R530">530</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R531">531</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R532">532</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/fa1d2d1e5d181af487f92882db9de6c9324b6c50#diff-77896fa1ebc078d26d520b539cd80e70R533">533</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">@@ -509,19 +509,25 @@ <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">         class FilterBetweenParameter</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           include ScriptSyntaxValueEscapable</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-          def initialize(column_name, *values)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          def initialize(column_name,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                         min, min_border,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                         max, max_border)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @column_name = column_name</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            @values = values</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            @min = min</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            @min_border = min_border</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            @max = max</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            @max_border = max_border</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">           def to_parameters</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            return {} if @values.empty?</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            escaped_values = @values.collect do |value|</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-              escape_script_syntax_value(value)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            filter = &quot;between(#{@column_name}&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            filter &lt;&lt; &quot;, #{escape_script_syntax_value(@min)}&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            filter &lt;&lt; &quot;, #{escape_script_syntax_value(@min_border)}&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            filter &lt;&lt; &quot;, #{escape_script_syntax_value(@max)}&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            filter &lt;&lt; &quot;, #{escape_script_syntax_value(@max_border)}&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            filter &lt;&lt; &quot;)&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             {</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-              filter: <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">&quot;be</span>t<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">w</span>e<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">en(#{@column_name}, #{escaped_values.join(&quot;, &quot;)})&quot;</span>,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              filter: <span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">fil</span>te<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">r</span>,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             }</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>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>