git: 018237099ec8 - main - www/rubygem-rack-protection: Update to 3.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 17:17:03 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=018237099ec85353c42cf5c1aef922a7bb6133f7

commit 018237099ec85353c42cf5c1aef922a7bb6133f7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-21 17:07:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-21 17:07:15 +0000

    www/rubygem-rack-protection: Update to 3.1.0
    
    Changes:        https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md
---
 www/rubygem-rack-protection/Makefile | 4 ++--
 www/rubygem-rack-protection/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/rubygem-rack-protection/Makefile b/www/rubygem-rack-protection/Makefile
index d9d789f94e8d..bf4346f1c285 100644
--- a/www/rubygem-rack-protection/Makefile
+++ b/www/rubygem-rack-protection/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rack-protection
-PORTVERSION=	3.0.6
+PORTVERSION=	3.1.0
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +11,7 @@ WWW=		https://sinatrarb.com/protection/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/License
 
-RUN_DEPENDS=	rubygem-rack>=0,3:www/rubygem-rack
+RUN_DEPENDS=	rubygem-rack22>=2.2.4,3<3,3:www/rubygem-rack22
 
 USES=		gem
 
diff --git a/www/rubygem-rack-protection/distinfo b/www/rubygem-rack-protection/distinfo
index e536402917b5..dabfbf4ab02e 100644
--- a/www/rubygem-rack-protection/distinfo
+++ b/www/rubygem-rack-protection/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681053040
-SHA256 (rubygem/rack-protection-3.0.6.gem) = 08c6dfdab74abf57243242df73c286de3d75b2b0110803cd79b4f3f0d531f5ce
-SIZE (rubygem/rack-protection-3.0.6.gem) = 20480
+TIMESTAMP = 1692212015
+SHA256 (rubygem/rack-protection-3.1.0.gem) = f9bc997fa87ab5fe3eb5d9d00e2a6222df3f9b8e6e9d610909ea3fc6203a5f77
+SIZE (rubygem/rack-protection-3.1.0.gem) = 20480