1db411919b
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
22 lines
476 B
Makefile
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>
|