Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2022 05:16:38 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ff83f2a40237 - main - devel/rubygem-cucumber-rails: Fix gemspec for rubygem-cucumber 8.0.0 update
Message-ID:  <202205220516.24M5GcB7063596@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit ff83f2a4023714f6f22372d4553957671b9385ec
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 05:10:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 05:10:02 +0000

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

diff --git a/devel/rubygem-cucumber-rails/Makefile b/devel/rubygem-cucumber-rails/Makefile
index f756d33f96e9..141b3feca93f 100644
--- a/devel/rubygem-cucumber-rails/Makefile
+++ b/devel/rubygem-cucumber-rails/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	cucumber-rails
 PORTVERSION=	2.5.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	rubygem-capybara>=2.18<4:devel/rubygem-capybara \
-		rubygem-cucumber>=3.2<8:devel/rubygem-cucumber \
+		rubygem-cucumber>=3.2:devel/rubygem-cucumber \
 		rubygem-mime-types>=3.3<4:misc/rubygem-mime-types \
 		rubygem-nokogiri>=1.10<2:textproc/rubygem-nokogiri \
 		rubygem-railties5>=5.0<8:www/rubygem-railties5 \
diff --git a/devel/rubygem-cucumber-rails/files/patch-gemspec b/devel/rubygem-cucumber-rails/files/patch-gemspec
new file mode 100644
index 000000000000..23433dd1ea55
--- /dev/null
+++ b/devel/rubygem-cucumber-rails/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- cucumber-rails.gemspec.orig	2022-05-21 18:32:26 UTC
++++ cucumber-rails.gemspec
+@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+ 
+   if s.respond_to? :add_runtime_dependency then
+     s.add_runtime_dependency(%q<capybara>.freeze, [">= 2.18", "< 4"])
+-    s.add_runtime_dependency(%q<cucumber>.freeze, [">= 3.2", "< 8"])
++    s.add_runtime_dependency(%q<cucumber>.freeze, [">= 3.2"])
+     s.add_runtime_dependency(%q<mime-types>.freeze, ["~> 3.3"])
+     s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.10"])
+     s.add_runtime_dependency(%q<railties>.freeze, [">= 5.0", "< 8"])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205220516.24M5GcB7063596>