commit: 7c1902a79e945bbad9a35363ef7cf487fd9e0d90
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 07:59:27 2017 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 07:59:27 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1902a7
dev-ruby/capistrano: add ruby23
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild | 4 ++--
dev-ruby/capistrano/capistrano-3.4.1.ebuild | 10 +++++++---
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
b/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
index df434debd4a..e21143a5f4d 100644
--- a/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
+++ b/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
diff --git a/dev-ruby/capistrano/capistrano-3.4.1.ebuild
b/dev-ruby/capistrano/capistrano-3.4.1.ebuild
index 147c14cc8a2..e272053f97b 100644
--- a/dev-ruby/capistrano/capistrano-3.4.1.ebuild
+++ b/dev-ruby/capistrano/capistrano-3.4.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22 ruby23"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -25,7 +25,11 @@ ruby_add_rdepend "
dev-ruby/i18n:*
!!<dev-ruby/capistrano-2.15.5-r2"
ruby_add_bdepend "
- test? ( dev-ruby/mocha:0.12 )"
+ test? ( dev-ruby/mocha:0.14 )"
+
+all_ruby_prepare() {
+ sed -i -e '1igem "mocha", "~>0.14.0"' spec/spec_helper.rb || die
+}
pkg_postinst() {
einfo "Capistrano 3.1 has some breaking changes. Please check the
CHANGELOG: http://goo.gl/SxB0lr"