summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-01-19 09:01:56 +0100
committerHans de Graaff <graaff@gentoo.org>2019-01-19 09:01:56 +0100
commit3f95500b0509e2afbbd0f468989d6b4f0bbbdc8a (patch)
tree6aa7a905896160e6196edb5ccd959a46a2cdb3ed
parentdev-ruby/hitimes: add 1.3.1 (diff)
downloadgentoo-3f95500b0509e2afbbd0f468989d6b4f0bbbdc8a.tar.gz
gentoo-3f95500b0509e2afbbd0f468989d6b4f0bbbdc8a.tar.bz2
gentoo-3f95500b0509e2afbbd0f468989d6b4f0bbbdc8a.zip
dev-ruby/pundit: add 2.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--dev-ruby/pundit/Manifest1
-rw-r--r--dev-ruby/pundit/pundit-2.0.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest
index 1f9b33f2f7f0..5ef411468d38 100644
--- a/dev-ruby/pundit/Manifest
+++ b/dev-ruby/pundit/Manifest
@@ -1,2 +1,3 @@
DIST pundit-1.1.0.gem 22016 BLAKE2B 912f359cb4530c4f65622c3a7bee48a7d84757e4c8327398dbb4e4e170a35f4811c018224aac752b6c2ae54bc93e65b5e0b46f0bb191da57355b55ea0e8d0eaa SHA512 ea7e8ef9e4b280f451810ba193dc5b27a75ecfb050eed674246034ebb687e8302aee8826c022090553b643b41c85adec4d3234f545ab2a59ececa461fe4e4b3a
DIST pundit-2.0.0.gem 25088 BLAKE2B 8fc4e0d40a56fa05f04b7a79e33039d08987a0df3b150f77c7428cdc10fb847477f1a04e7cd7772c86063d3095904202207e11e87a01766bc643e7befaee9957 SHA512 e6b37896e107a14fe40380a3a4e00f90fe7ef4f62bab252b4cb8b9854e5cba062d0d9680f9c9cb224384dc186f9ff3d5acca367d93a1cea297d63b422da689eb
+DIST pundit-2.0.1.gem 25088 BLAKE2B 6304a2ae057edf14131d93ec85d879dfd93491c2bcce159522e166743bf0498425996db203c25d0bb7e57c3ba5c5db6c1db2722e7c3f940f5ef2b7ec6ec5f561 SHA512 8a4efe44741d13696555e18b8f2b0f5ceaafd0b38d6cdf24b9f64596fdf1c0aa9cec607fd3771c634b7817d204e4217f52902e69057174cd1bf06833483e373f
diff --git a/dev-ruby/pundit/pundit-2.0.1.ebuild b/dev-ruby/pundit/pundit-2.0.1.ebuild
new file mode 100644
index 000000000000..9c4761ec8ec0
--- /dev/null
+++ b/dev-ruby/pundit/pundit-2.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+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="2"
+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
+}