git: be96f1b09f37 - main - databases/rubygem-microscope: Add rubygem-microscope 1.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 May 2024 06:29:23 UTC
The branch main has been updated by sunpoet:

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

commit be96f1b09f379899503ddc853023d42c1c88121b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:13:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:21:48 +0000

    databases/rubygem-microscope: Add rubygem-microscope 1.1.1
    
    Microscope adds useful scopes targeting ActiveRecord boolean, date and datetime
    attributes.
---
 databases/Makefile                     |  1 +
 databases/rubygem-microscope/Makefile  | 20 ++++++++++++++++++++
 databases/rubygem-microscope/distinfo  |  3 +++
 databases/rubygem-microscope/pkg-descr |  2 ++
 4 files changed, 26 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index a56e02c6968d..fe261485e714 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -965,6 +965,7 @@
     SUBDIR += rubygem-mario-redis-lock
     SUBDIR += rubygem-memcache
     SUBDIR += rubygem-memcache-client
+    SUBDIR += rubygem-microscope
     SUBDIR += rubygem-mysql
     SUBDIR += rubygem-mysql2
     SUBDIR += rubygem-neighbor
diff --git a/databases/rubygem-microscope/Makefile b/databases/rubygem-microscope/Makefile
new file mode 100644
index 000000000000..acd8f75c1b75
--- /dev/null
+++ b/databases/rubygem-microscope/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	microscope
+PORTVERSION=	1.1.1
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Add useful scopes targeting ActiveRecord boolean and datetime attributes
+WWW=		https://github.com/mirego/microscope
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-activerecord71>=4.1.0:databases/rubygem-activerecord71 \
+		rubygem-activesupport71>=4.1.0:devel/rubygem-activesupport71
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-microscope/distinfo b/databases/rubygem-microscope/distinfo
new file mode 100644
index 000000000000..882963187994
--- /dev/null
+++ b/databases/rubygem-microscope/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714227798
+SHA256 (rubygem/microscope-1.1.1.gem) = a6239b41f302fa4037607208acc912d1c728781e03f7657ce0d3fcd63d2e88e8
+SIZE (rubygem/microscope-1.1.1.gem) = 14848
diff --git a/databases/rubygem-microscope/pkg-descr b/databases/rubygem-microscope/pkg-descr
new file mode 100644
index 000000000000..57d6ec9e33d1
--- /dev/null
+++ b/databases/rubygem-microscope/pkg-descr
@@ -0,0 +1,2 @@
+Microscope adds useful scopes targeting ActiveRecord boolean, date and datetime
+attributes.