<!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">2016-08-08 13:42:45 +0900 (Mon, 08 Aug 2016)</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc">79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc</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">differ: support diffing columns</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8">lib/groonga-schema/column.rb</a></li>
          <li><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1ac">lib/groonga-schema/differ.rb</a></li>
          <li><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9">test/test-differ.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/groonga-schema/column.rb (+11 -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, &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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L35">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L38">38</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-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-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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8L41">41</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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R35">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R38">38</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R39">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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R40">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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R41">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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R42">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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R43">43</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R44">44</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R45">45</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R46">46</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R47">47</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R48">48</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-090167f6a52e816b98337f9e4a1ebbf8R52">52</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">@@ -36,6 +36,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module GroongaSchema</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       applier.apply</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">+    def ==(other)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      return false unless other.is_a?(self.class)</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">+      @table_name == other.table_name and</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        @name == other.name and</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        @type == other.type and</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        @flags.sort == other.flags.sort and</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        @value_type == other.value_type and</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        @sources == other.sources</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-not-changed" style="display: block; white-space: pre">     class CommandApplier</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       def initialize(column, command)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         @column = column</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, &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/groonga-schema/differ.rb (+24 -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, &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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL63">63</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-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-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-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-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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acL66">66</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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR63">63</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR64">64</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR65">65</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR66">66</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR67">67</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR68">68</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR69">69</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR70">70</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR71">71</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR72">72</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR73">73</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR74">74</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR75">75</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR76">76</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR77">77</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR78">78</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR79">79</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR80">80</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR81">81</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR82">82</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR83">83</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR84">84</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR85">85</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR86">86</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR87">87</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR88">88</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e3d6e94b3b45214330dedbd49e45a1acR90">90</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">@@ -61,6 +61,30 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module GroongaSchema</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 diff_columns(diff)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      @from.columns.each do |table_name, from_columns|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        to_columns = @to.columns[table_name] || {}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        from_columns.each do |name, from_column|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          to_column = to_columns[name]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          if to_column.nil?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            diff.removed_columns[table_name] ||= {}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            diff.removed_columns[table_name][name] = from_column</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          elsif from_column != to_column</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            diff.changed_columns[table_name] ||= {}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            diff.changed_columns[table_name][name] = to_column</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">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      @to.columns.each do |table_name, to_columns|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        from_columns = @from.columns[table_name] || {}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        to_columns.each do |name, to_column|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          from_column = from_columns[name]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          if from_column.nil?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            diff.added_columns[table_name] ||= {}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            diff.added_columns[table_name][name] = to_column</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-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, &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: test/test-differ.rb (+53 -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, &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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9L78">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9L79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9L80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9L81">81</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-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-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-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-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-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-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-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-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-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-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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9L82">82</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9L83">83</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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R78">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R81">81</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R82">82</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R83">83</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R84">84</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R85">85</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R86">86</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R87">87</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R88">88</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R89">89</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R90">90</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R91">91</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R92">92</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R93">93</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R94">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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R95">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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R96">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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R97">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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R98">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/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R99">99</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R100">100</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R101">101</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R102">102</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R103">103</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R104">104</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R105">105</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R106">106</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R107">107</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R108">108</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R109">109</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R110">110</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R111">111</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R112">112</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R113">113</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R114">114</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R115">115</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R116">116</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R117">117</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R118">118</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R119">119</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R120">120</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R121">121</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R122">122</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R123">123</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R124">124</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R125">125</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R126">126</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R127">127</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R128">128</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R129">129</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R130">130</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R131">131</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R132">132</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R133">133</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/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-schema/commit/79b9f33fff05f1f63c61a6208fdaf6cbc62b98bc#diff-e388ee409b76f95395ca4295dcc413b9R136">136</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">@@ -79,5 +79,58 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class DifferTest &lt; Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       expected.changed_tables[&quot;Words&quot;] = @to.tables[&quot;Words&quot;]</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       assert_equal(expected, @differ.diff)</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">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    test &quot;column - add&quot; do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      arguments = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;table&quot;  =&gt; &quot;Words&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;name&quot;   =&gt; &quot;entries_text&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;flags&quot;  =&gt; &quot;COLUMN_INDEX|WITH_POSITION|WITH_SECTION|INDEX_TINY&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;type&quot;   =&gt; &quot;Entries&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;source&quot; =&gt; &quot;title, content&quot;,</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">+      @to.apply_command(column_create(arguments))</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">+      expected = GroongaSchema::Diff.new</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      expected.added_columns[&quot;Words&quot;] = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;entries_text&quot; =&gt; @to.columns[&quot;Words&quot;][&quot;entries_text&quot;],</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">+      assert_equal(expected, @differ.diff)</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">+    test &quot;column - remove&quot; do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      arguments = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;table&quot;  =&gt; &quot;Words&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;name&quot;   =&gt; &quot;entries_text&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;flags&quot;  =&gt; &quot;COLUMN_INDEX|WITH_POSITION|WITH_SECTION|INDEX_TINY&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;type&quot;   =&gt; &quot;Entries&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;source&quot; =&gt; &quot;title, content&quot;,</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">+      @from.apply_command(column_create(arguments))</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">+      expected = GroongaSchema::Diff.new</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      expected.removed_columns[&quot;Words&quot;] = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;entries_text&quot; =&gt; @from.columns[&quot;Words&quot;][&quot;entries_text&quot;],</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">+      assert_equal(expected, @differ.diff)</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">+    test &quot;column - change&quot; do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      from_arguments = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;table&quot;  =&gt; &quot;Words&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;name&quot;   =&gt; &quot;entries_text&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;flags&quot;  =&gt; &quot;COLUMN_INDEX|WITH_POSITION|WITH_SECTION|INDEX_TINY&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;type&quot;   =&gt; &quot;Entries&quot;,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;source&quot; =&gt; &quot;title, content&quot;,</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">+      to_arguments = from_arguments.merge(&quot;source&quot; =&gt; &quot;title&quot;)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      @from.apply_command(column_create(from_arguments))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      @to.apply_command(column_create(to_arguments))</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">+      expected = GroongaSchema::Diff.new</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      expected.changed_columns[&quot;Words&quot;] = {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        &quot;entries_text&quot; =&gt; @to.columns[&quot;Words&quot;][&quot;entries_text&quot;],</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">+      assert_equal(expected, @differ.diff)</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>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>