summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-31 20:41:21 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-31 20:41:21 +0200
commitf3ba5a621c24c2dc6894e69b35d29c84bf82095d (patch)
tree59b58413b4ee29948df9697c7ae0e7461b43f1a6 /dev-ruby
parentapp-metrics/pushgateway: remove unused files (diff)
downloadgentoo-f3ba5a621c24c2dc6894e69b35d29c84bf82095d.tar.gz
gentoo-f3ba5a621c24c2dc6894e69b35d29c84bf82095d.tar.bz2
gentoo-f3ba5a621c24c2dc6894e69b35d29c84bf82095d.zip
dev-ruby/arel-helpers: add 2.10.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/arel-helpers/Manifest1
-rw-r--r--dev-ruby/arel-helpers/arel-helpers-2.10.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index 89419ba142fc..a68765238a8d 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1,2 +1,3 @@
+DIST arel-helpers-2.10.0.gem 12288 BLAKE2B 04265863ff044a16c9119ce223342ec9007687ff40c7abea3d68328e292b72e0fbddf32756ebd6844a77373bcc3a78e2cb03bb81a9b72737872b4e2e50b3c64a SHA512 e6aa6dacdc36ccef11d665a50e84d9f0a0fdfb524974aa5091b4b11e5d41309153ff4b4bab4c72c3db0c19556f015a438e52c9da4c89daf979a02621622ec3b8
DIST arel-helpers-2.8.0.gem 12288 BLAKE2B 9b48fc83ca777c481977a9ee629e4cabdf3b015749032ad1551ae082fabf4b238ab2ea4293560511bc8a598ad47e43cf0adb624376a56a6d8dfc22f35641230f SHA512 455ceab078863afe38ba704e84bf2bca4c2358f05a4cc92dc3213611f408e3e02fa5f7b2aaec34d261914563c434e04a91ae26209abb6a23085dd63baa43c1c1
DIST arel-helpers-2.9.1.gem 12288 BLAKE2B ed8704d9ff856bdda8fc7a642f6f84cfb6060af9ab6830741ba56f76959f6287cf328ad4e0327f7568ac4cfc251f98c260ed9f1ddd01671fe7f75691eef2a3fc SHA512 3bfbf0d2e2f76ea59cd0f6757449993304138378454e90537addc92c41fde8b281bb0897c66f8620f617ae91e9c1765fe6928bc44f38544421a4229fd5b44c02
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.10.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.10.0.ebuild
new file mode 100644
index 000000000000..6c2ee61e2a5e
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.10.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+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:5.2
+ dev-ruby/activerecord:5.1
+ dev-ruby/activerecord:4.2 )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rr
+ dev-ruby/activerecord[sqlite]
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/pry-/ s:^:#:' spec/spec_helper.rb || die
+}