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 43D641581C1 for ; Mon, 8 Jul 2024 05:38:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64EFFE2A56; Mon, 8 Jul 2024 05:38:21 +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 49F29E2A56 for ; Mon, 8 Jul 2024 05:38:21 +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 34211335D72 for ; Mon, 8 Jul 2024 05:38:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 655AADC4 for ; Mon, 8 Jul 2024 05:38:18 +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: <1720417030.b3b5739439e64f4c339486dc11b395ed788894db.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/combustion/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/combustion/Manifest dev-ruby/combustion/combustion-1.5.0.ebuild X-VCS-Directories: dev-ruby/combustion/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b3b5739439e64f4c339486dc11b395ed788894db X-VCS-Branch: master Date: Mon, 8 Jul 2024 05:38:18 +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: 590efd18-a06a-469d-a495-ec41b09cc831 X-Archives-Hash: db1e71a6e6ae7aa1e68229e851437569 commit: b3b5739439e64f4c339486dc11b395ed788894db Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 8 05:37:10 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 8 05:37:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b57394 dev-ruby/combustion: add 1.5.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/combustion/Manifest | 1 + dev-ruby/combustion/combustion-1.5.0.ebuild | 58 +++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-ruby/combustion/Manifest b/dev-ruby/combustion/Manifest index beff78fd18fd..32a723f81018 100644 --- a/dev-ruby/combustion/Manifest +++ b/dev-ruby/combustion/Manifest @@ -1,2 +1,3 @@ DIST combustion-1.3.7.tar.gz 16922 BLAKE2B 7edb6d68751bdae2c14f564d99bd5e4815aeb0ac5cbf9f86bf265bcf1cc02f39b36c2f439d1a79930f7fee5670451dee87821150b11b765cf3a251272b6bfb46 SHA512 2aedf160b099f16b2225dacbb8198fbdca6a00196bfaf4f869d651309e36976b3a14383c9b38b4361a5174726117200e0fc9da56f2cf08ec9ea99a5f5dbecf7e DIST combustion-1.4.0.tar.gz 16955 BLAKE2B fa2d55b6e84316b07221c938b053869f44b23363e69b51cefadc7400f7743c5cfe4d4c36cc01b0a463c64b6c5f59736f1bfef50e3438bb3feecc3be22ac717ef SHA512 24cee50f5a05e782d228cf1987de07610a077bd85a3e46c611b6f5c4f2a7202dcb0576ccb337f8c03f7d7a5e446e05524e5686cf5fdde9e510672b722403c13c +DIST combustion-1.5.0.tar.gz 17080 BLAKE2B 31a3caf861d8915bd701f4b2d08eb2879f2e9ec0fc2a1c997b20de4962967ac96a328f00a9b563d8120256ab433bee6001d9ce60d06777f457237ecf8d9fa7aa SHA512 6259d0f523f4c0eea10c72498ccb7e90c95b2ee2b2d3ba8dbaf104309d2eaf30472b2e4882854fb3ac0a87ec07255d89deeb7da33700576c9aa62adefe4f2056 diff --git a/dev-ruby/combustion/combustion-1.5.0.ebuild b/dev-ruby/combustion/combustion-1.5.0.ebuild new file mode 100644 index 000000000000..445916d77ac4 --- /dev/null +++ b/dev-ruby/combustion/combustion-1.5.0.ebuild @@ -0,0 +1,58 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +SRC_URI="https://github.com/pat/combustion/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6:* +" +# Needed for e.g. cannot load such file -- action_mailer/railtie +ruby_add_bdepend " + test? ( + >=dev-ruby/activemodel-3.0.0:* + >=dev-ruby/activerecord-3.0.0:* + dev-ruby/bundler + dev-ruby/net-smtp + >=dev-ruby/rails-3.0.0:* + dev-ruby/rspec:3 + >=dev-ruby/sqlite3-1.4 + ) +" + +each_ruby_prepare() { + sed -i \ + -e '/rubocop/d' \ + Gemfile || die + + # appraisal, rubocop: useless for us test deps + # mysql2, pg,: optional runtime deps + sed -i \ + -e '/appraisal/d' \ + -e '/mysql2/d' \ + -e '/pg/d' \ + -e '/rubocop/d' \ + ${PN}.gemspec || die + + sed -i -e '/rubocop/d' Rakefile || die +} + +each_ruby_test() { + local -x DB_ADAPTER=sqlite3 + ${RUBY} -S bundle exec rake spec || die +}