<!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 <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-04-27 09:24:00 +0900 (Thu, 27 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/8ff9649b1491dbf2533602536948a743dbd9fe69">8ff9649b1491dbf2533602536948a743dbd9fe69</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">select: change Symbol handling in script syntax
This is a backward incompatible change. But the use case affected by
this change will make Ruby scripts difficult to maintain. I hope that
existing users didn't match the use case. The use case is using Symbol
as string value in script syntax like the following:
filter("title", :value) # => --filter "title == \"value\""
Before this change, all Symbol are treated as string value in script
syntax. We can't specify column (object in general) in script syntax
with the specification.
With this change, Symbol is treated as identifier. It means that Symbol
is treated as column (object in general) in script syntax like the
following:
filter("title", :normalized_title) # => --filter "title == normalized_title"
For backward compatibility, invalid identifier in script syntax is
fallbacked to string value in script syntax like the following:
filter("title", :"Hello World") # => --filter "title == \"Hello World\""
I think that an exception should be raised for the case but I choose the
above specification...</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70">lib/groonga/client/request/select.rb</a></li>
<li><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20">test/request/select/test-filter-equal-parameter.rb</a></li>
<li><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709">test/request/select/test-filter-expression-parameter.rb</a></li>
<li><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910e">test/request/test-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, "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 (+12 -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, "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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L432">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L433">433</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L434">434</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L435">435</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L436">436</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L437">437</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L438">438</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L439">439</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L455">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L456">456</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L457">457</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L458">458</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L459">459</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L460">460</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70L461">461</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R432">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R433">433</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R434">434</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R435">435</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R436">436</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R437">437</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R438">438</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R439">439</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R440">440</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R441">441</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R442">442</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R443">443</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R459">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R460">460</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R461">461</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R462">462</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R463">463</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R464">464</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R465">465</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R466">466</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R467">467</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R468">468</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R469">469</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R470">470</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-77896fa1ebc078d26d520b539cd80e70R472">472</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">@@ -433,7 +433,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"> when String</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ScriptSyntax.format_string(value)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> when Symbol</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- ScriptSyntax.format_string(value.to_s)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ if valid_script_syntax_identifier?(value)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ value.to_s</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ else</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ ScriptSyntax.format_string(value.to_s)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> when ::Array</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> escaped_value = "["</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> value.each_with_index do |element, i|</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -456,6 +460,13 @@ <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"> 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: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ identifier_part = "[a-zA-Z_][a-zA-Z0-9_]*"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ VALID_SCRIPT_SYNTAX_IDENTIFIER_PATTERN =</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ /\A#{identifier_part}(?:\.#{identifier_part})*\z/</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def valid_script_syntax_identifier?(value)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ VALID_SCRIPT_SYNTAX_IDENTIFIER_PATTERN === value.to_s</span>
<span class="diff-added" style="background-color: #eaffea; 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>
</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-equal-parameter.rb (+14 -5)</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L50">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L53">53</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L54">54</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L55">55</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L56">56</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L57">57</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L58">58</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L60">60</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20L61">61</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R50">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R53">53</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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R54">54</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R55">55</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R56">56</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R57">57</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R58">58</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R59">59</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R60">60</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R61">61</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R62">62</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R63">63</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R64">64</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R65">65</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R66">66</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-75e13a8086fff469ae4da36c7c161c20R70">70</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">@@ -51,11 +51,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"> to_parameters("title", "[\"He\\ llo\"]"))</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-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- def test_symbol</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- assert_equal({</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :filter => "title == \"Hello\"",</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">- to_parameters("title", :Hello))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ sub_test_case("Symbol") do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def test_id</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">+ :filter => "title == normalized_title",</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">+ to_parameters("title", :normalized_title))</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">+ def test_not_id</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">+ :filter => "title == \"Hello World\"",</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">+ to_parameters("title", :"Hello World"))</span>
<span class="diff-added" style="background-color: #eaffea; 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"> def test_number</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-expression-parameter.rb (+17 -6)</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L54">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L57">57</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L58">58</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L59">59</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L60">60</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L61">61</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L62">62</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L63">63</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709L66">66</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R54">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R57">57</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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R58">58</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R59">59</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R60">60</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R61">61</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R62">62</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R63">63</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R64">64</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R65">65</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R66">66</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R67">67</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R68">68</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R69">69</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R70">70</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R71">71</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R72">72</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R73">73</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-fa8635b01b3a68a920597912a8c38709R77">77</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">@@ -55,12 +55,23 @@ <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"> :value => "[\"He\\ llo\"]"))</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-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- def test_symbol</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- assert_equal({</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :filter => "title == \"Hello\"",</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">- to_parameters("title == %{value}",</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :value => :Hello))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ sub_test_case("Symbol") do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def test_valid_id</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">+ :filter => "title == \"Hello\"",</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">+ to_parameters("%{column} == %{value}",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :column => :title,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :value => "Hello"))</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">+ def test_invalid_id</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">+ :filter => "title == \"Hello World\"",</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">+ to_parameters("title == %{value}",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :value => :"Hello World"))</span>
<span class="diff-added" style="background-color: #eaffea; 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"> def test_number</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/test-select.rb (+3 -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, "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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL68">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL71">71</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL72">72</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eL75">75</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR68">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR71">71</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR72">72</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR73">73</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/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/8ff9649b1491dbf2533602536948a743dbd9fe69#diff-9adc2dfdb776817b8d408ecb228f910eR77">77</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">@@ -69,7 +69,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class TestRequestSelect < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :table => "posts",</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :filter => "title == \"Hello\"",</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("title == %{title}", :title => :Hello))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ filter("%{column} == %{value}",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :column => :title,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :value => "Hello"))</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"> test("Array") do</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>