The validatable library can be included with any Ruby class and provide
validations similar to ActiveRecord's. The library follows ActiveRecord's lead for features that are similar and introduces new features. WWW: http://validatable.rubyforge.org/
This commit is contained in:
@@ -2493,6 +2493,7 @@
|
||||
SUBDIR += rubygem-transactionsimple
|
||||
SUBDIR += rubygem-tzinfo
|
||||
SUBDIR += rubygem-uuid
|
||||
SUBDIR += rubygem-validatable
|
||||
SUBDIR += rubygem-warbler
|
||||
SUBDIR += rubygem-zentest
|
||||
SUBDIR += rudeconfig
|
||||
|
||||
28
devel/rubygem-validatable/Makefile
Normal file
28
devel/rubygem-validatable/Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: rubygem-validatable
|
||||
# Date created: 28, Dec 2008
|
||||
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= validatable
|
||||
PORTVERSION= 1.6.7
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RF
|
||||
|
||||
MAINTAINER= miwi@FreeBSD.org
|
||||
COMMENT= Library for adding database/object validations
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
USE_RAKE= yes
|
||||
|
||||
post-install:
|
||||
@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
|
||||
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
|
||||
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
|
||||
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
|
||||
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
|
||||
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/rubygem-validatable/distinfo
Normal file
3
devel/rubygem-validatable/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 (rubygem/validatable-1.6.7.gem) = a98cd75c75898d7af8d1c50a5cdd24b1
|
||||
SHA256 (rubygem/validatable-1.6.7.gem) = a45a25a7ed6e6d93c7e59224d66a3104fdb555743f41aa7c032375277e974a0e
|
||||
SIZE (rubygem/validatable-1.6.7.gem) = 15872
|
||||
5
devel/rubygem-validatable/pkg-descr
Normal file
5
devel/rubygem-validatable/pkg-descr
Normal file
@@ -0,0 +1,5 @@
|
||||
The validatable library can be included with any Ruby class and provide
|
||||
validations similar to ActiveRecord's. The library follows ActiveRecord's
|
||||
lead for features that are similar and introduces new features.
|
||||
|
||||
WWW: http://validatable.rubyforge.org/
|
||||
Reference in New Issue
Block a user