git: ddd9a2b945ba - main - devel/rubygem-concurrent-ruby-edge: Fix gemspec for rubygem-concurrent-ruby 1.3.0+ update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Jun 2024 02:48:50 UTC
The branch main has been updated by sunpoet:

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

commit ddd9a2b945ba6e7a00d890ebb9e9abf54700e873
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-03 02:39:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-03 02:39:19 +0000

    devel/rubygem-concurrent-ruby-edge: Fix gemspec for rubygem-concurrent-ruby 1.3.0+ update
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-concurrent-ruby-edge/Makefile            |  3 ++-
 devel/rubygem-concurrent-ruby-edge/files/patch-gemspec | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/devel/rubygem-concurrent-ruby-edge/Makefile b/devel/rubygem-concurrent-ruby-edge/Makefile
index c23fb72606c8..d76c88371430 100644
--- a/devel/rubygem-concurrent-ruby-edge/Makefile
+++ b/devel/rubygem-concurrent-ruby-edge/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	concurrent-ruby-edge
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -10,7 +11,7 @@ WWW=		https://github.com/ruby-concurrency/concurrent-ruby
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	rubygem-concurrent-ruby>=1.2.0<1.3:devel/rubygem-concurrent-ruby
+RUN_DEPENDS=	rubygem-concurrent-ruby>=1.2.0<2:devel/rubygem-concurrent-ruby
 
 USES=		gem
 
diff --git a/devel/rubygem-concurrent-ruby-edge/files/patch-gemspec b/devel/rubygem-concurrent-ruby-edge/files/patch-gemspec
new file mode 100644
index 000000000000..b8b96aa8c081
--- /dev/null
+++ b/devel/rubygem-concurrent-ruby-edge/files/patch-gemspec
@@ -0,0 +1,10 @@
+--- concurrent-ruby-edge.gemspec.orig	2024-05-29 17:59:38 UTC
++++ concurrent-ruby-edge.gemspec
+@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.2.0".freeze])
++  s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.2".freeze])
+ end
+