git: 510a10276891 - main - devel/rubygem-metrics: Add rubygem-metrics 0.10.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 18:42:11 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=510a1027689186093a8bf139705c7f271640d617
commit 510a1027689186093a8bf139705c7f271640d617
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 17:47:36 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:36:56 +0000
devel/rubygem-metrics: Add rubygem-metrics 0.10.2
Capture metrics about code execution in a vendor agnostic way. As the author of
many libraries which would benefit from metrics, there are few key priorities:
(1) zero overhead if metrics are disabled, minimal overhead if enabled, and (2)
a small and opinionated interface with standardised semantics.
Features:
- Zero-overhead if tracing is disabled and minimal overhead if enabled.
- Small opinionated interface with standardised semantics.
---
devel/Makefile | 1 +
devel/rubygem-metrics/Makefile | 17 +++++++++++++++++
devel/rubygem-metrics/distinfo | 3 +++
devel/rubygem-metrics/pkg-descr | 8 ++++++++
4 files changed, 29 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 867bca40aef5..b5c7f49c9e4e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7371,6 +7371,7 @@
SUBDIR += rubygem-metaid
SUBDIR += rubygem-metasm
SUBDIR += rubygem-method_source
+ SUBDIR += rubygem-metrics
SUBDIR += rubygem-micromachine
SUBDIR += rubygem-middleware
SUBDIR += rubygem-mini_histogram
diff --git a/devel/rubygem-metrics/Makefile b/devel/rubygem-metrics/Makefile
new file mode 100644
index 000000000000..b4ab6dce8adf
--- /dev/null
+++ b/devel/rubygem-metrics/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= metrics
+PORTVERSION= 0.10.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Application metrics and instrumentation
+WWW= https://github.com/socketry/metrics
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/license.md
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-metrics/distinfo b/devel/rubygem-metrics/distinfo
new file mode 100644
index 000000000000..6b01ce903c14
--- /dev/null
+++ b/devel/rubygem-metrics/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725559543
+SHA256 (rubygem/metrics-0.10.2.gem) = 5f03b7b0a81390cf49510359244935335ce655038ffb0dedbc2acf97dce8e9cb
+SIZE (rubygem/metrics-0.10.2.gem) = 12288
diff --git a/devel/rubygem-metrics/pkg-descr b/devel/rubygem-metrics/pkg-descr
new file mode 100644
index 000000000000..800547a97ba5
--- /dev/null
+++ b/devel/rubygem-metrics/pkg-descr
@@ -0,0 +1,8 @@
+Capture metrics about code execution in a vendor agnostic way. As the author of
+many libraries which would benefit from metrics, there are few key priorities:
+(1) zero overhead if metrics are disabled, minimal overhead if enabled, and (2)
+a small and opinionated interface with standardised semantics.
+
+Features:
+- Zero-overhead if tracing is disabled and minimal overhead if enabled.
+- Small opinionated interface with standardised semantics.