dev-ruby/arel-helpers: add 2.9.1
authorHans de Graaff <graaff@gentoo.org>
Tue, 11 Jun 2019 17:03:44 +0000 (19:03 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 12 Jun 2019 04:10:25 +0000 (06:10 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/arel-helpers/Manifest
dev-ruby/arel-helpers/arel-helpers-2.9.1.ebuild [new file with mode: 0644]

index f47452ed9259a4902a3f4da445a021fa1e3f5613..89419ba142fc6513dd563429b222d0c2a90a4cf5 100644 (file)
@@ -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 (file)
index 0000000..2373fdf
--- /dev/null
@@ -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
+}