git: 77213af9dbb2 - main - net/rubygem-google-cloud-monitoring: Add rubygem-google-cloud-monitoring 1.6.1

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

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

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

    net/rubygem-google-cloud-monitoring: Add rubygem-google-cloud-monitoring 1.6.1
    
    Ruby Client for the Cloud Monitoring API
    
    Cloud Monitoring collects metrics, events, and metadata from Google Cloud,
    Amazon Web Services (AWS), hosted uptime probes, and application
    instrumentation.
    
    Actual client classes for the various versions of this API are defined in
    versioned client gems, with names of the form google-cloud-monitoring-v*. The
    gem google-cloud-monitoring is the main client library that brings the verisoned
    gems in as dependencies, and provides high-level methods for constructing
    clients.
---
 net/Makefile                                  |  1 +
 net/rubygem-google-cloud-monitoring/Makefile  | 25 +++++++++++++++++++++++++
 net/rubygem-google-cloud-monitoring/distinfo  |  3 +++
 net/rubygem-google-cloud-monitoring/pkg-descr | 11 +++++++++++
 4 files changed, 40 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index fd35e742379c..b4a95949816e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1313,6 +1313,7 @@
     SUBDIR += rubygem-google-cloud-location
     SUBDIR += rubygem-google-cloud-logging
     SUBDIR += rubygem-google-cloud-logging-v2
+    SUBDIR += rubygem-google-cloud-monitoring
     SUBDIR += rubygem-google-cloud-pubsub
     SUBDIR += rubygem-google-cloud-pubsub-v1
     SUBDIR += rubygem-google-cloud-resource_manager
diff --git a/net/rubygem-google-cloud-monitoring/Makefile b/net/rubygem-google-cloud-monitoring/Makefile
new file mode 100644
index 000000000000..b28a03e596a7
--- /dev/null
+++ b/net/rubygem-google-cloud-monitoring/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	google-cloud-monitoring
+PORTVERSION=	1.6.1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby Client for the Cloud Monitoring API
+WWW=		https://cloud.google.com/ruby/docs/reference/google-cloud-monitoring/latest/ \
+		https://googleapis.github.io/google-cloud-ruby/docs/ \
+		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-monitoring \
+		https://github.com/googleapis/google-cloud-ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-google-cloud-core>=1.6<2:net/rubygem-google-cloud-core \
+		rubygem-google-cloud-monitoring-dashboard-v1>=0.11<2.0:net/rubygem-google-cloud-monitoring-dashboard-v1 \
+		rubygem-google-cloud-monitoring-metrics_scope-v1>=0.0<2.0:net/rubygem-google-cloud-monitoring-metrics_scope-v1 \
+		rubygem-google-cloud-monitoring-v3>=0.10<2.0:net/rubygem-google-cloud-monitoring-v3
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-google-cloud-monitoring/distinfo b/net/rubygem-google-cloud-monitoring/distinfo
new file mode 100644
index 000000000000..fd33c512a99a
--- /dev/null
+++ b/net/rubygem-google-cloud-monitoring/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702028022
+SHA256 (rubygem/google-cloud-monitoring-1.6.1.gem) = 96954dac2a00c121d9c93e9e19ae3b0851b2e8e103abbbc10b25baddf34a826e
+SIZE (rubygem/google-cloud-monitoring-1.6.1.gem) = 19968
diff --git a/net/rubygem-google-cloud-monitoring/pkg-descr b/net/rubygem-google-cloud-monitoring/pkg-descr
new file mode 100644
index 000000000000..cf488b3aee48
--- /dev/null
+++ b/net/rubygem-google-cloud-monitoring/pkg-descr
@@ -0,0 +1,11 @@
+Ruby Client for the Cloud Monitoring API
+
+Cloud Monitoring collects metrics, events, and metadata from Google Cloud,
+Amazon Web Services (AWS), hosted uptime probes, and application
+instrumentation.
+
+Actual client classes for the various versions of this API are defined in
+versioned client gems, with names of the form google-cloud-monitoring-v*. The
+gem google-cloud-monitoring is the main client library that brings the verisoned
+gems in as dependencies, and provides high-level methods for constructing
+clients.