git: 1f01af5d1637 - main - net/rubygem-google-cloud-storage: Update to 1.44.0

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

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

commit 1f01af5d16370333a3b48c5c13b93374b5bad554
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:48:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:05:38 +0000

    net/rubygem-google-cloud-storage: Update to 1.44.0
    
    - Update WWW
    - Fix gemspec for rubygem-google-apis-storage_v1 0.20.0 update
    
    Changes:        https://github.com/googleapis/google-cloud-ruby/releases
                    https://github.com/googleapis/google-cloud-ruby/blob/main/google-cloud-storage/CHANGELOG.md
---
 net/rubygem-google-cloud-storage/Makefile            |  6 +++---
 net/rubygem-google-cloud-storage/distinfo            |  6 +++---
 net/rubygem-google-cloud-storage/files/patch-gemspec | 11 +++++++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/net/rubygem-google-cloud-storage/Makefile b/net/rubygem-google-cloud-storage/Makefile
index e93d85b2f58c..6d88acb68eb7 100644
--- a/net/rubygem-google-cloud-storage/Makefile
+++ b/net/rubygem-google-cloud-storage/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	google-cloud-storage
-PORTVERSION=	1.43.0
+PORTVERSION=	1.44.0
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Official library for Google Cloud Storage
-WWW=		https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-storage
+WWW=		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-storage
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	rubygem-addressable>=2.8<3:www/rubygem-addressable \
 		rubygem-digest-crc>=0.4<1:security/rubygem-digest-crc \
 		rubygem-google-apis-iamcredentials_v1>=0.1<1:devel/rubygem-google-apis-iamcredentials_v1 \
-		rubygem-google-apis-storage_v1>=0.19.0<0.20:devel/rubygem-google-apis-storage_v1 \
+		rubygem-google-apis-storage_v1>=0.19.0<1:devel/rubygem-google-apis-storage_v1 \
 		rubygem-google-cloud-core>=1.6<2:net/rubygem-google-cloud-core \
 		rubygem-googleauth>=0.16.2<2.0:security/rubygem-googleauth \
 		rubygem-mini_mime>=1.0<2:mail/rubygem-mini_mime
diff --git a/net/rubygem-google-cloud-storage/distinfo b/net/rubygem-google-cloud-storage/distinfo
index 920f2d9882f0..be44a04b3c8b 100644
--- a/net/rubygem-google-cloud-storage/distinfo
+++ b/net/rubygem-google-cloud-storage/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664768166
-SHA256 (rubygem/google-cloud-storage-1.43.0.gem) = 28bb7a400d21a3de96ebb324b0786ecd193af59be02f70cd5746be4f96c77048
-SIZE (rubygem/google-cloud-storage-1.43.0.gem) = 102400
+TIMESTAMP = 1669058157
+SHA256 (rubygem/google-cloud-storage-1.44.0.gem) = 299a1e055c9277c8120f7c10d21d37e4d8c17c7b963350c0e0bff7e9d9a570ea
+SIZE (rubygem/google-cloud-storage-1.44.0.gem) = 102912
diff --git a/net/rubygem-google-cloud-storage/files/patch-gemspec b/net/rubygem-google-cloud-storage/files/patch-gemspec
new file mode 100644
index 000000000000..9ffda22e8f6b
--- /dev/null
+++ b/net/rubygem-google-cloud-storage/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- google-cloud-storage.gemspec.orig	2022-11-28 12:50:32 UTC
++++ google-cloud-storage.gemspec
+@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+   if s.respond_to? :add_runtime_dependency then
+     s.add_runtime_dependency(%q<google-cloud-core>.freeze, ["~> 1.6"])
+     s.add_runtime_dependency(%q<google-apis-iamcredentials_v1>.freeze, ["~> 0.1"])
+-    s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.19.0"])
++    s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.19"])
+     s.add_runtime_dependency(%q<googleauth>.freeze, [">= 0.16.2", "< 2.a"])
+     s.add_runtime_dependency(%q<digest-crc>.freeze, ["~> 0.4"])
+     s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.8"])