From owner-svn-ports-head@freebsd.org Sun Sep 20 20:15:32 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63A44A05287; Sun, 20 Sep 2015 20:15:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 545801A94; Sun, 20 Sep 2015 20:15:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KKFWxR074781; Sun, 20 Sep 2015 20:15:32 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8KKFVwS074777; Sun, 20 Sep 2015 20:15:31 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201509202015.t8KKFVwS074777@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 20 Sep 2015 20:15:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397397 - in head/devel: . rubygem-protected_attributes X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 20:15:32 -0000 Author: sunpoet Date: Sun Sep 20 20:15:30 2015 New Revision: 397397 URL: https://svnweb.freebsd.org/changeset/ports/397397 Log: - 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 Added: head/devel/rubygem-protected_attributes/ head/devel/rubygem-protected_attributes/Makefile (contents, props changed) head/devel/rubygem-protected_attributes/distinfo (contents, props changed) head/devel/rubygem-protected_attributes/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Sep 20 20:14:44 2015 (r397396) +++ head/devel/Makefile Sun Sep 20 20:15:30 2015 (r397397) @@ -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 Added: head/devel/rubygem-protected_attributes/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-protected_attributes/Makefile Sun Sep 20 20:15:30 2015 (r397397) @@ -0,0 +1,22 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $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 Added: head/devel/rubygem-protected_attributes/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-protected_attributes/distinfo Sun Sep 20 20:15:30 2015 (r397397) @@ -0,0 +1,2 @@ +SHA256 (rubygem/protected_attributes-1.1.3.gem) = e3bf636ae271a55005271a6bfa1b5aca884d7448d56a638f8ea28241a5bef7bd +SIZE (rubygem/protected_attributes-1.1.3.gem) = 15360 Added: head/devel/rubygem-protected_attributes/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-protected_attributes/pkg-descr Sun Sep 20 20:15:30 2015 (r397397) @@ -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