git: 2ee5b5663eef - main - databases/rubygem-fabrication: New port

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

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

commit 2ee5b5663eef765b5413e55cbffe0ad477586f66
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 22:18:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 22:18:43 +0000

    databases/rubygem-fabrication: New port
    
    Fabrication generates objects in Ruby. Fabricators are schematics for
    your objects, and can be created as needed anywhere in your app or
    specs.
    
    Fabrication can generate anything, but has specific support for
    ActiveRecord Models, Mongoid Documents, Sequel Models, and DataMapper
    Resources.
    
    Sponsored by:   Nepustil
---
 databases/Makefile                      |  1 +
 databases/rubygem-fabrication/Makefile  | 18 ++++++++++++++++++
 databases/rubygem-fabrication/distinfo  |  3 +++
 databases/rubygem-fabrication/pkg-descr |  5 +++++
 4 files changed, 27 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 83e8db631346..f7bf3d09b30b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -949,6 +949,7 @@
     SUBDIR += rubygem-do_postgres
     SUBDIR += rubygem-do_sqlite3
     SUBDIR += rubygem-em-redis-unified
+    SUBDIR += rubygem-fabrication
     SUBDIR += rubygem-familia
     SUBDIR += rubygem-flipper-active_record
     SUBDIR += rubygem-flipper-active_record-rails61
diff --git a/databases/rubygem-fabrication/Makefile b/databases/rubygem-fabrication/Makefile
new file mode 100644
index 000000000000..4b76da037a6f
--- /dev/null
+++ b/databases/rubygem-fabrication/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	fabrication
+PORTVERSION=	2.30.0
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Object generation framework for ActiveRecord or any other Ruby object
+WWW=		https://fabricationgem.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-fabrication/distinfo b/databases/rubygem-fabrication/distinfo
new file mode 100644
index 000000000000..23f009dc6fe7
--- /dev/null
+++ b/databases/rubygem-fabrication/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1668895388
+SHA256 (rubygem/fabrication-2.30.0.gem) = b838236df6fc45bf806a3bb4ce78546d5a925f28879ffd05fe90277265d5ba2f
+SIZE (rubygem/fabrication-2.30.0.gem) = 15360
diff --git a/databases/rubygem-fabrication/pkg-descr b/databases/rubygem-fabrication/pkg-descr
new file mode 100644
index 000000000000..75c718472042
--- /dev/null
+++ b/databases/rubygem-fabrication/pkg-descr
@@ -0,0 +1,5 @@
+Fabrication generates objects in Ruby. Fabricators are schematics for your
+objects, and can be created as needed anywhere in your app or specs.
+
+Fabrication can generate anything, but has specific support for ActiveRecord
+Models, Mongoid Documents, Sequel Models, and DataMapper Resources.