freebsd-ports/devel/rubygem-protected_attributes/Makefile
Sunpoet Po-Chuan Hsieh 1db411919b - Add rubygem-protected_attributes 1.1.3
Protect attributes from mass-assignment in Active Record models.

This plugin adds the class methods attr_accessible and attr_protected to your
models to be able to declare white or black lists of attributes.

Note: This plugin will be officially supported until the release of Rails 5.0.

WWW: https://github.com/rails/protected_attributes
2015-09-20 20:15:30 +00:00

22 lines
476 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= protected_attributes
PORTVERSION= 1.1.3
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Protect attributes from mass assignment
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-activemodel4>=4.0.1:${PORTSDIR}/databases/rubygem-activemodel4
NO_ARCH= yes
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>