rack-attack 1.0.0 → 1.1.0

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.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rack::Attack
1
+ # Rack::Attack!!!
2
2
  A DSL for blocking & thottling abusive clients
3
3
 
4
4
  Rack::Attack is a rack middleware to protect your web app from bad clients.
@@ -7,8 +7,7 @@ module Rack::Attack
7
7
 
8
8
  class << self
9
9
 
10
- attr_reader :cache, :notifier
11
- attr_accessor :blacklisted_response, :throttled_response
10
+ attr_accessor :cache, :notifier, :blacklisted_response, :throttled_response
12
11
 
13
12
  def whitelist(name, &block)
14
13
  self.whitelists[name] = Whitelist.new(name, block)
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Attack
3
- VERSION = '1.0.0'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-attack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-02 00:00:00.000000000 Z
12
+ date: 2012-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack