diff options
author | swills <swills@FreeBSD.org> | 2011-06-19 02:29:09 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-06-19 02:29:09 +0800 |
commit | aaf78b968c517b9ad5d4152d559e3eb4775559a6 (patch) | |
tree | b04f047fd83cc5a8809b68250ced46e9f7c7fff7 /databases | |
parent | 84fb5dc9d526287439dbf735651c965fe94cc483 (diff) | |
download | freebsd-ports-gnome-aaf78b968c517b9ad5d4152d559e3eb4775559a6.tar.gz freebsd-ports-gnome-aaf78b968c517b9ad5d4152d559e3eb4775559a6.tar.zst freebsd-ports-gnome-aaf78b968c517b9ad5d4152d559e3eb4775559a6.zip |
DataMapper::Observer allows you to add callback hooks to
many models. This is similar to observers in ActiveRecord.
WWW: https://github.com/datamapper/dm-observer
PR: ports/157985
Submitted by: Ryan Steinmetz <rpsfa at rit.edu>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/rubygem-dm-observer/Makefile | 22 | ||||
-rw-r--r-- | databases/rubygem-dm-observer/distinfo | 2 | ||||
-rw-r--r-- | databases/rubygem-dm-observer/pkg-descr | 4 |
4 files changed, 29 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 7381a3dfcfbc..409a3fcde8bc 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -752,6 +752,7 @@ SUBDIR += rubygem-dm-do-adapter SUBDIR += rubygem-dm-migrations SUBDIR += rubygem-dm-mysql-adapter + SUBDIR += rubygem-dm-observer SUBDIR += rubygem-dm-postgres-adapter SUBDIR += rubygem-dm-serializer SUBDIR += rubygem-dm-timestamps diff --git a/databases/rubygem-dm-observer/Makefile b/databases/rubygem-dm-observer/Makefile new file mode 100644 index 000000000000..9edc2f12fffa --- /dev/null +++ b/databases/rubygem-dm-observer/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: rubygem-dm-observer +# Date created: 2011-06-16 +# Whom: Ryan Steinmetz <rpsfa@rit.edu> +# +# $FreeBSD$ +# + +PORTNAME= dm-observer +PORTVERSION= 1.0.2 +CATEGORIES= databases rubygems +MASTER_SITES= RG + +MAINTAINER= rpsfa@rit.edu +COMMENT= DataMapper plugin for observing Resources + +RUN_DEPENDS= rubygem-dm-core>=1.0.2:${PORTSDIR}/databases/rubygem-dm-core + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/databases/rubygem-dm-observer/distinfo b/databases/rubygem-dm-observer/distinfo new file mode 100644 index 000000000000..5df1502c7b9f --- /dev/null +++ b/databases/rubygem-dm-observer/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/dm-observer-1.0.2.gem) = dc4db1d28be6abefca78355ad4e68f683947be685a40169e74c9dec733ce16c9 +SIZE (rubygem/dm-observer-1.0.2.gem) = 9728 diff --git a/databases/rubygem-dm-observer/pkg-descr b/databases/rubygem-dm-observer/pkg-descr new file mode 100644 index 000000000000..aab4636dd666 --- /dev/null +++ b/databases/rubygem-dm-observer/pkg-descr @@ -0,0 +1,4 @@ +DataMapper::Observer allows you to add callback hooks to +many models. This is similar to observers in ActiveRecord. + +WWW: https://github.com/datamapper/dm-observer |