From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA119139694 for ; Sat, 6 May 2017 04:06:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FE4BE0D25; Sat, 6 May 2017 04:06:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7F12E0D25 for ; Sat, 6 May 2017 04:06:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50E26341301 for ; Sat, 6 May 2017 04:06:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFAA27439 for ; Sat, 6 May 2017 04:06:01 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1494043511.ca7b5a4f1aee901aa27e19d6588630885d87f7b2.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/protected_attributes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/protected_attributes/Manifest dev-ruby/protected_attributes/protected_attributes-1.1.4.ebuild X-VCS-Directories: dev-ruby/protected_attributes/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ca7b5a4f1aee901aa27e19d6588630885d87f7b2 X-VCS-Branch: master Date: Sat, 6 May 2017 04:06:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 57bdc43e-cd8e-4b04-989b-3442deb67823 X-Archives-Hash: 5843604d656b85162a48a269e834e0e6 commit: ca7b5a4f1aee901aa27e19d6588630885d87f7b2 Author: Hans de Graaff gentoo org> AuthorDate: Sat May 6 04:05:11 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat May 6 04:05:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7b5a4f dev-ruby/protected_attributes: add 1.1.4 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-ruby/protected_attributes/Manifest | 1 + .../protected_attributes-1.1.4.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/protected_attributes/Manifest b/dev-ruby/protected_attributes/Manifest index 8bdd4c80afe..86b2d64d018 100644 --- a/dev-ruby/protected_attributes/Manifest +++ b/dev-ruby/protected_attributes/Manifest @@ -1 +1,2 @@ DIST protected_attributes-1.1.3.tar.gz 23148 SHA256 0dba89d47e96762b6e2c9cedc1d96a06a16bb307136e23cfc89830602bc97a4b SHA512 e20acd5c392eedc62af18745518249273351104dd0a05e33e459d2ac36706a7c6fdc151d4043370a4527d3e8e96417b26bad2e0f3b21cef3a512bd169d635d45 WHIRLPOOL 311cd7fd9634794d72fae25a903767cbf3894ea07814e8654739e30b3354a49cbe1417dd89462f94f7ed290e7d182132f57aa21106a1e9282be55f5c72508164 +DIST protected_attributes-1.1.4.tar.gz 23562 SHA256 6858cd3b18ec2d893539ff78fe542fec600b2f6c7848316bde10992ca7850d40 SHA512 02c55825ec21dde386e31b25e71df4ac48c2356bad303a82cc33703b930c5f8e36b57193761dba59dff3868d39a3b5458fb2a2c49809019e72ed4b4f4313bed3 WHIRLPOOL a96e8268c4b22f4205a054d61e91334bee873c67cb6835418f6f4e0b6acb404e43126d892e833decb63d571073c557d475f976855e069a944bd2a9d2b2207a20 diff --git a/dev-ruby/protected_attributes/protected_attributes-1.1.4.ebuild b/dev-ruby/protected_attributes/protected_attributes-1.1.4.ebuild new file mode 100644 index 00000000000..99231a4a360 --- /dev/null +++ b/dev-ruby/protected_attributes/protected_attributes-1.1.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Protect attributes from mass-assignment in ActiveRecord models" +HOMEPAGE="https://github.com/rails/protected_attributes" +SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="1" + +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend " + =dev-ruby/activemodel-4*:* >=dev-ruby/activemodel-4.0.1:* +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + =dev-ruby/actionpack-4* + =dev-ruby/activerecord-4* + =dev-ruby/rails-4* + dev-ruby/mocha + dev-ruby/sqlite3 +)" + +all_ruby_prepare() { + sed -i -e '/github/ s:^:#:' Gemfile || die +}