rack-attack 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rack-attack might be problematic. Click here for more details.

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