mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
dev-ruby/pundit: add 2.5.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
94431a2cea
commit
84840e42a1
@ -1,2 +1,3 @@
|
||||
DIST pundit-2.5.0.gem 39424 BLAKE2B 78eb00bc71847d50911d6825fc60430252d2d2a582a7cf9edaf0489aa71bd485e8b5976ae3289e472718f7b9fd0779f54a92fa2b2e90a3227e0d4411d73b73bb SHA512 e0e49400df9f42ca96ec067d129f68125291e0f403cc7da3bcf7f657f022383496a462d011289662bad7ae9d232f6504f5b42f8e7e55e70d86d2faa764cea7a4
|
||||
DIST pundit-2.5.1.tar.gz 36362 BLAKE2B 3c073a77f195fb937da877fd65216fe70c2b656c961b5a6c12b9777ad831135cdc0e9407a2fd55445b6a3b6d747e89fa0956d97f213d62addeb6535375e25405 SHA512 b2bad4b491819da59e12f3482d8485a325949ae5dd96325d9cdc00bfd896e2adc1b08000738ca611570e3019e43f1067b40ea7dee7fd49d779c9cdf8773133ca
|
||||
DIST pundit-2.5.2.tar.gz 36430 BLAKE2B dd8116e129c3f733e62cf0b038dec3ae5ed845170da9dee197a45406c789a27b25ca948b4074c96824a5e059ecc810dedcb46eb8172f312e43061aaa820063d1 SHA512 d62f17d85104fc2ef5edbf38121ed823496556b98d032efe13b5bea49a43c9b6144d4a553fe660cb94b4f0daeb2ba3a41daec9454cfdd40bbce0e4dfa23f8266
|
||||
|
||||
41
dev-ruby/pundit/pundit-2.5.2.ebuild
Normal file
41
dev-ruby/pundit/pundit-2.5.2.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="config"
|
||||
RUBY_FAKEGEM_GEMSPEC="pundit.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Object oriented authorization for Rails applications"
|
||||
HOMEPAGE="https://github.com/varvet/pundit https://rubygems.org/gems/pundit"
|
||||
SRC_URI="https://github.com/varvet/pundit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
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
|
||||
>=dev-ruby/railties-3.0.0
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e "/pry/ s:^:#:" \
|
||||
-e '3irequire "ostruct"' \
|
||||
-i spec/spec_helper.rb || die
|
||||
|
||||
sed -e 's:_relative ": "./:' \
|
||||
-e 's/__dir__/"."/' \
|
||||
-e 's/git ls-files -z/find * -print0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user