curbit 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -5
- data/curbit.gemspec +1 -1
- data/lib/curbit.rb +1 -0
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -155,11 +155,10 @@ Then include in your controllers:
|
|
155
155
|
Curbit::Controller will automatically be added to your controllers so you
|
156
156
|
can call the rate_limit macro whenever you want.
|
157
157
|
|
158
|
-
=
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
Rails.cache.write(key, value, :expires_in => wait_time)
|
158
|
+
= Dependencies
|
159
|
+
CurbIt utilizes Rails.cache to store information about requests. Be
|
160
|
+
mindful that if you are running a cluster, you'll want to make sure
|
161
|
+
you're using a shared cache like memcached.
|
163
162
|
|
164
163
|
That's it!
|
165
164
|
|
data/curbit.gemspec
CHANGED
data/lib/curbit.rb
CHANGED