<!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 &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2014-02-12 18:43:56 +0900 (Wed, 12 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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6">6562eafcbef85ecfd8c8d2645be775e2ea2a18b6</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">Report errors for missing required parameters</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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#diff-0">lib/droonga/catalog/base.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/droonga/catalog/base.rb (+4 -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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L183">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L184">184</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L185">185</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L186">186</a></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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L187">187</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L188">188</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L189">189</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L192">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L193">193</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L194">194</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L195">195</a></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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L196">196</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L197">197</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L198">198</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L199">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L200">200</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L201">201</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L202">202</a></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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L203">203</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L204">204</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L205">205</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L206">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L207">207</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L208">208</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L209">209</a></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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L210">210</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L211">211</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0L212">212</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/droonga/fluent-plugin-droonga/commit/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R183">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R184">184</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R185">185</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R186">186</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R187">187</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R188">188</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R189">189</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R190">190</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R193">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R194">194</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R195">195</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R196">196</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R197">197</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R198">198</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R199">199</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R200">200</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R201">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R202">202</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R203">203</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R204">204</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R205">205</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R206">206</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R207">207</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R208">208</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R209">...</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R210">210</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R211">211</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R212">212</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R213">213</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R214">214</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R215">215</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/6562eafcbef85ecfd8c8d2645be775e2ea2a18b6#L0R216">216</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">@@ -184,6 +184,7 @@ <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">       def validate_valid_datetime(value, name)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        raise MissingRequiredParameter.new(name, @path) unless value</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         validate_parameter_type(String, value, name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         begin</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           Time.parse(value)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -193,6 +194,7 @@ <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">       def validate_positive_numeric_parameter(value, name)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        raise MissingRequiredParameter.new(name, @path) unless value</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         validate_parameter_type(Numeric, value, name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         if value &lt; 0</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           raise NegativeNumber.new(name, value, @path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -200,6 +202,7 @@ <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">       def validate_positive_integer_parameter(value, name)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        raise MissingRequiredParameter.new(name, @path) unless value</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         validate_parameter_type(Integer, value, name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         if value &lt; 0</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           raise NegativeNumber.new(name, value, @path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -207,6 +210,7 @@ <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">       def validate_one_or_larger_integer_parameter(value, name)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        raise MissingRequiredParameter.new(name, @path) unless value</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         validate_parameter_type(Integer, value, name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         if value &lt; 1</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           raise SmallerThanOne.new(name, value, @path)</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>