<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,10 +14,10 @@ too much of something. Some good examples are:
 * Shutting out brute force hackers who make lots of requests
   trying to guess passwords, CAPTCHAs, etc.
 
-This package provides a throttle for counting these events in
-a central memcache instance (so that distributed apps can make
-use of it) and taking action when thresholds are crossed. It is
-highly configurable and also highly robust.
+This package provides a persistent throttle for counting these events in
+a central memcache instance (so that distributed apps can make use of it)
+and taking action when thresholds are crossed. It is highly configurable
+and also highly robust.
 
 == Basic usage:
 
@@ -69,12 +69,16 @@ All arguments are optional, but the throttle will not do much by default.
   number of buckets is exceeded, the oldest will expire. The defaults
   configure a throttle that resets the count every minute.
 
-* number =&gt; Proc
-  Callback procedure to run when number threshold is hit. It is
-  called with a single parameter: the count.
+* Fixnum  =&gt; Proc
+  Range   =&gt; Proc
+  :always =&gt; Proc
+  Callback procedure(s) to run when current count matches. It is
+  called with one or two parameters: first the count, second the
+  throttle object itself. If multiple callbacks match, they are
+  called in indeterminate order.
 
-If a block is supplied, it is called every time an event is recorded,
-with a single parameter: the count.
+If a block is supplied, it is treated as if it had been passed
+as the :always =&gt; argument.
 
 It is assumed that every throttle object with the same name will be
 configured with the same buckets and timing (though by different
@@ -112,7 +116,5 @@ fault.
 == TODO
 
 * Sane methods for determining the current count without incrementing
-* Support for callbacks based on ranges instead of just single thresholds
 * Allow callbacks/block to be configured after instantiation
-* Match args to callbacks to what they accept (arity)
 * See if anyone cares :-)</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5b1dc480bf78c6728698db3098234d196f4d8d07</id>
    </parent>
  </parents>
  <author>
    <name>Luke Meyer</name>
    <email>sosiouxme@gmail.com</email>
  </author>
  <url>http://github.com/sosiouxme/throttle/commit/ed727b73a10e34630204cbf3e975f9448bf13c4c</url>
  <id>ed727b73a10e34630204cbf3e975f9448bf13c4c</id>
  <committed-date>2008-10-20T14:29:24-07:00</committed-date>
  <authored-date>2008-10-20T14:29:24-07:00</authored-date>
  <message>update README docs</message>
  <tree>b13e70f2824194c52378ee2488f523f9587bef12</tree>
  <committer>
    <name>Luke Meyer</name>
    <email>sosiouxme@gmail.com</email>
  </committer>
</commit>
