aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 22:18:43 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 22:18:43 +0000
commit2ee5b5663eef765b5413e55cbffe0ad477586f66 (patch)
treedbae638ddfd5c71bca968367d1d48915223b9d15
parente43bd270c10de35b6fb8cba45f95a5ad16f3b3f4 (diff)
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
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-fabrication/Makefile18
-rw-r--r--databases/rubygem-fabrication/distinfo3
-rw-r--r--databases/rubygem-fabrication/pkg-descr5
4 files changed, 27 insertions, 0 deletions
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.