<!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">Kenji Okimoto <okimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-04-28 16:31:17 +0900 (Fri, 28 Apr 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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926">02685f1034b85c17daea3c61b84d81e258bb1926</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/ranguba/chupa-text/commit/0d7d7e0">0d7d7e0</a>: Merge pull request <a href="https://github.com/ranguba/chupa-text/issues/3">#3</a> from okkez/add-plain-text-formatter</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">Add plain text formatter</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Added files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1">lib/chupa-text/formatters/text.rb</a></li>
</ul>
</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ff">lib/chupa-text/command/chupa-text.rb</a></li>
<li><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9">lib/chupa-text/formatters.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/chupa-text/command/chupa-text.rb (+14 -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/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL25">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL28">28</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/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL32">32</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/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL35">35</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL88">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL91">91</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/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL94">94</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL149">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL152">152</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL153">153</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffL156">156</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR25">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR28">28</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR29">29</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR34">34</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR38">38</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR91">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR94">94</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR95">95</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR96">96</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR97">97</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR98">98</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR102">102</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR157">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR158">158</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR159">159</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR160">160</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/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR161">161</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR162">162</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR163">163</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR164">164</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR165">165</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR166">166</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR167">167</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR168">168</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-ffb229b2479f37101d007514e706e2ffR169">169</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">@@ -26,10 +26,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module ChupaText</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ AVAILABLE_FORMATS = [:json, :text]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def initialize</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @input = nil</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @configuration = Configuration.default</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @enable_gems = true</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @format = :json</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"> def run(*arguments)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -89,6 +92,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module ChupaText</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "Appends PATH to decomposer load path.") do |path|</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> $LOAD_PATH << path</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ parser.on("--format=FORMAT", "Output FORMAT (#{AVAILABLE_FORMATS.join(',')})") do |format|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ format = format.to_sym</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ raise ArgumentError, "Unknown format: #{format}" unless AVAILABLE_FORMATS.include?(format)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @format = format</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"> </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("Log related options:")</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -150,7 +158,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module ChupaText</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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def create_formatter</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- Formatters::JSON.new($stdout)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ case @format</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ when :json</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ Formatters::JSON.new($stdout)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ when :text</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ Formatters::Text.new($stdout)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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/chupa-text/formatters.rb (+1 -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/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9L14">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9L15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9L16">16</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9L17">17</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9R14">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9R15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9R16">16</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9R17">17</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-e1e03263720d19e37d34d743943dbad9R18">18</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,3 +15,4 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 "chupa-text/formatters/json"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+require "chupa-text/formatters/text"</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"> Added: lib/chupa-text/formatters/text.rb (+22 -0) 100644</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1">...</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-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>
</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1">...</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R1">1</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R2">2</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R3">3</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R4">4</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R5">5</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R6">6</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R7">7</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R8">8</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R9">9</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R10">10</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R11">11</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R12">12</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R13">13</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R14">14</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R15">15</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R16">16</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R17">17</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R18">18</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R19">19</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R20">20</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R21">21</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/chupa-text/commit/02685f1034b85c17daea3c61b84d81e258bb1926#diff-d19fe275625e3c78fc7bdbaef49787e1R22">22</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">@@ -0,0 +1,22 @@</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+module ChupaText</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ module Formatters</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ class Text</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def initialize(output)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @output = output</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @texts = []</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def format_start(data)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def format_extracted(data)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @texts << data.body</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def format_finish(data)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @output << @texts.join("\n\x0c\n")</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @output << "\n"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+end</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>