git: 4e09680ca54b - main - devel/rubygem-ruby-lsp-rails: Fix gemspec for rubygem-ruby-lsp 0.13.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 22:26:07 UTC
The branch main has been updated by sunpoet:

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

commit 4e09680ca54ba902605a8ac2190c9f96e3a3f4e8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-01 22:08:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-01 22:13:25 +0000

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

diff --git a/devel/rubygem-ruby-lsp-rails/Makefile b/devel/rubygem-ruby-lsp-rails/Makefile
index 2974be1767f5..3a708d4d913a 100644
--- a/devel/rubygem-ruby-lsp-rails/Makefile
+++ b/devel/rubygem-ruby-lsp-rails/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ruby-lsp-rails
 PORTVERSION=	0.2.7
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	rubygem-rails71>=6.0:www/rubygem-rails71 \
-		rubygem-ruby-lsp>=0.12.0<0.13.0:devel/rubygem-ruby-lsp \
+		rubygem-ruby-lsp>=0.12.0<0.14.0:devel/rubygem-ruby-lsp \
 		rubygem-sorbet-runtime>=0.5.9897:devel/rubygem-sorbet-runtime
 
 USES=		gem
diff --git a/devel/rubygem-ruby-lsp-rails/files/patch-gemspec b/devel/rubygem-ruby-lsp-rails/files/patch-gemspec
new file mode 100644
index 000000000000..9cdc1267d3bf
--- /dev/null
+++ b/devel/rubygem-ruby-lsp-rails/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- ruby-lsp-rails.gemspec.orig	2023-12-01 09:46:37 UTC
++++ ruby-lsp-rails.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+   s.specification_version = 4
+ 
+   s.add_runtime_dependency(%q<rails>.freeze, [">= 6.0"])
+-  s.add_runtime_dependency(%q<ruby-lsp>.freeze, [">= 0.12.0", "< 0.13.0"])
++  s.add_runtime_dependency(%q<ruby-lsp>.freeze, [">= 0.12.0", "< 0.14.0"])
+   s.add_runtime_dependency(%q<sorbet-runtime>.freeze, [">= 0.5.9897"])
+ end
+