<!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:49:19 +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/6843acf889c718ea8cd7cec6ce52deee5c608fc4">6843acf889c718ea8cd7cec6ce52deee5c608fc4</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">Check available format using OptionParser's functionality</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ff">lib/chupa-text/command/chupa-text.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 (+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/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffL91">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffL94">94</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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffL95">95</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffL96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffL97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffL98">98</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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffR94">94</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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffR98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#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/6843acf889c718ea8cd7cec6ce52deee5c608fc4#diff-ffb229b2479f37101d007514e706e2ffR101">101</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">@@ -92,7 +92,10 @@ <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-deleted" style="background-color: #ffecec; 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">+ parser.on("--format=FORMAT", AVAILABLE_FORMATS,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ "Output FORMAT.",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ "[#{AVAILABLE_FORMATS.join(', ')}]",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ "(default: json)") do |format|</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> format = format.to_sym</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> raise ArgumentError, "Unknown format: #{format}" unless AVAILABLE_FORMATS.include?(format)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @format = format</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>