<!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">YUKI Hiroshi <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2014-02-17 17:34:56 +0900 (Mon, 17 Feb 2014)</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0">76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Define status codes in a shared module</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#diff-3">lib/droonga/status_code.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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#diff-0">lib/droonga/message_processing_error.rb</a></li>
<li><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#diff-1">lib/droonga/output_message.rb</a></li>
<li><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#diff-2">lib/droonga/replier.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/droonga/message_processing_error.rb (+4 -3)</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L13">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L16">16</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L19">19</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L20">20</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L23">23</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L44">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L47">47</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L48">48</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L51">51</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L52">52</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0L54">54</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R13">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R16">16</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R20">20</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R24">24</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R45">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R48">48</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R52">52</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L0R55">55</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">@@ -14,10 +14,11 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 "droonga/error"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+require "droonga/status_code"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> module Droonga</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> class MessageProcessingError < Error</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- STATUS_CODE = 500</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_CODE = STATUS_INTERNAL_ERROR</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> attr_reader :message, :detail</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -45,10 +46,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</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"> class BadRequest < MessageProcessingError</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- STATUS_CODE = 400</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_CODE = STATUS_BAD_REQUEST</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"> class NotFound < MessageProcessingError</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- STATUS_CODE = 404</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_CODE = STATUS_NOT_FOUND_REQUEST</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/droonga/output_message.rb (+2 -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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L12">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L15">15</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L16">16</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1L18">18</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R12">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R15">15</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R16">16</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L1R20">20</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">@@ -13,6 +13,8 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # License along with this library; if not, write to the Free Software</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+require "droonga/status_code"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> module Droonga</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> class OutputMessage</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def initialize(raw_message)</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/droonga/replier.rb (+2 -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, "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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L12">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L15">15</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L16">16</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L17">17</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L18">18</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2L22">22</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R12">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R15">15</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R16">16</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R19">19</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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L2R22">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">@@ -13,10 +13,10 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # License along with this library; if not, write to the Free Software</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+require "droonga/status_code"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> module Droonga</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> class Replier</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- STATUS_OK = 200</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def initialize(forwarder)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @forwarder = forwarder</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"> Added: lib/droonga/status_code.rb (+23 -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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3L-1">...</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>
<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/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R0">...</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R1">1</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R2">2</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R3">3</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R4">4</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R5">5</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R6">6</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R7">7</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R8">8</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R9">9</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R10">10</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R11">11</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R12">12</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R13">13</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R14">14</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R15">15</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R16">16</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R17">17</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R18">18</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R19">19</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R20">20</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R21">21</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R22">22</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/fluent-plugin-droonga/commit/76e5ea3c64f8df24d6cfd3bbcb9d35f969c04eb0#L3R23">23</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,23 @@</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# -*- coding: utf-8 -*-</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# Copyright (C) 2014 Droonga Project</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# This library is free software; you can redistribute it and/or</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# modify it under the terms of the GNU Lesser General Public</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# License version 2.1 as published by the Free Software Foundation.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# This library is distributed in the hope that it will be useful,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# Lesser General Public License for more details.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# You should have received a copy of the GNU Lesser General Public</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# License along with this library; if not, write to the Free Software</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+module Droonga</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_OK = 200</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_BAD_REQUEST = 400</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_NOT_FOUND = 404</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ STATUS_INTERNAL_ERROR = 500</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+end</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>