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 2025C15800A for ; Mon, 17 Jul 2023 04:55:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C6E5E092F; Mon, 17 Jul 2023 04:55:14 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EF38E092F for ; Mon, 17 Jul 2023 04:55:13 +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 A3A76335CB4 for ; Mon, 17 Jul 2023 04:55:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B7D3B75 for ; Mon, 17 Jul 2023 04:55:11 +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: <1689568854.f741dec074d72010e246d25e0ca5fbe1d5ddc04a.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionpack-action_caching/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2-r1.ebuild X-VCS-Directories: dev-ruby/actionpack-action_caching/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f741dec074d72010e246d25e0ca5fbe1d5ddc04a X-VCS-Branch: master Date: Mon, 17 Jul 2023 04:55:11 +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: 30ee79f5-f893-4bbf-8c78-28d0193e6457 X-Archives-Hash: ed185606a98b878acfc6c3dd474f0852 commit: f741dec074d72010e246d25e0ca5fbe1d5ddc04a Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 17 04:40:54 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 17 04:40:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f741dec0 dev-ruby/actionpack-action_caching: update EAPI 7 -> 8 Signed-off-by: Hans de Graaff gentoo.org> .../actionpack-action_caching-1.2.2-r1.ebuild | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2-r1.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2-r1.ebuild new file mode 100644 index 000000000000..ececb8b29bd5 --- /dev/null +++ b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="Action caching for Action Pack (removed from core in Rails 4.0)" +HOMEPAGE="https://github.com/rails/actionpack-action_caching" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/actionpack-4.0.0:*" + +ruby_add_bdepend "test? ( >=dev-ruby/activerecord-4.0.0 + || ( dev-ruby/railties:6.1 ) + dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile test/abstract_unit.rb || die + sed -i -e "/git/d" ${PN}.gemspec || die + sed -i -e '1igem "activerecord", "<7"; gem "railties", "<7"' test/abstract_unit.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/caching_test.rb || die +}