aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-state_machines-activemodel-gitlab
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2025-06-18 13:32:41 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2025-06-20 03:55:32 +0000
commit2644952f0380a2e527143a7231c5ed6d86334dc9 (patch)
tree067d62d499de25be0117021ac8fcb3bd8ed2294b /databases/rubygem-state_machines-activemodel-gitlab
parent66f8540edc7bd00724cbd731325b92ad99da9018 (diff)
Diffstat (limited to 'databases/rubygem-state_machines-activemodel-gitlab')
-rw-r--r--databases/rubygem-state_machines-activemodel-gitlab/Makefile21
-rw-r--r--databases/rubygem-state_machines-activemodel-gitlab/distinfo3
-rw-r--r--databases/rubygem-state_machines-activemodel-gitlab/pkg-descr4
3 files changed, 28 insertions, 0 deletions
diff --git a/databases/rubygem-state_machines-activemodel-gitlab/Makefile b/databases/rubygem-state_machines-activemodel-gitlab/Makefile
new file mode 100644
index 000000000000..478e494f49c5
--- /dev/null
+++ b/databases/rubygem-state_machines-activemodel-gitlab/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= state_machines-activemodel
+PORTVERSION= 0.9.0
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Support for creating state machines for attributes on ActiveModel
+WWW= https://github.com/state-machines/state_machines-activemodel
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activemodel-gitlab>=6.0:databases/rubygem-activemodel-gitlab \
+ rubygem-state_machines>=0.6.0:devel/rubygem-state_machines
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-state_machines-activemodel-gitlab/distinfo b/databases/rubygem-state_machines-activemodel-gitlab/distinfo
new file mode 100644
index 000000000000..1ee19d6e9c98
--- /dev/null
+++ b/databases/rubygem-state_machines-activemodel-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688902213
+SHA256 (rubygem/state_machines-activemodel-0.9.0.gem) = 832fcee34a4e1093a3539cb7f6d864fb480c489e5025f8f4ba55a26d32d0b04a
+SIZE (rubygem/state_machines-activemodel-0.9.0.gem) = 15360
diff --git a/databases/rubygem-state_machines-activemodel-gitlab/pkg-descr b/databases/rubygem-state_machines-activemodel-gitlab/pkg-descr
new file mode 100644
index 000000000000..0004b37c526c
--- /dev/null
+++ b/databases/rubygem-state_machines-activemodel-gitlab/pkg-descr
@@ -0,0 +1,4 @@
+The StateMachines ActiveModel integration is useful for both standalone usage
+and for providing the base implementation for ORMs which implement the
+ActiveModel API. This integration adds support for validation errors and dirty
+attribute tracking.