<!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">Kentaro Hayashi <hayas****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-10-16 16:46:10 +0900 (Mon, 16 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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5">b1491f7bd9167f0bef25583bc4cfc765efcaa7e5</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
<dd style="margin-left: 8.5em">
<ul>
<li>Merged <a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/f546b6e">f546b6e</a>: Merge pull request <a href="https://github.com/groonga/fluent-plugin-groonga-log/issues/6">#6</a> from kenhys/convert-timestamp-to-string</li>
</ul>
</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">Set Time#iso8601 instead of Time object into record
Time object should not be member of record. It causes "undefined
method `to_msgpack`" error because Time object is not defined in
msgpack format spec.</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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2">lib/fluent/plugin/parser_groonga_log.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/fluent/plugin/parser_groonga_log.rb (+5 -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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L35">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L38">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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L39">39</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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2L42">42</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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R35">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R38">38</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R39">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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R40">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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R41">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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R42">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/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga-log/commit/b1491f7bd9167f0bef25583bc4cfc765efcaa7e5#diff-a3b6553d46d46f213a101c1504634ed2R46">46</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">@@ -36,7 +36,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Fluent</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> event_time = Fluent::EventTime.from_time(statistic.timestamp)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> record = {}</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> statistic.each_pair do |member, value|</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- record[member.to_s] = value</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ if value.kind_of?(Time)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ record[member.to_s] = value.iso8601</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">+ record[member.to_s] = value</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"> yield event_time, record</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>