summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-02-22 19:46:17 +0100
committerHans de Graaff <graaff@gentoo.org>2022-02-22 19:50:39 +0100
commitc710dd491c962a50c1df7a40d262ff60d77d5934 (patch)
tree29ba078612e2d63da32e67a38705525fa39991de /dev-ruby/pundit
parentdev-ruby/propshaft: add 0.6.4 (diff)
downloadgentoo-c710dd491c962a50c1df7a40d262ff60d77d5934.tar.gz
gentoo-c710dd491c962a50c1df7a40d262ff60d77d5934.tar.bz2
gentoo-c710dd491c962a50c1df7a40d262ff60d77d5934.zip
dev-ruby/pundit: add 2.2.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pundit')
-rw-r--r--dev-ruby/pundit/Manifest1
-rw-r--r--dev-ruby/pundit/pundit-2.2.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest
index 7b6e5ce6f7ef..9025bcac9e48 100644
--- a/dev-ruby/pundit/Manifest
+++ b/dev-ruby/pundit/Manifest
@@ -1,2 +1,3 @@
DIST pundit-2.1.0.gem 25600 BLAKE2B f8284e326a68475fe4c733de85597ba91e376d37e5dd24d97c1a8da2ab7f15d2cf35cf76688370f1a96c00f8ce89df2d2bb6b3c6de1ae33d6cdfe1ffd1926e3f SHA512 3201cb3acca8301a0e07fa9bd58617ee32074842e873a85a31d9b56fac5bd93c4a78d94d8b57556a011f1713712eb484ef3281d68ae3acf1c8bf1bce13f47e0c
DIST pundit-2.1.1.gem 26112 BLAKE2B de517b25d0d062c2a85b6ca28b6dc8ebcea25f4786435788e90394ad29338462073c946d7127172766baeced6dc98d0e21923220b1371861f200b73fe09039e9 SHA512 d5463e21801ef04e82500c671ccbee0e8fb1576a8b7b86283ecc80d1c6e81cd375abf3c81ee5fad8323eb3ba0c296df43c9a78fafc2cd6e7797f1447d02ede0d
+DIST pundit-2.2.0.gem 27136 BLAKE2B 560843f9e1d19c551ee9bdeb3ead856a483dff68187da20c463fd01cbf1ca68f48adf6d4b9589b2c755cf6c860fba98b3719af8732e9f4c284c7dc4b2a1b2f5b SHA512 fcb8c9305e7ce9301142bd62c08856ee29cf5227d63ae36ccc894c4a3b19ec9c03625c3742890e9aeabc2fc8877a5d9527d28ecc8084103bcfa8321d87458a44
diff --git a/dev-ruby/pundit/pundit-2.2.0.ebuild b/dev-ruby/pundit/pundit-2.2.0.ebuild
new file mode 100644
index 000000000000..d4740a6fb537
--- /dev/null
+++ b/dev-ruby/pundit/pundit-2.2.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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" -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+}