git: ce4ea209d28d - main - net/rubygem-fog-google: Fix gemspec for rubygem-fog-core 2.5.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 21:19:45 UTC
The branch main has been updated by sunpoet:

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

commit ce4ea209d28db10782d9676531e8c17ea44deaab
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 21:17:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 21:17:18 +0000

    net/rubygem-fog-google: Fix gemspec for rubygem-fog-core 2.5.0 update
    
    - Bump PORTREVISION for package change
---
 net/rubygem-fog-google/Makefile            |  3 ++-
 net/rubygem-fog-google/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/net/rubygem-fog-google/Makefile b/net/rubygem-fog-google/Makefile
index 15405103ea3e..30acbc80ac4d 100644
--- a/net/rubygem-fog-google/Makefile
+++ b/net/rubygem-fog-google/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fog-google
 PORTVERSION=	1.24.1
+PORTREVISION=	1
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +12,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	rubygem-addressable>=2.7.0:www/rubygem-addressable \
-		rubygem-fog-core>=0<2.5:devel/rubygem-fog-core \
+		rubygem-fog-core>=0<2.6:devel/rubygem-fog-core \
 		rubygem-fog-json>=1.2<2:devel/rubygem-fog-json \
 		rubygem-fog-xml>=0.1.0<0.2:textproc/rubygem-fog-xml \
 		rubygem-google-apis-compute_v1>=0.53<1:devel/rubygem-google-apis-compute_v1 \
diff --git a/net/rubygem-fog-google/files/patch-gemspec b/net/rubygem-fog-google/files/patch-gemspec
new file mode 100644
index 000000000000..758823530d02
--- /dev/null
+++ b/net/rubygem-fog-google/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- fog-google.gemspec.orig	2024-08-04 19:50:08 UTC
++++ fog-google.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.5".freeze])
++  s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.6".freeze])
+   s.add_runtime_dependency(%q<fog-json>.freeze, ["~> 1.2".freeze])
+   s.add_runtime_dependency(%q<fog-xml>.freeze, ["~> 0.1.0".freeze])
+   s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, [">= 0.19".freeze, "< 1".freeze])