librelist archives

« back to archive

Rack::Attack version 4.2.0 released

Rack::Attack version 4.2.0 released

From:
Aaron Suggs
Date:
2014-10-26 @ 19:47
Yay! Rack::Attack 4.2.0 is released.

Changes include:

  - Throttle's `period` argument now takes a proc as well as a number
(thanks @gsamokovarov)
  - Invoke the `#call` method on `blacklist_response` and
`throttle_response` instead of `#[]`, as per the Rack spec. (thanks
@gsamokovarov)

All changes:
https://github.com/kickstarter/rack-attack/compare/v4.1.1...v4.2.0

Happy throttling!