summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-01-19 07:11:17 +0100
committerHans de Graaff <graaff@gentoo.org>2018-01-19 07:11:17 +0100
commitbbb46ad25cd494a6f195b648cd7c8b4efab93fdd (patch)
tree3989959525f9939bef2bb464e3a1a23ad1346070 /dev-ruby/arel-helpers
parentdev-ruby/arel-helpers: cleanup (diff)
downloadgentoo-bbb46ad25cd494a6f195b648cd7c8b4efab93fdd.tar.gz
gentoo-bbb46ad25cd494a6f195b648cd7c8b4efab93fdd.tar.bz2
gentoo-bbb46ad25cd494a6f195b648cd7c8b4efab93fdd.zip
dev-ruby/arel-helpers: add 2.6.1
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/arel-helpers')
-rw-r--r--dev-ruby/arel-helpers/Manifest1
-rw-r--r--dev-ruby/arel-helpers/arel-helpers-2.6.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index 525f1eba5810..47a969f12cb3 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1 +1,2 @@
DIST arel-helpers-2.5.0.gem 11776 BLAKE2B 1c5edb20d5c6029efa8b52ba1eb59b939b7209126a3961a77ebd92524b1da3998cf6497364cedeb0b3976cbe30b6e99e993280618d2ad88f021b8e88930742d8 SHA512 501d2820d69419c732edef1d9dbfa136d27f886a55a8d10f0dd351dfe7f0b06f0b338b665487afc87d6a34769b1ac2d55a70081529262bcc75d7cd73d98cce4e
+DIST arel-helpers-2.6.1.gem 12288 BLAKE2B 75958abc0f3c1ff61482cb576f650d230757d653972fe88496226f0462bb95f29f4b61395ee0b3ed68c13c7d3b4318eb46ac38485615790f8a4f3e8c07edfffc SHA512 99eda2da00a48000e9aa282688a1370e6d7606c399f72ec8edc54a236fa9c7ba4d37315b10b54eee54f59d44e0680cd398f4a1d2331e86138c48d6bd68530441
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.6.1.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.6.1.ebuild
new file mode 100644
index 000000000000..73415c9c0272
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.6.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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"
+IUSE=""
+
+ruby_add_rdepend "|| (
+ dev-ruby/activerecord:5.1
+ dev-ruby/activerecord:5.0
+ 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
+}