<!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-15 15:49:39 +0900 (Wed, 15 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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886">da6144f05a681f100649ab6d093bcd9aa43e4886</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">Introduce --default-dataset option to fixup missing dataset</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#diff-0">bin/droonga-request</a></li>
<li><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#diff-1">bin/droonga-send</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: bin/droonga-request (+7 -0)</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L24">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L27">27</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L30">30</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L100">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L103">103</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/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L106">106</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L115">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L117">117</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L118">118</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L119">119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L120">120</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0L121">121</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R24">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R27">27</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R31">31</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R101">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R104">104</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R105">105</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R106">106</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R107">107</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R108">108</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R109">109</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R112">112</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R121">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R123">123</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R124">124</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R126">126</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L0R128">128</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">@@ -25,6 +25,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">options = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :host => Droonga::Client::DEFAULT_HOST,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :port => Droonga::Client::DEFAULT_PORT,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :tag => Droonga::Client::DEFAULT_TAG,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ :default_dataset => Droonga::Client::DEFAULT_DATASET,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :protocol => :droonga,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :timeout => 1,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :exit_on_response => true,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -101,6 +102,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">parser.on("--[no-]report-elapsed-time",</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"> parser.separator("")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> parser.separator("Messages:")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+parser.on("--detault-dataset=NAME",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "Default dataset name for sending messages.",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "(#{options[:default_dataset]})") do |name|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ options[:default_dataset] = name</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"> parser.on("--[no-]completion",</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "Do completion of required fields for input message or not.",</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "(#{options[:completion]})") do |completion|</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -116,6 +122,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">request_json_files = parser.parse!(ARGV)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> client = Droonga::Client.new(options)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> json_parser = Yajl::Parser.new</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> json_parser.on_parse_complete = lambda do |request_message|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ request_message["dataset"] ||= options[:default_dataset]</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if options[:report_request]</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> message = "Request: "</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> begin</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: bin/droonga-send (+7 -0)</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L28">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L31">31</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L34">34</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L144">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L145">145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L146">146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L147">147</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/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L150">150</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L173">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L176">176</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1L179">179</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R28">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R35">35</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R145">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R146">146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R148">148</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R149">149</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R150">150</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R151">151</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R152">152</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R156">156</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R179">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R182">182</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/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R183">183</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R184">184</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R185">185</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-client-ruby/commit/da6144f05a681f100649ab6d093bcd9aa43e4886#L1R186">186</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">@@ -29,6 +29,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">options.default_protocol = "droonga"</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options.default_host = Droonga::Client::DEFAULT_HOST</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options.default_port = Droonga::Client::DEFAULT_PORT</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options.default_tag = Droonga::Client::DEFAULT_TAG</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+options.default_dataset = Droonga::Client::DEFAULT_DATASET</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options.completion = true</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options.validation = true</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">@@ -145,6 +146,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">parser.on("--report-throughput",</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"> parser.separator("")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> parser.separator("Messages:")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+parser.on("--default-dataset=NAME",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "Default dataset name for sending messages.",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "(#{options.default_dataset})") do |name|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ options.default_dataset = name</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"> parser.on("--[no-]completion",</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "Do completion of required fields for input message or not.",</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "(#{options.completion})") do |completion|</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -174,6 +180,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">end</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> client_index = 0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> json_parser = Yajl::Parser.new</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> json_parser.on_parse_complete = lambda do |request_message|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ request_message["dataset"] ||= options.default_dataset</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if options.report_request</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> message = "Request: "</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> begin</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>