git: 7b2f484ab320 - main - devel/rubygem-cucumber: Update to 9.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 10:44:09 UTC
The branch main has been updated by sunpoet:

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

commit 7b2f484ab3201ef0b65f2e09106cd116820c2a02
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:08:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:29:58 +0000

    devel/rubygem-cucumber: Update to 9.1.0
    
    - Fix gemspec for rubygem-cucumber-ci-environment 10.0.0 update
    - Fix gemspec for rubygem-cucumber-html-formatter 21.0.0 update
    
    Changes:        https://github.com/cucumber/cucumber-ruby/releases
---
 devel/rubygem-cucumber/Makefile                     | 13 ++++++-------
 devel/rubygem-cucumber/distinfo                     |  6 +++---
 .../files/patch-cucumber-cucumber-expressions       | 13 -------------
 devel/rubygem-cucumber/files/patch-gemspec          | 21 ++++++++++++---------
 4 files changed, 21 insertions(+), 32 deletions(-)

diff --git a/devel/rubygem-cucumber/Makefile b/devel/rubygem-cucumber/Makefile
index c75fdaec64df..3172999d298b 100644
--- a/devel/rubygem-cucumber/Makefile
+++ b/devel/rubygem-cucumber/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	cucumber
-PORTVERSION=	9.0.2
-PORTREVISION=	3
+PORTVERSION=	9.1.0
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -13,11 +12,11 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	rubygem-builder>=3.2.4<4:devel/rubygem-builder \
-		rubygem-cucumber-ci-environment>=9.2.0<10:devel/rubygem-cucumber-ci-environment \
-		rubygem-cucumber-core>=11.1.0<13:devel/rubygem-cucumber-core \
-		rubygem-cucumber-cucumber-expressions>=16.1.2:devel/rubygem-cucumber-cucumber-expressions \
-		rubygem-cucumber-gherkin26>=24<26.2.1:textproc/rubygem-cucumber-gherkin26 \
-		rubygem-cucumber-html-formatter>=20.4.0<21:textproc/rubygem-cucumber-html-formatter \
+		rubygem-cucumber-ci-environment>=9.2.0:devel/rubygem-cucumber-ci-environment \
+		rubygem-cucumber-core>=12.0<13:devel/rubygem-cucumber-core \
+		rubygem-cucumber-cucumber-expressions>=17.0<18:devel/rubygem-cucumber-cucumber-expressions \
+		rubygem-cucumber-gherkin26>=24<27:textproc/rubygem-cucumber-gherkin26 \
+		rubygem-cucumber-html-formatter>=20.4.0:textproc/rubygem-cucumber-html-formatter \
 		rubygem-cucumber-messages22>=19<23:devel/rubygem-cucumber-messages22 \
 		rubygem-diff-lcs>=1.5.0<2:textproc/rubygem-diff-lcs \
 		rubygem-mini_mime>=1.1.5<2:mail/rubygem-mini_mime \
diff --git a/devel/rubygem-cucumber/distinfo b/devel/rubygem-cucumber/distinfo
index a642aa932827..2d67ff3ba991 100644
--- a/devel/rubygem-cucumber/distinfo
+++ b/devel/rubygem-cucumber/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695143445
-SHA256 (rubygem/cucumber-9.0.2.gem) = b094fe5d001888bcdfc35bf4f79937601040c4256adc2085484d436275c18b43
-SIZE (rubygem/cucumber-9.0.2.gem) = 80384
+TIMESTAMP = 1700760626
+SHA256 (rubygem/cucumber-9.1.0.gem) = 614f4dc638fa2e4eaf8c1ac5f0198c3b33e9134f38093d5d546933a2895cab3e
+SIZE (rubygem/cucumber-9.1.0.gem) = 79872
diff --git a/devel/rubygem-cucumber/files/patch-cucumber-cucumber-expressions b/devel/rubygem-cucumber/files/patch-cucumber-cucumber-expressions
deleted file mode 100644
index a8ba8509f258..000000000000
--- a/devel/rubygem-cucumber/files/patch-cucumber-cucumber-expressions
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib/cucumber/glue/registry_and_more.rb.orig	2023-10-07 11:47:11 UTC
-+++ lib/cucumber/glue/registry_and_more.rb
-@@ -206,8 +206,8 @@ module Cucumber
-             id: @configuration.id_generator.new_id,
-             name: parameter_type.name,
-             regular_expressions: parameter_type.regexps.map(&:to_s),
--            prefer_for_regular_expression_match: parameter_type.prefer_for_regexp_match?,
--            use_for_snippets: parameter_type.use_for_snippets?
-+            prefer_for_regular_expression_match: parameter_type.prefer_for_regexp_match,
-+            use_for_snippets: parameter_type.use_for_snippets
-           )
-         )
-       end
diff --git a/devel/rubygem-cucumber/files/patch-gemspec b/devel/rubygem-cucumber/files/patch-gemspec
index 5a9d96a30d85..dc257c3c48c8 100644
--- a/devel/rubygem-cucumber/files/patch-gemspec
+++ b/devel/rubygem-cucumber/files/patch-gemspec
@@ -1,13 +1,16 @@
---- cucumber.gemspec.orig	2023-10-07 11:47:11 UTC
+--- cucumber.gemspec.orig	2023-11-23 20:45:00 UTC
 +++ cucumber.gemspec
-@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
+@@ -24,11 +24,11 @@ Gem::Specification.new do |s|
+   s.specification_version = 4
  
    s.add_runtime_dependency(%q<builder>.freeze, ["~> 3.2", ">= 3.2.4"])
-   s.add_runtime_dependency(%q<cucumber-ci-environment>.freeze, ["~> 9.2", ">= 9.2.0"])
--  s.add_runtime_dependency(%q<cucumber-core>.freeze, ["~> 11.1", ">= 11.1.0"])
--  s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, ["~> 16.1", ">= 16.1.2"])
-+  s.add_runtime_dependency(%q<cucumber-core>.freeze, [">= 11.1.0", "< 13"])
-+  s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, [">= 16.1.2"])
-   s.add_runtime_dependency(%q<cucumber-gherkin>.freeze, [">= 24", "< 26.2.1"])
-   s.add_runtime_dependency(%q<cucumber-html-formatter>.freeze, ["~> 20.4", ">= 20.4.0"])
+-  s.add_runtime_dependency(%q<cucumber-ci-environment>.freeze, ["~> 9.2", ">= 9.2.0"])
++  s.add_runtime_dependency(%q<cucumber-ci-environment>.freeze, [">= 9.2.0"])
+   s.add_runtime_dependency(%q<cucumber-core>.freeze, ["~> 12.0"])
+   s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, ["~> 17.0"])
+   s.add_runtime_dependency(%q<cucumber-gherkin>.freeze, [">= 24", "< 27"])
+-  s.add_runtime_dependency(%q<cucumber-html-formatter>.freeze, ["~> 20.4", ">= 20.4.0"])
++  s.add_runtime_dependency(%q<cucumber-html-formatter>.freeze, [">= 20.4.0"])
    s.add_runtime_dependency(%q<cucumber-messages>.freeze, [">= 19", "< 23"])
+   s.add_runtime_dependency(%q<diff-lcs>.freeze, ["~> 1.5", ">= 1.5.0"])
+   s.add_runtime_dependency(%q<mini_mime>.freeze, ["~> 1.1", ">= 1.1.5"])