Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/camping/
Date: Mon, 17 Apr 2017 09:36:19
Message-Id: 1492421764.1883992fcb4caa21b92a6f970127ef5de9051426.graaff@gentoo
1 commit: 1883992fcb4caa21b92a6f970127ef5de9051426
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 17 09:32:57 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 17 09:36:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1883992f
7
8 dev-ruby/camping: fix running tests
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ruby/camping/camping-2.1.532.ebuild | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-ruby/camping/camping-2.1.532.ebuild b/dev-ruby/camping/camping-2.1.532.ebuild
16 index dac1932d88b..b74e6375150 100644
17 --- a/dev-ruby/camping/camping-2.1.532.ebuild
18 +++ b/dev-ruby/camping/camping-2.1.532.ebuild
19 @@ -1,8 +1,8 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=5
25 -USE_RUBY="ruby20 ruby21"
26 +USE_RUBY="ruby21"
27
28 RUBY_FAKEGEM_TASK_DOC=""
29 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
30 @@ -28,5 +28,5 @@ all_ruby_prepare() {
31 }
32
33 each_ruby_test() {
34 - ${RUBY} -S testrb test/app_*.rb || die
35 + ${RUBY} -Ilib:test:. -e 'Dir["test/app_*.rb"].each{|f| require f}' || die
36 }