From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4D7615852A for ; Tue, 27 Aug 2024 05:40:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 609FFE2A0A; Tue, 27 Aug 2024 05:40:28 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 030A4E2A06 for ; Tue, 27 Aug 2024 05:40:28 +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 05E4133BE9F for ; Tue, 27 Aug 2024 05:40:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5918D1EC4 for ; Tue, 27 Aug 2024 05:40:25 +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: <1724737204.c37c991565ff92cde2eac2c0ed7438a51b0967a1.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.4.0.ebuild X-VCS-Directories: dev-ruby/pundit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c37c991565ff92cde2eac2c0ed7438a51b0967a1 X-VCS-Branch: master Date: Tue, 27 Aug 2024 05:40:25 +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: 5acafa01-9309-4889-a4a4-e64905936db1 X-Archives-Hash: 80ad97e1afb584fcaf37cb2a20a4d404 commit: c37c991565ff92cde2eac2c0ed7438a51b0967a1 Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 27 05:18:48 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Aug 27 05:40:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c37c9915 dev-ruby/pundit: add 2.4.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/pundit/Manifest | 1 + dev-ruby/pundit/pundit-2.4.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest index 7e1e05257b60..d737b41ca0a5 100644 --- a/dev-ruby/pundit/Manifest +++ b/dev-ruby/pundit/Manifest @@ -1,3 +1,4 @@ DIST pundit-2.3.0.gem 27136 BLAKE2B 651f008426ce010c8a5be8543cde5c91f1bb8c6513e08cde4c4fda965fa95647f130d0a68094107be0b0c639ab520a74da0c2a50715ec5bd86a7a9243cf53686 SHA512 5a2c8563ab8402d3454afae499368b06d0a7ce23b59fdade3034da06604b025a567c4f9bc745bbc8a51226d768fad99b9057ff38c2930258d943265053a09636 DIST pundit-2.3.1.gem 27648 BLAKE2B f81bececa11fb4df90779e7a92abb3854f77e47207afb162fdbaac1b23448018b04a35808bac7857e4f766eab949802a58b16ba8ed2331ccd3457a88826fda0d SHA512 dc919a8879aa613efa1b3ebf0c9a3673a060d50814a5ec6b3cc4120dceda407e483d9c265d08d5bf4a1cbe56a0ea698ecbc485f24fe0325a9b90635bc1cc125a DIST pundit-2.3.2.gem 30720 BLAKE2B 44745ef190e6cc2b503b5d6d341eafa8bc8325dcda0ed83c3c111e67ebfc27683c8918ab29eec625f04f88d206586429cce862b76115d0cf770f73d165cdd9ff SHA512 8415b4f334ec0a97309aed4da4e36ece2a5705c64bd05ca7583367f53a7987a8bddb8ba3ac3e18febec1f023be703e5014d42cd258d42d7c7f535829c4a53cf8 +DIST pundit-2.4.0.gem 32256 BLAKE2B e027ac82d5d58be1cb2cbf0460c507805beb2ad366f7ed89d1f1179dd469349727f88d0b045d7a5d88b02df802d376bf643cdff71bba07ce33235cd1fea975e8 SHA512 4fef014fa392b6db61ae6e4a0bce44cf54569cf026db6825acddc8eb4b52bd48ea60cb56c84e8f9321948efbc4d3caafc77334bc25fce28c07ee56f40a25d492 diff --git a/dev-ruby/pundit/pundit-2.4.0.ebuild b/dev-ruby/pundit/pundit-2.4.0.ebuild new file mode 100644 index 000000000000..951d72e8c91f --- /dev/null +++ b/dev-ruby/pundit/pundit-2.4.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 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 +}