summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-03-21 15:02:08 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-03-21 15:02:08 +0100
commit7d966990e5a7f94e14097b9cf5127c8918e91ea4 (patch)
tree34bd309db6ebf8d69c4ca0727998caddf2b21c72 /dev-ruby/pundit
parentsys-fs/owfs: arm stable (bug 601148). (diff)
downloadgentoo-7d966990e5a7f94e14097b9cf5127c8918e91ea4.tar.gz
gentoo-7d966990e5a7f94e14097b9cf5127c8918e91ea4.tar.bz2
gentoo-7d966990e5a7f94e14097b9cf5127c8918e91ea4.zip
dev-ruby/pundit: Initial version
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/pundit')
-rw-r--r--dev-ruby/pundit/Manifest1
-rw-r--r--dev-ruby/pundit/metadata.xml8
-rw-r--r--dev-ruby/pundit/pundit-1.1.0.ebuild28
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest
new file mode 100644
index 000000000000..36857fe4e02b
--- /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 000000000000..28ab0c15f206
--- /dev/null
+++ b/dev-ruby/pundit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+</maintainer>
+</pkgmetadata>
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 000000000000..5af21aa346fe
--- /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
+}