git: 0caabf6246a2 - main - databases/rubygem-active_model_serializers61: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 05:01:46 UTC
The branch main has been updated by bofh:

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

commit 0caabf6246a26b607c6d9241c1c7b7f9e2aebaa7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 04:54:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 04:54:27 +0000

    databases/rubygem-active_model_serializers61: New port
    
    This gem is an ActiveModel Serializer implementation with Rails hooks.
    It provides a means to generate JSON in an object-oriented and
    convention-driven manner.
    Sponsored by:   Nepustil
---
 databases/Makefile                                 |  1 +
 .../rubygem-active_model_serializers61/Makefile    | 24 ++++++++++++++++++++++
 .../rubygem-active_model_serializers61/distinfo    |  3 +++
 .../rubygem-active_model_serializers61/pkg-descr   |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 2077d490b9c4..261dacee569f 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -885,6 +885,7 @@
     SUBDIR += ruby-tokyocabinet
     SUBDIR += ruby-xapian
     SUBDIR += rubygem-active_model_serializers
+    SUBDIR += rubygem-active_model_serializers61
     SUBDIR += rubygem-active_record_query_trace
     SUBDIR += rubygem-activemodel-serializers-xml
     SUBDIR += rubygem-activemodel4
diff --git a/databases/rubygem-active_model_serializers61/Makefile b/databases/rubygem-active_model_serializers61/Makefile
new file mode 100644
index 000000000000..268929acdb3b
--- /dev/null
+++ b/databases/rubygem-active_model_serializers61/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	active_model_serializers
+PORTVERSION=	0.10.13
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	61
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Conventions-based JSON generation for Rails
+WWW=		https://github.com/rails-api/active_model_serializers
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activemodel61>=4.1<7.1:databases/rubygem-activemodel61 \
+		rubygem-actionpack61>=4.1<7.1:www/rubygem-actionpack61 \
+		rubygem-case_transform61>=0.2:textproc/rubygem-case_transform61 \
+		rubygem-jsonapi-renderer>=0.1.1<0.3:devel/rubygem-jsonapi-renderer
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-active_model_serializers61/distinfo b/databases/rubygem-active_model_serializers61/distinfo
new file mode 100644
index 000000000000..d7e8038a887f
--- /dev/null
+++ b/databases/rubygem-active_model_serializers61/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1643133821
+SHA256 (rubygem/active_model_serializers-0.10.13.gem) = fe81ea418e1372707f726c601e62a75bc93f09c1d802b909e543fa212f3bb775
+SIZE (rubygem/active_model_serializers-0.10.13.gem) = 61440
diff --git a/databases/rubygem-active_model_serializers61/pkg-descr b/databases/rubygem-active_model_serializers61/pkg-descr
new file mode 100644
index 000000000000..00bf98e471e1
--- /dev/null
+++ b/databases/rubygem-active_model_serializers61/pkg-descr
@@ -0,0 +1,3 @@
+This gem is an ActiveModel Serializer implementation with Rails hooks.
+It provides a means to generate JSON in an object-oriented and
+convention-driven manner.