git: ccf9bf925730 - main - devel/rubygem-cucumber-wire: Fix gemspec for rubygem-cucumber-core 11.0.0 update and rubygem-cucumber-cucumber-expressions14 removal

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:16:39 UTC
The branch main has been updated by sunpoet:

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

commit ccf9bf925730684e0e5a13a2a141aa2b0f976d38
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 05:11:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 05:11:20 +0000

    devel/rubygem-cucumber-wire: Fix gemspec for rubygem-cucumber-core 11.0.0 update and rubygem-cucumber-cucumber-expressions14 removal
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-cucumber-wire/Makefile            |  6 +++---
 devel/rubygem-cucumber-wire/files/patch-gemspec | 13 +++++++++++++
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/devel/rubygem-cucumber-wire/Makefile b/devel/rubygem-cucumber-wire/Makefile
index 0601d2c7451b..038534231bd1 100644
--- a/devel/rubygem-cucumber-wire/Makefile
+++ b/devel/rubygem-cucumber-wire/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	cucumber-wire
 PORTVERSION=	6.2.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -11,8 +11,8 @@ COMMENT=	Wire protocol plugin for Cucumber
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	rubygem-cucumber-core>=10.1.0<11:devel/rubygem-cucumber-core \
-		rubygem-cucumber-cucumber-expressions14>=14.0.0<15:devel/rubygem-cucumber-cucumber-expressions14
+RUN_DEPENDS=	rubygem-cucumber-core>=10.1.0:devel/rubygem-cucumber-core \
+		rubygem-cucumber-cucumber-expressions>=14.0.0:devel/rubygem-cucumber-cucumber-expressions
 
 USES=		gem
 USE_RUBY=	yes
diff --git a/devel/rubygem-cucumber-wire/files/patch-gemspec b/devel/rubygem-cucumber-wire/files/patch-gemspec
new file mode 100644
index 000000000000..952218bad93f
--- /dev/null
+++ b/devel/rubygem-cucumber-wire/files/patch-gemspec
@@ -0,0 +1,13 @@
+--- cucumber-wire.gemspec.orig	2022-05-21 17:30:57 UTC
++++ cucumber-wire.gemspec
+@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
+   end
+ 
+   if s.respond_to? :add_runtime_dependency then
+-    s.add_runtime_dependency(%q<cucumber-core>.freeze, ["~> 10.1", ">= 10.1.0"])
+-    s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, ["~> 14.0", ">= 14.0.0"])
++    s.add_runtime_dependency(%q<cucumber-core>.freeze, [">= 10.1.0"])
++    s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, [">= 14.0.0"])
+     s.add_development_dependency(%q<aruba>.freeze, ["~> 2.0", ">= 2.0.0"])
+     s.add_development_dependency(%q<cucumber>.freeze, ["~> 7.1", ">= 7.1.0"])
+     s.add_development_dependency(%q<rake>.freeze, ["~> 13.0", ">= 13.0.6"])