diff --git a/lib/rack/attack.rb b/lib/rack/attack.rb index 77a9b53..3c90002 100644 --- a/lib/rack/attack.rb +++ b/lib/rack/attack.rb @@ -7,8 +7,7 @@ module Rack::Attack class << self - attr_reader :cache, :notifier - attr_accessor :blacklisted_response, :throttled_response + attr_accessor :cache, :notifier, :blacklisted_response, :throttled_response def whitelist(name, &block) self.whitelists[name] = Whitelist.new(name, block) diff --git a/lib/rack/attack/version.rb b/lib/rack/attack/version.rb index 90c6d1b..6d2484b 100644 --- a/lib/rack/attack/version.rb +++ b/lib/rack/attack/version.rb @@ -1,5 +1,5 @@ module Rack module Attack - VERSION = '1.0.0' + VERSION = '1.1.0' end end