git: bb7a69c83229 - main - www/rubygem-rack-attack: update to 6.6.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jun 2022 10:20:48 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bb7a69c83229b8777864c6e69483100064f39e56
commit bb7a69c83229b8777864c6e69483100064f39e56
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-06-24 09:57:57 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-06-24 10:20:04 +0000
www/rubygem-rack-attack: update to 6.6.1
Required for gitlab-ce 15.1
Changelog:
https://github.com/rack/rack-attack/blob/main/CHANGELOG.md
6.6.1 - 2022-04-14
Fixed
Fixes deprecation warning in redis 4.6+ (@ixti)
6.6.0 - 2022-01-29
Added
Ability to have access to the request object instead of only env (still can access env with request.env) when customizing throttle and blocklist responses with new methods Rack::Attack.blocklisted_responder= and Rack::Attack.throttled_responder= which yield the request to your lambda. (@NikolayRys)
Deprecated
Rack::Attack.blocklisted_response=
Rack::Attack.throttled_response=
6.5.0 - 2021-02-07
Added
Added ability to normalize throttle discriminator by setting Rack::Attack.throttle_discriminator_normalizer (@fatkodima)
Example:
Rack::Attack.throttle_discriminator_normalizer = ->(discriminator) { ... }
or disable default normalization with:
Rack::Attack.throttle_discriminator_normalizer = nil
Removed
Dropped support for ruby v2.4
Dropped support for rails v5.1
6.4.0 - 2021-01-23
Added
Added support for ruby v3.0
Removed
Dropped support for ruby v2.3
---
www/rubygem-rack-attack/Makefile | 2 +-
www/rubygem-rack-attack/distinfo | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/www/rubygem-rack-attack/Makefile b/www/rubygem-rack-attack/Makefile
index 47c96b109d04..739f82b92ce2 100644
--- a/www/rubygem-rack-attack/Makefile
+++ b/www/rubygem-rack-attack/Makefile
@@ -1,7 +1,7 @@
# Created by: Steve Wills <swills@FreeBSD.org>
PORTNAME= rack-attack
-PORTVERSION= 6.3.1
+PORTVERSION= 6.6.1
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-rack-attack/distinfo b/www/rubygem-rack-attack/distinfo
index 7998d86ac925..434a496b4e70 100644
--- a/www/rubygem-rack-attack/distinfo
+++ b/www/rubygem-rack-attack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1590213506
-SHA256 (rubygem/rack-attack-6.3.1.gem) = d6f22383d7e8d70cfa0ca60be002d4315cbeba3d0f829d07d9c7f0e4628cfe7f
-SIZE (rubygem/rack-attack-6.3.1.gem) = 25088
+TIMESTAMP = 1655733990
+SHA256 (rubygem/rack-attack-6.6.1.gem) = 187e5d248c6a162ed8cafa8241a7b5947d9b9cf122a4870eb1cdd0db861f3a11
+SIZE (rubygem/rack-attack-6.6.1.gem) = 26624