public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/arel-helpers/
Date: Sun, 26 Mar 2023 03:03:17 +0000 (UTC)	[thread overview]
Message-ID: <1679799763.8c2d6373e220b4a3c2a1c9e95b5f6b40363e6fd9.sam@gentoo> (raw)

commit:     8c2d6373e220b4a3c2a1c9e95b5f6b40363e6fd9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 09:21:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 03:02:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2d6373

dev-ruby/arel-helpers: add 2.14.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/arel-helpers/Manifest                   |  1 +
 dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild | 56 ++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index 8dff23e42253..4c3b7b0275b9 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1 +1,2 @@
 DIST arel-helpers-2.13.0.gem 16896 BLAKE2B 3cdf4164b20dcc3511e058666486ea0d5a5eb50a7825d56338715f5bdba2dc5124ba030ea0e27480225be9d715a86016ff0eb85d0e60f07bdd5f3f214c3f5bcc SHA512 31e88e136a85f49e6b8b6d7c244bf98744cdf0546f0916ff1b403904330a1d2acc4a4d97ba5eb59190b9c0592176e4872d0463b4d4662b63a99f9d3bbcc29c15
+DIST arel-helpers-2.14.0.tar.gz 11711 BLAKE2B 75182a17ae741b2fe62189bccf008ca9958a69d69b5c2aced227e1b77f7278565f2c6261f56e567e4534c1e0229ce00e630bb1dc77ce8e49d03267784f8f8dc2 SHA512 47edec1aaa5be14de4ee695b13096dcf3f0c30804b20dfdc84421e1a779d3faa6241c022003f4752da911d1ea71a49de6e1e3339e6a3e452ca7fa8116ff751ca

diff --git a/dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild
new file mode 100644
index 000000000000..42b6dcf3cc1f
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.14.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_S=${PN}-*
+RUBY_FAKEGEM_VERSION="$(ver_cut 1-3)"
+inherit ruby-fakegem
+
+DESCRIPTION="Tools to help construct database queries"
+HOMEPAGE="https://github.com/camertron/arel-helpers"
+# No test data in gems
+SRC_URI="https://github.com/camertron/arel-helpers/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+ruby_add_rdepend "
+	|| (
+		dev-ruby/activerecord:7.0
+		dev-ruby/activerecord:6.1
+		dev-ruby/activerecord:6.0
+	)
+"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/rr
+		dev-ruby/activerecord[sqlite]
+		dev-ruby/bundler
+		dev-ruby/combustion
+		>=dev-ruby/database_cleaner-1.8
+		=dev-ruby/sqlite3-1.4*
+	)
+"
+
+all_ruby_prepare() {
+	# pry is for debugging, not useful here
+	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/' \
+		-e '/database_cleaner/ s/~>/>=/' \
+		-e '/sqlite3/ s/~>/>=/' \
+		-i arel-helpers.gemspec || die
+}
+
+each_ruby_test() {
+	${RUBY} -S bundle exec rake spec || die
+}


             reply	other threads:[~2023-03-26  3:03 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26  3:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-21  5:52 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/arel-helpers/ Hans de Graaff
2025-04-21  5:52 Hans de Graaff
2025-01-19  6:36 Hans de Graaff
2024-09-10  5:51 Hans de Graaff
2024-03-04 18:33 Rick Farina
2023-10-25  5:22 Hans de Graaff
2023-08-26 15:39 Hans de Graaff
2023-07-17  4:55 Hans de Graaff
2023-04-07 18:11 Sam James
2023-03-28 20:20 Sam James
2023-03-27 11:59 Hans de Graaff
2023-03-13  7:14 Hans de Graaff
2022-05-08  5:44 Hans de Graaff
2021-12-07  6:42 Hans de Graaff
2021-08-28  6:46 Hans de Graaff
2021-06-18  3:48 Hans de Graaff
2021-02-16  5:45 Hans de Graaff
2020-05-06  5:30 Hans de Graaff
2020-05-06  5:30 Hans de Graaff
2019-12-21  7:24 Hans de Graaff
2019-12-02  8:28 Hans de Graaff
2019-12-02  8:28 Hans de Graaff
2019-07-31 18:58 Hans de Graaff
2019-06-12  4:10 Hans de Graaff
2019-05-04 18:32 Hans de Graaff
2018-12-01  7:30 Hans de Graaff
2018-12-01  7:12 Hans de Graaff
2018-11-21 18:21 Rick Farina
2018-08-17  5:25 Hans de Graaff
2018-08-07 18:12 Hans de Graaff
2018-05-13  4:46 Hans de Graaff
2018-01-19  6:12 Hans de Graaff
2018-01-19  6:12 Hans de Graaff
2017-10-08  6:48 Hans de Graaff
2017-08-16  6:12 Hans de Graaff
2017-05-17  4:51 Hans de Graaff
2017-02-09  6:03 Hans de Graaff
2016-08-13  6:43 Hans de Graaff
2016-07-01  4:43 Hans de Graaff
2016-07-01  4:43 Hans de Graaff
2016-03-27  6:30 Hans de Graaff
2016-01-23  7:47 Hans de Graaff
2015-12-31  8:29 Hans de Graaff
2015-11-01  6:26 Hans de Graaff
2015-09-08  5:35 Hans de Graaff
2015-09-05  6:06 Hans de Graaff
2015-09-04 21:22 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1679799763.8c2d6373e220b4a3c2a1c9e95b5f6b40363e6fd9.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox