From owner-svn-ports-head@freebsd.org Sat Jul 15 17:21:23 2017 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 D38C7AFE0E1; Sat, 15 Jul 2017 17:21:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 AD4F676797; Sat, 15 Jul 2017 17:21:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6FHLM2t056961; Sat, 15 Jul 2017 17:21:22 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6FHLMf1056957; Sat, 15 Jul 2017 17:21:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201707151721.v6FHLMf1056957@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 15 Jul 2017 17:21:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445882 - in head/devel: . rubygem-hashie-forbidden_attributes X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . rubygem-hashie-forbidden_attributes X-SVN-Commit-Revision: 445882 X-SVN-Commit-Repository: ports 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.23 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: Sat, 15 Jul 2017 17:21:23 -0000 Author: sunpoet Date: Sat Jul 15 17:21:22 2017 New Revision: 445882 URL: https://svnweb.freebsd.org/changeset/ports/445882 Log: Add rubygem-hashie-forbidden_attributes 0.1.1 If you're using Rails 4 strong parameters, you will get a ForbiddenAttributesProtection exceptions when mass-assigning attributes. This gem allows mass assignment. It prevents Mash from responding to :permitted? and therefore triggering this behavior in ForbiddenAttributesProtection. WWW: https://github.com/Maxim-Filimonov/hashie-forbidden_attributes Added: head/devel/rubygem-hashie-forbidden_attributes/ head/devel/rubygem-hashie-forbidden_attributes/Makefile (contents, props changed) head/devel/rubygem-hashie-forbidden_attributes/distinfo (contents, props changed) head/devel/rubygem-hashie-forbidden_attributes/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jul 15 17:20:26 2017 (r445881) +++ head/devel/Makefile Sat Jul 15 17:21:22 2017 (r445882) @@ -5393,6 +5393,7 @@ SUBDIR += rubygem-hashdiff SUBDIR += rubygem-hashery SUBDIR += rubygem-hashie + SUBDIR += rubygem-hashie-forbidden_attributes SUBDIR += rubygem-hashie2 SUBDIR += rubygem-health_check SUBDIR += rubygem-health_check22 Added: head/devel/rubygem-hashie-forbidden_attributes/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-hashie-forbidden_attributes/Makefile Sat Jul 15 17:21:22 2017 (r445882) @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= hashie-forbidden_attributes +PORTVERSION= 0.1.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Hashie compatibility layer for forbidden attributes protection + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-hashie>=3.0:devel/rubygem-hashie + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include Added: head/devel/rubygem-hashie-forbidden_attributes/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-hashie-forbidden_attributes/distinfo Sat Jul 15 17:21:22 2017 (r445882) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500129707 +SHA256 (rubygem/hashie-forbidden_attributes-0.1.1.gem) = 3a6ed37f3a314e4fb1dd1e2df6eb7721bcadd023a30bc0b951b2b5285a790fb2 +SIZE (rubygem/hashie-forbidden_attributes-0.1.1.gem) = 14848 Added: head/devel/rubygem-hashie-forbidden_attributes/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-hashie-forbidden_attributes/pkg-descr Sat Jul 15 17:21:22 2017 (r445882) @@ -0,0 +1,6 @@ +If you're using Rails 4 strong parameters, you will get a +ForbiddenAttributesProtection exceptions when mass-assigning attributes. This +gem allows mass assignment. It prevents Mash from responding to :permitted? and +therefore triggering this behavior in ForbiddenAttributesProtection. + +WWW: https://github.com/Maxim-Filimonov/hashie-forbidden_attributes