commit: 49522a3ef67b2d9c3ad415c2b631339d27b13fd1 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Mar 4 06:48:13 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Mar 5 06:54:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49522a3e
dev-ruby/pundit: add 2.5.0 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/pundit/Manifest | 1 + dev-ruby/pundit/pundit-2.5.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest index 8195287fc961..5c91847c3d90 100644 --- a/dev-ruby/pundit/Manifest +++ b/dev-ruby/pundit/Manifest @@ -1 +1,2 @@ DIST pundit-2.4.0.gem 32256 BLAKE2B e027ac82d5d58be1cb2cbf0460c507805beb2ad366f7ed89d1f1179dd469349727f88d0b045d7a5d88b02df802d376bf643cdff71bba07ce33235cd1fea975e8 SHA512 4fef014fa392b6db61ae6e4a0bce44cf54569cf026db6825acddc8eb4b52bd48ea60cb56c84e8f9321948efbc4d3caafc77334bc25fce28c07ee56f40a25d492 +DIST pundit-2.5.0.gem 39424 BLAKE2B 78eb00bc71847d50911d6825fc60430252d2d2a582a7cf9edaf0489aa71bd485e8b5976ae3289e472718f7b9fd0779f54a92fa2b2e90a3227e0d4411d73b73bb SHA512 e0e49400df9f42ca96ec067d129f68125291e0f403cc7da3bcf7f657f022383496a462d011289662bad7ae9d232f6504f5b42f8e7e55e70d86d2faa764cea7a4 diff --git a/dev-ruby/pundit/pundit-2.5.0.ebuild b/dev-ruby/pundit/pundit-2.5.0.ebuild new file mode 100644 index 000000000000..5ac2fb0c811c --- /dev/null +++ b/dev-ruby/pundit/pundit-2.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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" + +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 +}
