summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-23 08:37:55 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-23 08:47:11 +0100
commita6d6de6a081c45c5dc6228d0648a2f8707701a7c (patch)
treeff9f1d5a8ece882a6efe0780e787df9d2ad57923 /dev-ruby/arel-helpers
parentapp-office/scribus: Stable for HPPA PPC64 (bug #550040). (diff)
downloadgentoo-a6d6de6a081c45c5dc6228d0648a2f8707701a7c.tar.gz
gentoo-a6d6de6a081c45c5dc6228d0648a2f8707701a7c.tar.bz2
gentoo-a6d6de6a081c45c5dc6228d0648a2f8707701a7c.zip
dev-ruby/arel-helpers: add 2.2.0
Package-Manager: portage-2.2.26
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.2.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index 4844ddbae5fb..6b667b01009a 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1 +1,2 @@
DIST arel-helpers-2.1.1.gem 10752 SHA256 692fa104b211ca97c1215ddbfb21710d9b581434a5f37062c9d7d8cbfaaa80d9 SHA512 e9a607f2fb34dfdaf447fa306378aa3c59d31695946f09fdf978101f2218f50dc2ba14483b958644c77a0c03705f4cf05a696b2c280bfd28766ad015d83d72fb WHIRLPOOL 00b71849305660a21e40e9975f2966984ee01c944efee80a71feda66e7ac09937a69c17ea1e25cafe6135969ba87160155e991a8c41a87b3bdd523b39c61fa04
+DIST arel-helpers-2.2.0.gem 11264 SHA256 9af47bee4c9db4aaefaee39583ac281abc3cf3702fa93d27978fd3630d7da56e SHA512 bd2f97975c408301a3bf5c02d8455ad584b26602f29fc4363e029590e1875b086138d2b383762bbac372e5e12183967eadd8b46952272aa90f48c15d21fad06b WHIRLPOOL ceaae68d580a13d71e9ebd84d37cbd1655b2c0e9c6e5fcaf8f9351ac9918b96ecb850e37541e9ef10524bdec5f1557a3ecfc9f3089b037ab9b4539603c4416bc
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.2.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.2.0.ebuild
new file mode 100644
index 000000000000..869e49886722
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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:3.2
+ dev-ruby/activerecord:4.0
+ dev-ruby/activerecord:4.1
+ dev-ruby/activerecord:4.2 )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rr
+ dev-ruby/activerecord[sqlite]
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/pry-nav/ s:^:#:' spec/spec_helper.rb || die
+}