diff options
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/rubygem-state_machines-activerecord/Makefile | 23 | ||||
-rw-r--r-- | databases/rubygem-state_machines-activerecord/distinfo | 2 | ||||
-rw-r--r-- | databases/rubygem-state_machines-activerecord/pkg-descr | 4 |
4 files changed, 30 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 844dd90f116b..c6561de70b63 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -907,6 +907,7 @@ SUBDIR += rubygem-sqlite3 SUBDIR += rubygem-sqlite3-ruby SUBDIR += rubygem-state_machines-activemodel + SUBDIR += rubygem-state_machines-activerecord SUBDIR += rubygem-tarantool SUBDIR += sfcgal SUBDIR += sharedance diff --git a/databases/rubygem-state_machines-activerecord/Makefile b/databases/rubygem-state_machines-activerecord/Makefile new file mode 100644 index 000000000000..41b6546f92c0 --- /dev/null +++ b/databases/rubygem-state_machines-activerecord/Makefile @@ -0,0 +1,23 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= state_machines-activerecord +PORTVERSION= 0.3.0 +CATEGORIES= databases rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Support for creating state machines for attributes on ActiveRecord + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-activerecord4>=4.1:${PORTSDIR}/databases/rubygem-activerecord4 \ + 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-activerecord/distinfo b/databases/rubygem-state_machines-activerecord/distinfo new file mode 100644 index 000000000000..c60bbbbf0c6a --- /dev/null +++ b/databases/rubygem-state_machines-activerecord/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/state_machines-activerecord-0.3.0.gem) = 7d9bd388507ae57061d56ec6d748ec1612ce3b3f56038dfcea895446eca4b781 +SIZE (rubygem/state_machines-activerecord-0.3.0.gem) = 23552 diff --git a/databases/rubygem-state_machines-activerecord/pkg-descr b/databases/rubygem-state_machines-activerecord/pkg-descr new file mode 100644 index 000000000000..a1d452e49a4e --- /dev/null +++ b/databases/rubygem-state_machines-activerecord/pkg-descr @@ -0,0 +1,4 @@ +The StateMachines Active Record 4.1+ integration adds support for database +transactions, automatically saving the record, named scopes, validation errors. + +WWW: https://github.com/state-machines/state_machines-activerecord |