git: 92e1946c9b1a - main - devel/rubygem-commander: Fix gemspec for rubygem-highline 3.1.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 16 Jul 2024 18:39:45 UTC
The branch main has been updated by sunpoet:

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

commit 92e1946c9b1aad32c9439abc0b1708cf7c4ef841
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-16 18:21:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-16 18:36:22 +0000

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

diff --git a/devel/rubygem-commander/Makefile b/devel/rubygem-commander/Makefile
index 6fd02c8a21f9..095fffa31aec 100644
--- a/devel/rubygem-commander/Makefile
+++ b/devel/rubygem-commander/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	commander
 PORTVERSION=	5.0.0
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -10,7 +11,7 @@ WWW=		https://github.com/commander-rb/commander
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-highline>=3.0.0<3.1:devel/rubygem-highline
+RUN_DEPENDS=	rubygem-highline>=3.0<4:devel/rubygem-highline
 
 USES=		gem
 
diff --git a/devel/rubygem-commander/files/patch-gemspec b/devel/rubygem-commander/files/patch-gemspec
new file mode 100644
index 000000000000..fb99b16d1579
--- /dev/null
+++ b/devel/rubygem-commander/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- commander.gemspec.orig	2024-07-16 16:16:26 UTC
++++ commander.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<highline>.freeze, ["~> 3.0.0".freeze])
++  s.add_runtime_dependency(%q<highline>.freeze, ["~> 3.0".freeze])
+   s.add_development_dependency(%q<rake>.freeze, [">= 0".freeze])
+   s.add_development_dependency(%q<rspec>.freeze, ["~> 3.2".freeze])
+   s.add_development_dependency(%q<rubocop>.freeze, ["~> 1.12.1".freeze])