<!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">2018-02-16 17:13:42 +0900 (Fri, 16 Feb 2018)</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/82311bd667913156159134a9ea5369ccecec8b74">82311bd667913156159134a9ea5369ccecec8b74</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 not &quot;/d/&quot; path</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5">lib/groonga/client.rb</a></li>
          <li><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544">lib/groonga/client/protocol/http/path-resolvable.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.rb (+10 -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/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L221">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L224">224</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L225">225</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L228">228</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L262">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L264">264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L265">265</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L266">266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L267">267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5L268">268</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R221">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R224">224</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R225">225</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R228">228</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R262">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R264">264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R265">265</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R266">266</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R267">267</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R268">268</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R269">269</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R270">270</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R271">271</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R272">272</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R273">273</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/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R274">274</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R275">275</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R276">276</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-e2cf9570378cbc70e403516473469bf5R277">277</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">@@ -222,7 +222,7 @@ <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">       scheme = (options.delete(:protocol) || &quot;gqtp&quot;).to_s</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       host = options.delete(:host) || options.delete(:address) || &quot;127.0.0.1&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       port = options.delete(:port) || default_port(scheme)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-      path = options.delete(:path)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      path = options.delete(:path)<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> || default_path(schema)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       user = options.delete(:user)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       password = options.delete(:password)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       if user and password</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -263,6 +263,15 @@ <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">       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: #eaffea; color: #000000; display: block; white-space: pre">+    def default_path(scheme)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      case scheme</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      when &quot;http&quot;, &quot;https&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;/d/&quot;</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">+        nil</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     def groonga_command_name?(name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       /\A[a-zA-Z][a-zA-Z\d_]+\z/ === name.to_s</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     end</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: lib/groonga/client/protocol/http/path-resolvable.rb (+6 -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/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L20">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L23">23</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L24">24</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544L27">27</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R20">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R23">23</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R24">24</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R25">25</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R26">26</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R27">27</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R28">28</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/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/82311bd667913156159134a9ea5369ccecec8b74#diff-104c8c5f2aede909d61e14fed2566544R32">32</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">@@ -21,7 +21,12 @@ <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">         module PathResolvable</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 resolve_path(uri, path)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            uri.path.chomp(&quot;/&quot;) + path</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            path_prefix = uri.path.chomp(&quot;/&quot;)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            if path_prefix.empty?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              path</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">+              path.sub(/\A\/d/) {path_prefix}</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">         end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       end</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>