aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-state_machines-activemodel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-30 12:17:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-30 12:17:49 +0000
commit0128ee40a84519fc86305164c5437974c1cdb8f5 (patch)
tree7e2dc06288bfb9621ce02a0f95975abb418e3f4c /databases/rubygem-state_machines-activemodel
parent63163ec34cb7fdf50769aecbf1557085c18d28b3 (diff)
Notes
Diffstat (limited to 'databases/rubygem-state_machines-activemodel')
-rw-r--r--databases/rubygem-state_machines-activemodel/Makefile23
-rw-r--r--databases/rubygem-state_machines-activemodel/distinfo2
-rw-r--r--databases/rubygem-state_machines-activemodel/pkg-descr6
3 files changed, 31 insertions, 0 deletions
diff --git a/databases/rubygem-state_machines-activemodel/Makefile b/databases/rubygem-state_machines-activemodel/Makefile
new file mode 100644
index 000000000000..681f91cf62a7
--- /dev/null
+++ b/databases/rubygem-state_machines-activemodel/Makefile
@@ -0,0 +1,23 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= state_machines-activemodel
+PORTVERSION= 0.3.0
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Support for creating state machines for attributes on ActiveModel
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activemodel4>=4.1:${PORTSDIR}/databases/rubygem-activemodel4 \
+ rubygem-state_machines>=0.4.0:${PORTSDIR}/devel/rubygem-state_machines
+
+NO_ARCH= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-state_machines-activemodel/distinfo b/databases/rubygem-state_machines-activemodel/distinfo
new file mode 100644
index 000000000000..77808aa4ff1d
--- /dev/null
+++ b/databases/rubygem-state_machines-activemodel/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/state_machines-activemodel-0.3.0.gem) = 1e7cc1411d4a94d5fc95b3ddbdcc1d8ec0801b804173b8afba6e8b3d4a6550af
+SIZE (rubygem/state_machines-activemodel-0.3.0.gem) = 17408
diff --git a/databases/rubygem-state_machines-activemodel/pkg-descr b/databases/rubygem-state_machines-activemodel/pkg-descr
new file mode 100644
index 000000000000..94a0df12f6d9
--- /dev/null
+++ b/databases/rubygem-state_machines-activemodel/pkg-descr
@@ -0,0 +1,6 @@
+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.
+
+WWW: https://github.com/state-machines/state_machines-activemodel