summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-09-05 07:36:23 +0200
committerHans de Graaff <graaff@gentoo.org>2015-09-05 07:36:23 +0200
commit668fc1e42b00d3123cb80b3a4c1b4f016467d8c8 (patch)
tree0f72dce445cfd9a022ecf4d024e159cec5409b3b /dev-ruby/arel-helpers
parentdev-ruby/rubyntlm: fix license (diff)
downloadgentoo-668fc1e42b00d3123cb80b3a4c1b4f016467d8c8.tar.gz
gentoo-668fc1e42b00d3123cb80b3a4c1b4f016467d8c8.tar.bz2
gentoo-668fc1e42b00d3123cb80b3a4c1b4f016467d8c8.zip
dev-ruby/arel-helpers: version bump
Fix FEATURES=test and USE=doc. Fix LICENSE. Package-Manager: portage-2.2.20.1
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.0.1.ebuild2
-rw-r--r--dev-ruby/arel-helpers/arel-helpers-2.1.0.ebuild30
3 files changed, 32 insertions, 1 deletions
diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest
index fc265309fad6..66294b256649 100644
--- a/dev-ruby/arel-helpers/Manifest
+++ b/dev-ruby/arel-helpers/Manifest
@@ -1 +1,2 @@
DIST arel-helpers-2.0.1.gem 9728 SHA256 de627d6d78af542d99bdfd178e7decd8f351e4de66758ac220f92418291b8b82 SHA512 241af61b00822ac091a04673ae0f6421c88ce8b96141cc9f468c62465b2720ca38d1a041faa720db40dd3a4cee407c1126152ac6125b3ed9a759daedd06b6955 WHIRLPOOL 3024a34b8a9720acbfb66e811b97ff1954c3cda83a97bc2544b5dbab0d94f5eb09eec8891c88bd0582dfdffdfe5abbf1e3be47cc9b61b888e52cb8a85121ab3c
+DIST arel-helpers-2.1.0.gem 10752 SHA256 f3c9ae9bef08367f98fe825ac985034c7c0c0e3de4fb65b45c23fc8d3defc241 SHA512 b3f969f41d634de6170042686a7bdb92571e7a27b701aa05628cc9d461d4c1b6db442ff38f4ad431b7b431a78f9340a292cf1288fa353cddd50af237875e090b WHIRLPOOL f40167d2d85150915fa3aba698483e124004bf5a35499712e9b4493ac126bcb380d5a9557a1d9ed62b94e538841401833fe798a4e44fe5d57b4a21a4c49eddf6
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.0.1.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.0.1.ebuild
index 4497c933f844..21b116fd037b 100644
--- a/dev-ruby/arel-helpers/arel-helpers-2.0.1.ebuild
+++ b/dev-ruby/arel-helpers/arel-helpers-2.0.1.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="Tools to help construct database queries"
HOMEPAGE="https://github.com/camertron/arel-helpers"
SRC_URI="mirror://rubygems/${P}.gem"
-LICENSE="BSD"
+LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.1.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.1.0.ebuild
new file mode 100644
index 000000000000..1f652ea60941
--- /dev/null
+++ b/dev-ruby/arel-helpers/arel-helpers-2.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 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/activerecord[sqlite] )"
+
+all_ruby_prepare() {
+ sed -i -e '/pry-nav/ s:^:#:' spec/spec_helper.rb || die
+}