<!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">YUKI Hiroshi <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-10 12:24:05 +0900 (Fri, 10 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887">b203be07ec1633ef5e19d01767e668c453070887</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">Don't output result by Dumper itself</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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#diff-0">lib/drndump/command.rb</a></li>
<li><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#diff-1">lib/drndump/dumper.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/drndump/command.rb (+4 -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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L14">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L16">16</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L17">17</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L20">20</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L113">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L116">116</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L117">117</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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L118">118</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L119">119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0L120">120</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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R14">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R16">16</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R17">17</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R21">21</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R114">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R117">117</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R118">118</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R119">119</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R120">120</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R121">121</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L0R123">123</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">@@ -15,6 +15,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> require "socket"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> require "optparse"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+require "json"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> require "cool.io"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -114,7 +115,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Drndump</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :backend => :coolio,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :loop => @loop,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- @dumper.run(:client_options => client_options)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ @dumper.run(:client_options => client_options) do |message|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ puts(JSON.pretty_generate(message))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @loop.run</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @dumper.error_message</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, "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/drndump/dumper.rb (+6 -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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L13">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L16">16</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L20">20</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L29">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L32">32</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L34">34</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L35">35</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L38">38</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L42">42</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L57">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L60">60</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L61">61</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L63">63</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L64">64</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L68">68</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L69">69</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1L72">72</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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R13">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R16">16</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R19">19</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R28">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R31">31</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R32">32</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R35">35</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R39">39</a></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/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R42">42</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R57">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R60">60</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R63">63</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R68">68</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drndump/commit/b203be07ec1633ef5e19d01767e668c453070887#L1R72">72</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">@@ -14,7 +14,6 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> require "socket"</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-require "json"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> require "droonga/client"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -30,13 +29,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Drndump</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @receiver_host = params[:receiver_host] || Socket.gethostname</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @receiver_port = params[:receiver_port] || 0</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ @error_message = nil</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: #ffaaaa; color: #000000; display: block; white-space: pre">- def run(options={})</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ def run(options={}, &block)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> extra_client_options = options[:client_options] || {}</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> client = Droonga::Client.new(client_options.merge(extra_client_options))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- @error_message = nil</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> n_dumpers = 0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> dump_message = {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -58,15 +58,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Drndump</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"> when "dump.table"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> table_create_message = convert_to_table_create_message(message)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- puts(JSON.pretty_generate(table_create_message))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ yield(table_create_message)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> when "dump.column"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> column_create_message = convert_to_column_create_message(message)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- puts(JSON.pretty_generate(column_create_message))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ yield(column_create_message)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> when "dump.record"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> add_message = message.dup</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> add_message.delete("inReplyTo")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> add_message["type"] = "add"</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- puts(JSON.pretty_generate(add_message))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ yield(add_message)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> when "dump.start"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> n_dumpers += 1</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> when "dump.end"</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>