From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 351CD1582EF for ; Wed, 05 Mar 2025 06:54:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 17C55343005 for ; Wed, 05 Mar 2025 06:54:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F159F1102D0; Wed, 05 Mar 2025 06:54:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E73431102D0 for ; Wed, 05 Mar 2025 06:54:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98081342FFE for ; Wed, 05 Mar 2025 06:54:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00A6A2872 for ; Wed, 05 Mar 2025 06:54:36 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1741157666.49522a3ef67b2d9c3ad415c2b631339d27b13fd1.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pundit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/pundit/Manifest dev-ruby/pundit/pundit-2.5.0.ebuild X-VCS-Directories: dev-ruby/pundit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 49522a3ef67b2d9c3ad415c2b631339d27b13fd1 X-VCS-Branch: master Date: Wed, 05 Mar 2025 06:54:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78ea558b-92b8-4ca0-853a-b583b3393b1d X-Archives-Hash: 6a232ab48ae585ef58b9f379dcf5648e commit: 49522a3ef67b2d9c3ad415c2b631339d27b13fd1 Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 4 06:48:13 2025 +0000 Commit: Hans de Graaff gentoo 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 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 +}