summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-05-13 06:20:32 +0200
committerHans de Graaff <graaff@gentoo.org>2018-05-13 06:20:32 +0200
commit5f4880633138ec7d6b541fb9ecae8bd488e9722d (patch)
treefef869c890da5ae37674775f161086a800750bcb /dev-ruby/arel-helpers
parentdev-util/qbs: bump to 1.11.1; remove broken version (diff)
downloadgentoo-5f4880633138ec7d6b541fb9ecae8bd488e9722d.tar.gz
gentoo-5f4880633138ec7d6b541fb9ecae8bd488e9722d.tar.bz2
gentoo-5f4880633138ec7d6b541fb9ecae8bd488e9722d.zip
dev-ruby/arel-helpers: add 2.7.0
Package-Manager: Portage-2.3.24, 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.7.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index 47a969f12cb3..18ff55309905 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1,2 +1,3 @@
DIST arel-helpers-2.5.0.gem 11776 BLAKE2B 1c5edb20d5c6029efa8b52ba1eb59b939b7209126a3961a77ebd92524b1da3998cf6497364cedeb0b3976cbe30b6e99e993280618d2ad88f021b8e88930742d8 SHA512 501d2820d69419c732edef1d9dbfa136d27f886a55a8d10f0dd351dfe7f0b06f0b338b665487afc87d6a34769b1ac2d55a70081529262bcc75d7cd73d98cce4e
DIST arel-helpers-2.6.1.gem 12288 BLAKE2B 75958abc0f3c1ff61482cb576f650d230757d653972fe88496226f0462bb95f29f4b61395ee0b3ed68c13c7d3b4318eb46ac38485615790f8a4f3e8c07edfffc SHA512 99eda2da00a48000e9aa282688a1370e6d7606c399f72ec8edc54a236fa9c7ba4d37315b10b54eee54f59d44e0680cd398f4a1d2331e86138c48d6bd68530441
+DIST arel-helpers-2.7.0.gem 12288 BLAKE2B 623225b35205ff32bada46b1f2cc857f384938726fcec6137cc33cbb16903ec51731835bb1fa1a7b603d35d0f623eb59af7d0e5b163e28d0d6f7802f30e6a6b7 SHA512 48305acd4d40f60ced74c32c334ab6ca2b7f648cd2185f829f36f5c942ff53b1e0aa709ea08fcd2200c2b56dcd9c76fe0328408e6e84934f27fb0bbf6075873c
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.7.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.7.0.ebuild
new file mode 100644
index 000000000000..589f4b6b5d5c
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.7.0.ebuild
@@ -0,0 +1,33 @@
+# 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.2
+ 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
+}