- 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
This commit is contained in:
parent
f76c5d0e5e
commit
1db411919b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397397
@ -4840,6 +4840,7 @@
|
||||
SUBDIR += rubygem-power_assert
|
||||
SUBDIR += rubygem-powerbar
|
||||
SUBDIR += rubygem-progressbar
|
||||
SUBDIR += rubygem-protected_attributes
|
||||
SUBDIR += rubygem-prototype-rails
|
||||
SUBDIR += rubygem-pry
|
||||
SUBDIR += rubygem-pry-rails
|
||||
|
22
devel/rubygem-protected_attributes/Makefile
Normal file
22
devel/rubygem-protected_attributes/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# 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>
|
2
devel/rubygem-protected_attributes/distinfo
Normal file
2
devel/rubygem-protected_attributes/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (rubygem/protected_attributes-1.1.3.gem) = e3bf636ae271a55005271a6bfa1b5aca884d7448d56a638f8ea28241a5bef7bd
|
||||
SIZE (rubygem/protected_attributes-1.1.3.gem) = 15360
|
8
devel/rubygem-protected_attributes/pkg-descr
Normal file
8
devel/rubygem-protected_attributes/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user