curbit 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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