commit: 0c0dd14e66b6f1e1fa878973c471d38fa85f0fda
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 4 14:59:28 2017 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Feb 4 15:38:20 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0dd14e
app-text/jist: use correct webmock slot; add ruby23
Package-Manager: portage-2.3.3
app-text/jist/jist-1.5.1-r1.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/app-text/jist/jist-1.5.1-r1.ebuild
b/app-text/jist/jist-1.5.1-r1.ebuild
index 7259c8c..207bec2 100644
--- a/app-text/jist/jist-1.5.1-r1.ebuild
+++ b/app-text/jist/jist-1.5.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22 ruby23"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_TASK_DOC=""
@@ -21,10 +21,12 @@ IUSE=""
ruby_add_rdepend "dev-ruby/json:*"
-ruby_add_bdepend "test? ( dev-ruby/webmock )"
+ruby_add_bdepend "test? ( dev-ruby/webmock:0 )"
all_ruby_prepare() {
# Avoid failing test (due to webmock version?)
# We did not run any tests previously
rm -f spec/shorten_spec.rb || die
+
+ sed -i -e '1igem "webmock", "~>1.0"' spec/spec_helper.rb || die
}