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 B31CC139694 for ; Tue, 21 Mar 2017 14:02:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF08F21C09B; Tue, 21 Mar 2017 14:02:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 ACABB21C09B for ; Tue, 21 Mar 2017 14:02:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6FE4733BEDB for ; Tue, 21 Mar 2017 14:02:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39FF06FF3 for ; Tue, 21 Mar 2017 14:02:24 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1490104928.7d966990e5a7f94e14097b9cf5127c8918e91ea4.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pundit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/pundit/Manifest dev-ruby/pundit/metadata.xml dev-ruby/pundit/pundit-1.1.0.ebuild X-VCS-Directories: dev-ruby/pundit/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 7d966990e5a7f94e14097b9cf5127c8918e91ea4 X-VCS-Branch: master Date: Tue, 21 Mar 2017 14:02:24 +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: 3f8fc2aa-e22d-4a4e-8784-094c20ef4779 X-Archives-Hash: 7f480aa1eb389475560f0ea9a7a37206 commit: 7d966990e5a7f94e14097b9cf5127c8918e91ea4 Author: Manuel Rüger gentoo org> AuthorDate: Tue Mar 21 14:02:08 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Mar 21 14:02:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d966990 dev-ruby/pundit: Initial version Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-ruby/pundit/Manifest | 1 + dev-ruby/pundit/metadata.xml | 8 ++++++++ dev-ruby/pundit/pundit-1.1.0.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest new file mode 100644 index 00000000000..36857fe4e02 --- /dev/null +++ b/dev-ruby/pundit/Manifest @@ -0,0 +1 @@ +DIST pundit-1.1.0.gem 22016 SHA256 bd38e2df0b17e5cef5759edad979aaa361a46c0bdfc83a700df7e3febe99a781 SHA512 ea7e8ef9e4b280f451810ba193dc5b27a75ecfb050eed674246034ebb687e8302aee8826c022090553b643b41c85adec4d3234f545ab2a59ececa461fe4e4b3a WHIRLPOOL c009f1b7b940f7edf912f5fa619837753a76e75211ad17cf07f764bc0c56ec23145e859ce3a01a5dc617f80a963830bba0fcdcc3753c6dab6c61e5eacef690b0 diff --git a/dev-ruby/pundit/metadata.xml b/dev-ruby/pundit/metadata.xml new file mode 100644 index 00000000000..28ab0c15f20 --- /dev/null +++ b/dev-ruby/pundit/metadata.xml @@ -0,0 +1,8 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + diff --git a/dev-ruby/pundit/pundit-1.1.0.ebuild b/dev-ruby/pundit/pundit-1.1.0.ebuild new file mode 100644 index 00000000000..5af21aa346f --- /dev/null +++ b/dev-ruby/pundit/pundit-1.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Object oriented authorization for Rails applications" +HOMEPAGE="https://github.com/elabs/pundit https://rubygems.org/gems/pundit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0" + +ruby_add_bdepend "test? ( >=dev-ruby/actionpack-3.0.0 + >=dev-ruby/activemodel-3.0.0 )" + +all_ruby_prepare() { + sed -i -e "/pry/d" spec/spec_helper.rb || die +}