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 +1 -1
- data/lib/rack/attack.rb +1 -2
- data/lib/rack/attack/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
data/lib/rack/attack.rb
CHANGED
@@ -7,8 +7,7 @@ module Rack::Attack
|
|
7
7
|
|
8
8
|
class << self
|
9
9
|
|
10
|
-
|
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)
|
data/lib/rack/attack/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2012-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|