summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-12-30 12:17:49 +0000
committersunpoet <sunpoet@FreeBSD.org>2015-12-30 12:17:49 +0000
commitff613621a8a61ebd8ab5f890e7944f24cf25482b (patch)
tree7e2dc06288bfb9621ce02a0f95975abb418e3f4c /databases
parentc7101d76d568c3b627dbc1cd4728cde371e19088 (diff)
downloadFreeBSD-ports-ff613621a8a61ebd8ab5f890e7944f24cf25482b.zip
FreeBSD-ports-ff613621a8a61ebd8ab5f890e7944f24cf25482b.tar.gz
- Add rubygem-state_machines-activemodel 0.3.0
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
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-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
4 files changed, 32 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index b112282..844dd90 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -906,6 +906,7 @@
SUBDIR += rubygem-seed-fu
SUBDIR += rubygem-sqlite3
SUBDIR += rubygem-sqlite3-ruby
+ SUBDIR += rubygem-state_machines-activemodel
SUBDIR += rubygem-tarantool
SUBDIR += sfcgal
SUBDIR += sharedance
diff --git a/databases/rubygem-state_machines-activemodel/Makefile b/databases/rubygem-state_machines-activemodel/Makefile
new file mode 100644
index 0000000..681f91c
--- /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 0000000..77808aa
--- /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 0000000..94a0df1
--- /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
OpenPOWER on IntegriCloud