git: 3375ea3aa01d - main - devel/rubygem-airborne: Fix gemspec for rubygem-rack-test 2.0.2 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 11 Jul 2022 13:54:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3375ea3aa01d3ace3b5589412e65aeeaf7738126

commit 3375ea3aa01d3ace3b5589412e65aeeaf7738126
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-11 13:50:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-11 13:50:48 +0000

    devel/rubygem-airborne: Fix gemspec for rubygem-rack-test 2.0.2 update
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-airborne/Makefile            |  3 ++-
 devel/rubygem-airborne/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/rubygem-airborne/Makefile b/devel/rubygem-airborne/Makefile
index e8bee29c7160..469f8c247e6d 100644
--- a/devel/rubygem-airborne/Makefile
+++ b/devel/rubygem-airborne/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	airborne
 PORTVERSION=	0.3.7
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	rubygem-activesupport4>=0:devel/rubygem-activesupport4 \
 		rubygem-rack>=0:www/rubygem-rack \
-		rubygem-rack-test>=1.1.0<2.0:www/rubygem-rack-test \
+		rubygem-rack-test>=1.1.0<3.0:www/rubygem-rack-test \
 		rubygem-rest-client>=2.0.2<3.0:www/rubygem-rest-client \
 		rubygem-rspec>=3.8<4:devel/rubygem-rspec
 
diff --git a/devel/rubygem-airborne/files/patch-gemspec b/devel/rubygem-airborne/files/patch-gemspec
new file mode 100644
index 000000000000..d21f2b13ac62
--- /dev/null
+++ b/devel/rubygem-airborne/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- airborne.gemspec.orig	2022-07-08 13:00:17 UTC
++++ airborne.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+   if s.respond_to? :add_runtime_dependency then
+     s.add_runtime_dependency(%q<rspec>.freeze, ["~> 3.8"])
+     s.add_runtime_dependency(%q<rest-client>.freeze, [">= 2.0.2", "< 3.0"])
+-    s.add_runtime_dependency(%q<rack-test>.freeze, [">= 1.1.0", "< 2.0"])
++    s.add_runtime_dependency(%q<rack-test>.freeze, [">= 1.1.0", "< 3.0"])
+     s.add_runtime_dependency(%q<rack>.freeze, [">= 0"])
+     s.add_runtime_dependency(%q<activesupport>.freeze, [">= 0"])
+     s.add_development_dependency(%q<webmock>.freeze, ["~> 3"])