<!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">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2018-06-18 18:12:24 +0900 (Mon, 18 Jun 2018)</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/7c0e50a7174a320fb0cc20c91a5398140b289610">7c0e50a7174a320fb0cc20c91a5398140b289610</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Support Ruby 2.6</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424fa">lib/chupa-text/formatters/hash.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, &quot;Liberation Mono&quot;, 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/hash.rb (+5 -2)</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, &quot;Liberation Mono&quot;, 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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL51">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL54">54</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL55">55</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL56">56</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faL59">59</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR51">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR54">54</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR55">55</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR56">56</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR57">57</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR58">58</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/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR60">60</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/chupa-text/commit/7c0e50a7174a320fb0cc20c91a5398140b289610#diff-8c9b74d4647afe2b13b94e92c2a424faR62">62</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -52,8 +52,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">       def format_headers(data, target)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         format_header(&quot;mime-type&quot;, data.mime_type, target)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         format_header(&quot;uri&quot;,       data.uri,       target)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-        if data.uri.class == URI::Generic</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-          format_header(&quot;path&quot;,      data.path,      target)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        case data.uri</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        when URI::HTTP, URI::FTP, nil</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          # No path</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">+          format_header(&quot;path&quot;,    data.path,      target)</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">         format_header(&quot;size&quot;,      data.size,      target)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         data.attributes.each do |name, value|</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>