mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-27 15:07:41 +00:00
Require ipaddr so it works on ruby < 2.5
This commit is contained in:
parent
e907cc6b83
commit
62aca946b5
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ require 'rack'
|
||||||
require 'forwardable'
|
require 'forwardable'
|
||||||
require 'rack/attack/path_normalizer'
|
require 'rack/attack/path_normalizer'
|
||||||
require 'rack/attack/request'
|
require 'rack/attack/request'
|
||||||
|
require "ipaddr"
|
||||||
|
|
||||||
class Rack::Attack
|
class Rack::Attack
|
||||||
class MisconfiguredStoreError < StandardError; end
|
class MisconfiguredStoreError < StandardError; end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue