git: 3deae882718d - main - devel/rubygem-inspec-core: Fix gemspec for rubygem-rspec 3.11.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:27:29 UTC
The branch main has been updated by sunpoet:

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

commit 3deae882718ddd5116e37338f78cb02c411d2ace
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 18:08:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:13:22 +0000

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

diff --git a/devel/rubygem-inspec-core/Makefile b/devel/rubygem-inspec-core/Makefile
index 3a1e1ed2e6d4..9f9919f94a7f 100644
--- a/devel/rubygem-inspec-core/Makefile
+++ b/devel/rubygem-inspec-core/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	inspec-core
 PORTVERSION=	4.41.20
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -24,7 +24,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:devel/rubygem-rspec \
+		rubygem-rspec>=3.9<3.12: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..ec5ed0d33c42
--- /dev/null
+++ b/devel/rubygem-inspec-core/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- inspec-core.gemspec.orig	2022-02-28 22:46:33 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.12"])
+     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"])