git: a82a1f5105fb - main - net/rubygem-fog-google: use fog-core 2.3.0

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 24 Aug 2022 04:23:20 UTC
The branch main has been updated by mfechner:

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

commit a82a1f5105fb07745190707cf3765b79a3292790
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-08-16 06:52:47 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-08-24 04:22:22 +0000

    net/rubygem-fog-google: use fog-core 2.3.0
    
    Required to resolve dependency problems
---
 net/rubygem-fog-google/Makefile                      |  3 ++-
 .../files/patch-fog-google.gemspec                   | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/net/rubygem-fog-google/Makefile b/net/rubygem-fog-google/Makefile
index 9ac2f19f5449..613b2770613b 100644
--- a/net/rubygem-fog-google/Makefile
+++ b/net/rubygem-fog-google/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fog-google
 PORTVERSION=	1.19.0
+PORTREVISION=	1
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
@@ -9,7 +10,7 @@ COMMENT=	Module for the 'fog' gem to support Google Cloud
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-RUN_DEPENDS=	rubygem-fog-core210>=0<2.3:devel/rubygem-fog-core210 \
+RUN_DEPENDS=	rubygem-fog-core>=0<2.4: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.14<1:devel/rubygem-google-apis-compute_v1 \
diff --git a/net/rubygem-fog-google/files/patch-fog-google.gemspec b/net/rubygem-fog-google/files/patch-fog-google.gemspec
new file mode 100644
index 000000000000..be3200e1ec2c
--- /dev/null
+++ b/net/rubygem-fog-google/files/patch-fog-google.gemspec
@@ -0,0 +1,20 @@
+--- fog-google.gemspec.orig	2022-08-12 13:21:05 UTC
++++ fog-google.gemspec
+@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
+   end
+ 
+   if s.respond_to? :add_runtime_dependency then
+-    s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.3"])
++    s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.4"])
+     s.add_runtime_dependency(%q<fog-json>.freeze, ["~> 1.2"])
+     s.add_runtime_dependency(%q<fog-xml>.freeze, ["~> 0.1.0"])
+     s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.6"])
+@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
+     s.add_development_dependency(%q<vcr>.freeze, [">= 0"])
+     s.add_development_dependency(%q<webmock>.freeze, [">= 0"])
+   else
+-    s.add_dependency(%q<fog-core>.freeze, ["< 2.3"])
++    s.add_dependency(%q<fog-core>.freeze, ["< 2.4"])
+     s.add_dependency(%q<fog-json>.freeze, ["~> 1.2"])
+     s.add_dependency(%q<fog-xml>.freeze, ["~> 0.1.0"])
+     s.add_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.6"])