<!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-10-27 16:34:55 +0900 (Fri, 27 Oct 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/46007d87af49bb7cd39d09b66c4dcd01003b1f70">46007d87af49bb7cd39d09b66c4dcd01003b1f70</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">Reduce scope</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826">lib/groonga/client/command-line/groonga-client-index-check.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/command-line/groonga-client-index-check.rb (+13 -12)</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L34">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L37">37</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L38">38</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L39">39</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L40">40</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L41">41</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L42">42</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L43">43</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L44">44</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L45">45</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L46">46</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L47">47</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L48">48</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L49">49</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L51">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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826L52">52</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R34">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R37">37</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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R38">38</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R39">39</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R40">40</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R41">41</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R42">42</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R43">43</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R44">44</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R45">45</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R46">46</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R47">47</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R48">48</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R49">49</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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R51">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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R52">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/46007d87af49bb7cd39d09b66c4dcd01003b1f70#diff-90210dd24c42dd62359c3f0e1bdcb826R53">53</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">@@ -35,18 +35,19 @@ <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"> def run(argv)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> targets = parse_command_line(argv)</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">- @client = Client.new(:url => @url,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :protocol => @protocol,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :host => @host,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :port => @port,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :backend => :synchronous)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- options = {</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :check_missing_source => @check_missing_source,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :check_index_integrity => @check_index_integrity,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- :target => targets</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">- checker = Checker.new(@client, options)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- checker.check</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ Client.open(:url => @url,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :protocol => @protocol,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :host => @host,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :port => @port,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :backend => :synchronous) do |client|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ options = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :check_missing_source => @check_missing_source,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :check_index_integrity => @check_index_integrity,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :target => targets</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">+ checker = Checker.new(client, options)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ checker.check</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>
</div>
</body>
</html>