dev-ruby/pundit: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Tue, 21 Mar 2017 14:02:08 +0000 (15:02 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Tue, 21 Mar 2017 14:02:08 +0000 (15:02 +0100)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

dev-ruby/pundit/Manifest [new file with mode: 0644]
dev-ruby/pundit/metadata.xml [new file with mode: 0644]
dev-ruby/pundit/pundit-1.1.0.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest
new file mode 100644 (file)
index 0000000..36857fe
--- /dev/null
@@ -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 (file)
index 0000000..28ab0c1
--- /dev/null
@@ -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 (file)
index 0000000..5af21aa
--- /dev/null
@@ -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
+}