git: 07c388c671ca - main - devel/rubygem-inspec-core: Fix gemspec for rubygem-rspec 3.12.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:17:26 UTC
The branch main has been updated by sunpoet:

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

commit 07c388c671ca38d4d841e8cde3c56f57be90ed48
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:52:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:06:13 +0000

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

diff --git a/devel/rubygem-inspec-core/Makefile b/devel/rubygem-inspec-core/Makefile
index 4e87d76244f7..c1812b517b18 100644
--- a/devel/rubygem-inspec-core/Makefile
+++ b/devel/rubygem-inspec-core/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	inspec-core
 PORTVERSION=	4.56.20
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -22,7 +23,7 @@ RUN_DEPENDS=	rubygem-addressable>=2.4<3:www/rubygem-addressable \
 		rubygem-parallel>=1.9<2:sysutils/rubygem-parallel \
 		rubygem-parslet1>=1.5<2:textproc/rubygem-parslet1 \
 		rubygem-pry>=0.13<1:devel/rubygem-pry \
-		rubygem-rspec>=3.9<3.11.1:devel/rubygem-rspec \
+		rubygem-rspec>=3.9<3.13:devel/rubygem-rspec \
 		rubygem-rspec-its>=1.2<2:devel/rubygem-rspec-its \
 		rubygem-rubyzip>=1.2.2<3:archivers/rubygem-rubyzip \
 		rubygem-semverse>=3.0<4:devel/rubygem-semverse \
diff --git a/devel/rubygem-inspec-core/files/patch-gemspec b/devel/rubygem-inspec-core/files/patch-gemspec
new file mode 100644
index 000000000000..fdf587910fda
--- /dev/null
+++ b/devel/rubygem-inspec-core/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- inspec-core.gemspec.orig	2022-11-27 18:06:07 UTC
++++ inspec-core.gemspec
+@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
+     s.add_runtime_dependency(%q<thor>.freeze, [">= 0.20", "< 2.0"])
+     s.add_runtime_dependency(%q<method_source>.freeze, [">= 0.8", "< 2.0"])
+     s.add_runtime_dependency(%q<rubyzip>.freeze, [">= 1.2.2", "< 3.0"])
+-    s.add_runtime_dependency(%q<rspec>.freeze, [">= 3.9", "<= 3.11"])
++    s.add_runtime_dependency(%q<rspec>.freeze, [">= 3.9", "< 3.13"])
+     s.add_runtime_dependency(%q<rspec-its>.freeze, ["~> 1.2"])
+     s.add_runtime_dependency(%q<pry>.freeze, ["~> 0.13"])
+     s.add_runtime_dependency(%q<hashie>.freeze, [">= 3.4", "< 5.0"])