<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,9 @@
-== 0.2.0 / 2009-09-14
+== 0.2.2 / 2009-09-14
+
+* Add a timeout to the validator
+* Give the documentation some love
+
+== 0.2.1 / 2009-09-14
 
 * Removed Ambethia namespace, and restructured classes a bit
 * Added an example rails app in the example-rails branch</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -1,23 +1,23 @@
-= ReCAPTCHA
+= reCAPTCHA
 
 Author::    Jason L Perry (http://ambethia.com)
 Copyright:: Copyright (c) 2007 Jason L Perry
-License::   MIT
-Info::      http://ambethia.com/recaptcha/
+License::   {MIT}[http://creativecommons.org/licenses/MIT/]
+Info::      http://ambethia.com/recaptcha
 Git::       http://github.com/ambethia/recaptcha/tree/master
 Bugs::      http://github.com/ambethia/recaptcha/issues
 
-This plugin adds helpers for the ReCAPTCHA API (http://recaptcha.net/). In your views you can use
+This plugin adds helpers for the {reCAPTCHA API}[http://recaptcha.net]. In your views you can use
 the +recaptcha_tags+ method to embed the needed javascript, and you can validate in your controllers
 with +verify_recaptcha+.
 
-You'll want to add your public and private API keys in the environment variables RECAPTCHA_PUBLIC_KEY
-and RECAPTCHA_PRIVATE_KEY, respectively. You could also specify them in config/environment.rb if you
-are so inclined. Exceptions will be raised if you call these methods and the keys can't be found.
+You'll want to add your public and private API keys in the environment variables +RECAPTCHA_PUBLIC_KEY+
+and +RECAPTCHA_PRIVATE_KEY+, respectively. You could also specify them in &lt;tt&gt;config/environment.rb&lt;/tt&gt; if you
+are so inclined (see below). Exceptions will be raised if you call these methods and the keys can't be found.
 
 == Rails Installation
 
-ReCaptcha for rails can be installed as a gem:
+reCAPTCHA for Rails can be installed as a gem:
 
   config.gem &quot;ambethia-recaptcha&quot;, :lib =&gt; &quot;recaptcha/rails&quot;, :source =&gt; &quot;http://gems.github.com&quot;
 
@@ -25,6 +25,30 @@ Or, as a standard rails plugin:
 
   script/plugin install git://github.com/ambethia/recaptcha.git
 
+== Setting up your API Keys
+
+There are two ways to setup your reCAPTCHA API keys once you {obtain}[http://recaptcha.net/whyrecaptcha.html]
+a pair. You can pass in your keys as options at runtime, for example:
+
+  recaptcha_tags :public_key =&gt; '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy'
+
+and later,
+
+  verify_recaptcha :private_key =&gt; '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx'
+
+
+Or, preferably, you can keep your keys out of your code base by exporting the environment variables
+mentioned earlier. You might do this in the .profile/rc, or equivalent for the user running your
+application:
+
+  export RECAPTCHA_PUBLIC_KEY  = '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy'
+  export RECAPTCHA_PRIVATE_KEY = '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx'
+
+If that's not your thing, and dropping things into &lt;tt&gt;config/environment.rb&lt;/tt&gt; is, you can just do:
+
+  ENV['RECAPTCHA_PUBLIC_KEY']  = '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy'
+  ENV['RECAPTCHA_PRIVATE_KEY'] = '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx'
+
 == +recaptcha_tags+
 
 Some of the options available:
@@ -32,29 +56,35 @@ Some of the options available:
 &lt;tt&gt;:ssl&lt;/tt&gt;::         Uses secure http for captcha widget (default +false+)
 &lt;tt&gt;:noscript&lt;/tt&gt;::    Include &lt;noscript&gt; content (default +true+)
 &lt;tt&gt;:display&lt;/tt&gt;::     Takes a hash containing the +theme+ and +tabindex+ options per the API. (default +nil+)
-&lt;tt&gt;:public_key&lt;/tt&gt;::  Your public API key, takes precedence over the ENV variable (default +nil+).
-&lt;tt&gt;:error&lt;/tt&gt;::       Override the error in +flash[:recaptcha_error]+ (default +nil+).
+&lt;tt&gt;:ajax&lt;/tt&gt;::        Render the dynamic AJAX captcha per the API. (default +false+)
+&lt;tt&gt;:public_key&lt;/tt&gt;::  Your public API key, takes precedence over the ENV variable (default +nil+)
+&lt;tt&gt;:error&lt;/tt&gt;::       Override the error code returned from the reCAPTCHA API (default +nil+)
+
+You can also override the html attributes for the sizes of the generated +textarea+ and +iframe+
+elements, if CSS isn't your thing. Inspect the source of +recaptcha_tags+ to see these options.
 
 == +verify_recaptcha+
 
-This method returns +true+ or +false+ after processing the parameters from the ReCAPTCHA widget. Why
+This method returns +true+ or +false+ after processing the parameters from the reCAPTCHA widget. Why
 isn't this a model validation? Because that violates MVC. Use can use it like this, or how ever you
 like. Passing in the ActiveRecord object is optional, if you do--and the captcha fails to verify--an
 error will be added to the object for you to use.
 
 Some of the options available:
 
-&lt;tt&gt;:model&lt;/tt&gt;::      Model to set errors
-&lt;tt&gt;:message&lt;/tt&gt;::    Custom error message
+&lt;tt&gt;:model&lt;/tt&gt;::       Model to set errors
+&lt;tt&gt;:message&lt;/tt&gt;::     Custom error message
+&lt;tt&gt;:private_key&lt;/tt&gt;:: Your private API key, takes precedence over the ENV variable (default +nil+).
+&lt;tt&gt;:timeout&lt;/tt&gt;::     The number of seconds to wait for reCAPTCHA servers before give up. (default +3+)
 
   respond_to do |format|
-    if verify_recaptcha(:model =&gt; @post, :message =&gt; 'Oh! It's error with ReCaptcha!') &amp;&amp; @post.save
+    if verify_recaptcha(:model =&gt; @post, :message =&gt; 'Oh! It's error with reCAPTCHA!') &amp;&amp; @post.save
       # ...
     else
       # ...
     end
   end
-  
+
 == TODO
 * Remove Rails/ActionController dependencies
 * Framework agnostic</diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -4,11 +4,12 @@ begin
   require 'jeweler'
   Jeweler::Tasks.new do |gem|
     gem.name           = &quot;recaptcha&quot;
-    gem.description    = &quot;This plugin adds helpers for the ReCAPTCHA API &quot;
-    gem.summary        = &quot;Helpers for the ReCAPTCHA API&quot;
+    gem.description    = &quot;This plugin adds helpers for the reCAPTCHA API &quot;
+    gem.summary        = &quot;Helpers for the reCAPTCHA API&quot;
     gem.homepage       = &quot;http://github.com/ambethia/recaptcha&quot;
     gem.authors        = [&quot;Jason L. Perry&quot;]
     gem.email          = &quot;jasper@ambethia.com&quot;
+    gem.files.reject! { |fn| fn.include? &quot;.gitignore&quot; }
   end
 rescue LoadError
   puts &quot;Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-0.2.1
+0.2.2</diff>
      <filename>VERSION</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,15 @@ require 'recaptcha/client_helper'
 require 'recaptcha/verify'
 
 module Recaptcha
+  module VERSION #:nodoc:
+    MAJOR = 0
+    MINOR = 2
+    TINY  = 2
+
+    STRING = [MAJOR, MINOR, TINY].join('.')
+  end
+
+  
   RECAPTCHA_API_SERVER        = 'http://api.recaptcha.net';
   RECAPTCHA_API_SECURE_SERVER = 'https://api-secure.recaptcha.net';
   RECAPTCHA_VERIFY_SERVER     = 'api-verify.recaptcha.net';</diff>
      <filename>lib/recaptcha.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,22 +5,20 @@
 
 Gem::Specification.new do |s|
   s.name = %q{recaptcha}
-  s.version = &quot;0.2.1&quot;
+  s.version = &quot;0.2.2&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Jason L. Perry&quot;]
   s.date = %q{2009-09-14}
-  s.description = %q{This plugin adds helpers for the ReCAPTCHA API }
+  s.description = %q{This plugin adds helpers for the reCAPTCHA API }
   s.email = %q{jasper@ambethia.com}
   s.extra_rdoc_files = [
     &quot;LICENSE&quot;,
      &quot;README.rdoc&quot;
   ]
   s.files = [
-    &quot;.gitignore&quot;,
-     &quot;CHANGELOG&quot;,
+    &quot;CHANGELOG&quot;,
      &quot;LICENSE&quot;,
-     &quot;Manifest&quot;,
      &quot;README.rdoc&quot;,
      &quot;Rakefile&quot;,
      &quot;VERSION&quot;,
@@ -38,7 +36,7 @@ Gem::Specification.new do |s|
   s.rdoc_options = [&quot;--charset=UTF-8&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.rubygems_version = %q{1.3.5}
-  s.summary = %q{Helpers for the ReCAPTCHA API}
+  s.summary = %q{Helpers for the reCAPTCHA API}
   s.test_files = [
     &quot;test/recaptcha_test.rb&quot;,
      &quot;test/verify_recaptcha_test.rb&quot;</diff>
      <filename>recaptcha.gemspec</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>Manifest</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>6eda6f6f11b656c1d611b45c4b86213f5d800563</id>
    </parent>
  </parents>
  <author>
    <name>Jason L Perry</name>
    <email>jasper@ambethia.com</email>
  </author>
  <url>http://github.com/ambethia/recaptcha/commit/40fa40445da533380fc0f94a95e1ea9c800be15f</url>
  <id>40fa40445da533380fc0f94a95e1ea9c800be15f</id>
  <committed-date>2009-09-14T20:01:40-07:00</committed-date>
  <authored-date>2009-09-14T20:01:40-07:00</authored-date>
  <message>Version 0.2.2, Timeout +some documentation love</message>
  <tree>40662fe75d9b41f91f811d111cb1853ebcf0bce6</tree>
  <committer>
    <name>Jason L Perry</name>
    <email>jasper@ambethia.com</email>
  </committer>
</commit>
