diff options
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/rubygem-state_machines-activemodel/Makefile | 23 | ||||
-rw-r--r-- | databases/rubygem-state_machines-activemodel/distinfo | 2 | ||||
-rw-r--r-- | databases/rubygem-state_machines-activemodel/pkg-descr | 6 |
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 |