git: 8a46b53034cd - main - databases/rubygem-activemodel72: Add rubygem-activemodel72 7.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:18:21 UTC
The branch main has been updated by sunpoet:

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

commit 8a46b53034cd754868786fc63f15c72ca8b5d975
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:50:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:00 +0000

    databases/rubygem-activemodel72: Add rubygem-activemodel72 7.2.1
    
    Active Model provides a known set of interfaces for usage in model classes. They
    allow for Action Pack helpers to interact with non-Active Record models, for
    example. Active Model also helps with building custom ORMs for use outside of
    the Rails framework.
    
    Active Model provides a default module that implements the basic API required to
    integrate with Action Pack out of the box: ActiveModel::API.
---
 databases/Makefile                        |  1 +
 databases/rubygem-activemodel72/Makefile  | 23 +++++++++++++++++++++++
 databases/rubygem-activemodel72/distinfo  |  3 +++
 databases/rubygem-activemodel72/pkg-descr |  7 +++++++
 4 files changed, 34 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 6e4c091e149f..026102eacd36 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -914,6 +914,7 @@
     SUBDIR += rubygem-activemodel61
     SUBDIR += rubygem-activemodel70
     SUBDIR += rubygem-activemodel71
+    SUBDIR += rubygem-activemodel72
     SUBDIR += rubygem-activerecord-explain-analyze
     SUBDIR += rubygem-activerecord-import
     SUBDIR += rubygem-activerecord-jdbc-adapter
diff --git a/databases/rubygem-activemodel72/Makefile b/databases/rubygem-activemodel72/Makefile
new file mode 100644
index 000000000000..f1a563ffb68c
--- /dev/null
+++ b/databases/rubygem-activemodel72/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	activemodel
+PORTVERSION=	7.2.1
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	72
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Toolkit for building modeling frameworks like Active Record
+WWW=		https://github.com/rails/rails/tree/main/activemodel \
+		https://rubyonrails.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.2\.
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-activemodel72/distinfo b/databases/rubygem-activemodel72/distinfo
new file mode 100644
index 000000000000..e847db79dbed
--- /dev/null
+++ b/databases/rubygem-activemodel72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487280
+SHA256 (rubygem/activemodel-7.2.1.gem) = 7b24e3927122b99c4623f07607a1d0f1cfd598f9dc5077e70178536dd6663348
+SIZE (rubygem/activemodel-7.2.1.gem) = 67584
diff --git a/databases/rubygem-activemodel72/pkg-descr b/databases/rubygem-activemodel72/pkg-descr
new file mode 100644
index 000000000000..9e0e982e3352
--- /dev/null
+++ b/databases/rubygem-activemodel72/pkg-descr
@@ -0,0 +1,7 @@
+Active Model provides a known set of interfaces for usage in model classes. They
+allow for Action Pack helpers to interact with non-Active Record models, for
+example. Active Model also helps with building custom ORMs for use outside of
+the Rails framework.
+
+Active Model provides a default module that implements the basic API required to
+integrate with Action Pack out of the box: ActiveModel::API.