doc/index.html in r509-validity-redis-0.4 vs doc/index.html in r509-validity-redis-0.4.1

- old
+ new

@@ -4,17 +4,17 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" /> <title> File: README - &mdash; Documentation by YARD 0.8.3 + &mdash; Documentation by YARD 0.8.6.1 </title> - <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" /> - <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> hasFrames = window.top.frames.main ? true : false; relpath = ''; framesUrl = "frames.html#!" + escape(window.location.href); @@ -63,45 +63,45 @@ <div id="content"><div id='filecontents'><p>This project is related to <a href="http://github.com/reaperhulk/r509">r509</a> and <a href="http://github.com/reaperhulk/ocsp-responder">ocsp-responder</a>, allowing certificate validity and revocation information to be read and written to a Redis backend.</p> <p>When a certificate is issued, we want this sent to Redis:</p> -<pre class="code ruby"><code>HMSET &quot;cert:&lt;serial&gt;&quot; status 0 +<pre class="code ruby"><code class="ruby">HMSET &quot;cert:&lt;serial&gt;&quot; status 0 </code></pre> <p>When revoked:</p> -<pre class="code ruby"><code>HMSET &quot;cert:&lt;serial&gt;&quot; status 1 revocation_time &lt;timestamp&gt; revocation_reason 0 +<pre class="code ruby"><code class="ruby">HMSET &quot;cert:&lt;serial&gt;&quot; status 1 revocation_time &lt;timestamp&gt; revocation_reason 0 </code></pre> <p>To get the status of a certificate:</p> -<pre class="code ruby"><code><span class='const'>HGETALL</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>cert:&lt;serial&gt;</span><span class='tstring_end'>&quot;</span></span> +<pre class="code ruby"><code class="ruby"><span class='const'>HGETALL</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>cert:&lt;serial&gt;</span><span class='tstring_end'>&quot;</span></span> </code></pre> <p>The &quot;status&quot; field can be one of:</p> -<pre class="code ruby"><code><span class='const'>R509</span><span class='op'>::</span><span class='const'>Validity</span><span class='op'>::</span><span class='const'>VALID</span> +<pre class="code ruby"><code class="ruby"><span class='const'>R509</span><span class='op'>::</span><span class='const'>Validity</span><span class='op'>::</span><span class='const'>VALID</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Validity</span><span class='op'>::</span><span class='const'>REVOKED</span> </code></pre> <p>The &quot;revocation_reason&quot; field can be one of:</p> -<pre class="code ruby"><code><span class='const'>I</span> <span class='id identifier rubyid_don'>don</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>t know, we should probably find out +<pre class="code ruby"><code class="ruby"><span class='const'>I</span> <span class='id identifier rubyid_don'>don</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>t know, we should probably find out </span></span></code></pre> <p>Use this in a project like ocsp-responder by passing it into R509::Ocsp::Signer&#39;s constructor:</p> -<pre class="code ruby"><code><span class='const'>R509</span><span class='op'>::</span><span class='const'>Ocsp</span><span class='op'>::</span><span class='const'>Signer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> +<pre class="code ruby"><code class="ruby"><span class='const'>R509</span><span class='op'>::</span><span class='const'>Ocsp</span><span class='op'>::</span><span class='const'>Signer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='symbol'>:validity_checker</span> <span class='op'>=&gt;</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Validity</span><span class='op'>::</span><span class='const'>Redis</span><span class='op'>::</span><span class='const'>Checker</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>Redis</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='rparen'>)</span> <span class='rparen'>)</span> </code></pre> </div></div> <div id="footer"> - Generated on Thu Nov 8 14:45:37 2012 by + Generated on Tue Apr 16 13:53:37 2013 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.3 (ruby-1.9.3). + 0.8.6.1 (ruby-1.9.3). </div> </body> </html> \ No newline at end of file