git: 4e03aff61630 - main - devel/rubygem-ruby-lsp-rspec: Fix gemspec for rubygem-ruby-lsp 0.20.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 19:07:07 UTC
The branch main has been updated by sunpoet:

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

commit 4e03aff616307d3024f4661fd1dbe262391b2890
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-17 19:03:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-17 19:03:33 +0000

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

diff --git a/devel/rubygem-ruby-lsp-rspec/Makefile b/devel/rubygem-ruby-lsp-rspec/Makefile
index a24e2b492941..2b4f039bb2b3 100644
--- a/devel/rubygem-ruby-lsp-rspec/Makefile
+++ b/devel/rubygem-ruby-lsp-rspec/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ruby-lsp-rspec
 PORTVERSION=	0.1.15
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -10,7 +11,7 @@ WWW=		https://github.com/st0012/ruby-lsp-rspec
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	rubygem-ruby-lsp>=0.19.0<0.20:devel/rubygem-ruby-lsp
+RUN_DEPENDS=	rubygem-ruby-lsp>=0.20.0<0.21:devel/rubygem-ruby-lsp
 
 USES=		gem
 
diff --git a/devel/rubygem-ruby-lsp-rspec/files/patch-gemspec b/devel/rubygem-ruby-lsp-rspec/files/patch-gemspec
new file mode 100644
index 000000000000..4fd9f5a7b6b5
--- /dev/null
+++ b/devel/rubygem-ruby-lsp-rspec/files/patch-gemspec
@@ -0,0 +1,10 @@
+--- ruby-lsp-rspec.gemspec.orig	2024-10-15 04:04:44 UTC
++++ ruby-lsp-rspec.gemspec
+@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<ruby-lsp>.freeze, ["~> 0.19.0".freeze])
++  s.add_runtime_dependency(%q<ruby-lsp>.freeze, ["~> 0.20.0".freeze])
+ end
+