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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BBFF41580B9 for ; Sat, 28 Aug 2021 06:46:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6195E08CE; Sat, 28 Aug 2021 06:46:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD998E08D3 for ; Sat, 28 Aug 2021 06:46:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 413CB335DA8 for ; Sat, 28 Aug 2021 06:46:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2E484E for ; Sat, 28 Aug 2021 06:46:24 +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: <1630132888.5236ecc1f804b6898b76c6a427d5dba8009e6a56.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/arel-helpers/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/arel-helpers/Manifest dev-ruby/arel-helpers/arel-helpers-2.12.1.ebuild X-VCS-Directories: dev-ruby/arel-helpers/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5236ecc1f804b6898b76c6a427d5dba8009e6a56 X-VCS-Branch: master Date: Sat, 28 Aug 2021 06:46:24 +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: c1008728-be5c-4faf-b3ac-24e9fdc32776 X-Archives-Hash: 94a3cabb76f2349290349831e3b1b466 commit: 5236ecc1f804b6898b76c6a427d5dba8009e6a56 Author: Hans de Graaff gentoo org> AuthorDate: Sat Aug 28 06:41:28 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Aug 28 06:41:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5236ecc1 dev-ruby/arel-helpers: add 2.12.1 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/arel-helpers/Manifest | 1 + dev-ruby/arel-helpers/arel-helpers-2.12.1.ebuild | 38 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest index df38b7073f5..8527aea2ac5 100644 --- a/dev-ruby/arel-helpers/Manifest +++ b/dev-ruby/arel-helpers/Manifest @@ -1 +1,2 @@ DIST arel-helpers-2.12.0.gem 21504 BLAKE2B f2897b70e679df8a58ace7b88204a3345a2f22bedcaf13ef27f4176a5f02a716e9c7a0b09c3d242c8bef96cc6423a513820d20b15999415d99eb3d61b3b93889 SHA512 6da9d69b49d18f70dd911a5f1cf6edb29055423b6179858ae65f8f826f9c98fae7b9d4a7d6f1365c5efe382adbaeb42f30898c2329b721941428b0a6f58b3aef +DIST arel-helpers-2.12.1.gem 16896 BLAKE2B 32809d895c630d8c5d3d1bfadb70d4b37fdeebe41dd3be303abd20295cb06e210ad48db8996673d5ca851e247420bf65ccbe0a7b3da352943e56094b38937911 SHA512 6d10bd57d74ccf1780927aa1fdccb4697a2e9cdbdf93bcc392b9453890043a8a6a4b57bef25d43f1f7d1597ef92d938afa9c67c54140b9e0b36b7b23c2de1837 diff --git a/dev-ruby/arel-helpers/arel-helpers-2.12.1.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.12.1.ebuild new file mode 100644 index 00000000000..2ce0bc2f305 --- /dev/null +++ b/dev-ruby/arel-helpers/arel-helpers-2.12.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Tools to help construct database queries" +HOMEPAGE="https://github.com/camertron/arel-helpers" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "|| ( + dev-ruby/activerecord:6.1 + dev-ruby/activerecord:6.0 + dev-ruby/activerecord:5.2 + )" + +ruby_add_bdepend "test? ( + dev-ruby/rr + dev-ruby/activerecord[sqlite] + dev-ruby/bundler +)" + +all_ruby_prepare() { + sed -i -e '/pry-/ s:^:#:' spec/spec_helper.rb || die + sed -e '/rake/ s/~>/>=/' -e '/appraisal/ s:^:#:' -e '/database_cleaner/ s/1.8/1.7/' -i arel-helpers.gemspec || die +} + +each_ruby_test() { + bundle exec rspec spec || die +}