lib/pause.rb in pause-0.0.3 vs lib/pause.rb in pause-0.0.4
- old
+ new
@@ -1,10 +1,11 @@
+require 'redis'
require "pause/version"
require "pause/configuration"
require "pause/action"
require "pause/analyzer"
require "pause/redis/adapter"
-require 'pause/blocked_action'
+require 'pause/rate_limited_event'
module Pause
class PeriodCheck < Struct.new(:period_seconds, :max_allowed, :block_ttl)
def <=>(other)
self.period_seconds <=> other.period_seconds