lib/rack/throttle.rb in rack-throttle-0.7.0 vs lib/rack/throttle.rb in rack-throttle-0.7.1
- old
+ new
@@ -1,7 +1,8 @@
require 'rack'
module Rack
+ #<b>DEPRECATED:</b> rack-throttle is deprecated please consider using rack-attack
module Throttle
autoload :Limiter, ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/limiter'
autoload :Interval, ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/interval'
autoload :TimeWindow, ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/time_window'
autoload :Daily, ::File.expand_path(::File.dirname(__FILE__)) + '/throttle/daily'