git: 330c4a6f9695 - main - databases/rubygem-google-cloud-firestore: Add rubygem-google-cloud-firestore 2.13.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 06:05:03 UTC
The branch main has been updated by sunpoet:

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

commit 330c4a6f9695691a0482310a1b2ed54cb4af76c8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 05:31:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 05:31:31 +0000

    databases/rubygem-google-cloud-firestore: Add rubygem-google-cloud-firestore 2.13.1
    
    Cloud Firestore is a NoSQL document database built for automatic scaling, high
    performance, and ease of application development. While the Cloud Firestore
    interface has many of the same features as traditional databases, as a NoSQL
    database it differs from them in the way it describes relationships between data
    objects.
---
 databases/Makefile                                 |  1 +
 databases/rubygem-google-cloud-firestore/Makefile  | 26 ++++++++++++++++++++++
 databases/rubygem-google-cloud-firestore/distinfo  |  3 +++
 databases/rubygem-google-cloud-firestore/pkg-descr |  5 +++++
 4 files changed, 35 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index ffa44b6533dc..ccbf9c2a9458 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -967,6 +967,7 @@
     SUBDIR += rubygem-globalid-rails71
     SUBDIR += rubygem-google-cloud-datastore
     SUBDIR += rubygem-google-cloud-datastore-v1
+    SUBDIR += rubygem-google-cloud-firestore
     SUBDIR += rubygem-her
     SUBDIR += rubygem-hiredis
     SUBDIR += rubygem-influxdb
diff --git a/databases/rubygem-google-cloud-firestore/Makefile b/databases/rubygem-google-cloud-firestore/Makefile
new file mode 100644
index 000000000000..f611f1045da8
--- /dev/null
+++ b/databases/rubygem-google-cloud-firestore/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	google-cloud-firestore
+PORTVERSION=	2.13.1
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Official library for Google Cloud Firestore API
+WWW=		https://rubygems.org/gems/google-cloud-firestore
+WWW=		https://cloud.google.com/ruby/docs/reference/google-cloud-firestore/latest/ \
+		https://googleapis.github.io/google-cloud-ruby/docs/ \
+		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-firestore \
+		https://github.com/googleapis/google-cloud-ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \
+		rubygem-google-cloud-core>=1.5<2:net/rubygem-google-cloud-core \
+		rubygem-google-cloud-firestore-v1>=0.10<1:databases/rubygem-google-cloud-firestore-v1 \
+		rubygem-rbtree>=0.4.2<0.5:devel/rubygem-rbtree
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-google-cloud-firestore/distinfo b/databases/rubygem-google-cloud-firestore/distinfo
new file mode 100644
index 000000000000..e8203f6d00fc
--- /dev/null
+++ b/databases/rubygem-google-cloud-firestore/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702028012
+SHA256 (rubygem/google-cloud-firestore-2.13.1.gem) = 1e56b2143bcb9198b1c6d9ce025b54e410f3eec40162beece5a27a9e74449164
+SIZE (rubygem/google-cloud-firestore-2.13.1.gem) = 79360
diff --git a/databases/rubygem-google-cloud-firestore/pkg-descr b/databases/rubygem-google-cloud-firestore/pkg-descr
new file mode 100644
index 000000000000..ba4d0188408b
--- /dev/null
+++ b/databases/rubygem-google-cloud-firestore/pkg-descr
@@ -0,0 +1,5 @@
+Cloud Firestore is a NoSQL document database built for automatic scaling, high
+performance, and ease of application development. While the Cloud Firestore
+interface has many of the same features as traditional databases, as a NoSQL
+database it differs from them in the way it describes relationships between data
+objects.