summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-06-11 19:03:44 +0200
committerHans de Graaff <graaff@gentoo.org>2019-06-12 06:10:25 +0200
commit52dff998ba0a6da9ea8d9e6caca0dee1a7b435b4 (patch)
treed1a8571c6ad67ca66cc377e5864e6d25fc1c24ed /dev-ruby/arel-helpers
parentapp-portage/gemato: arm64 stable (bug #686688) (diff)
downloadgentoo-52dff998ba0a6da9ea8d9e6caca0dee1a7b435b4.tar.gz
gentoo-52dff998ba0a6da9ea8d9e6caca0dee1a7b435b4.tar.bz2
gentoo-52dff998ba0a6da9ea8d9e6caca0dee1a7b435b4.zip
dev-ruby/arel-helpers: add 2.9.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
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.9.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index f47452ed9259..89419ba142fc 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1 +1,2 @@
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.9.1.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.9.1.ebuild
new file mode 100644
index 000000000000..2373fdf09172
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.9.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 ~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
+}