commit:     377854f333cab855f5a917990b1e3a2f39cd7f64
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 22 18:31:01 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr 22 19:13:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377854f3

dev-ruby/faraday_middleware: add ruby24

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/faraday_middleware/faraday_middleware-0.12.2.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/faraday_middleware/faraday_middleware-0.12.2.ebuild 
b/dev-ruby/faraday_middleware/faraday_middleware-0.12.2.ebuild
index 3f3eefd7c5d..86278ad3138 100644
--- a/dev-ruby/faraday_middleware/faraday_middleware-0.12.2.ebuild
+++ b/dev-ruby/faraday_middleware/faraday_middleware-0.12.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
@@ -36,7 +36,7 @@ ruby_add_bdepend "test? (
        dev-ruby/bundler
        dev-ruby/addressable
        dev-ruby/rake
-       dev-ruby/webmock:0
+       dev-ruby/webmock:3
        dev-ruby/json:0
        >=dev-ruby/multi_xml-0.5.3
        >=dev-ruby/rack-cache-1.1
@@ -50,7 +50,8 @@ all_ruby_prepare() {
                -e "/addressable/ s/, '< 2.4'//" \
                -e "/rake/ s/, '< 11'//" \
                -e "/rack-cache/ s/, '< 1.3'//" \
-               -e "/simple_oauth/ s/, '< 0.3'//" Gemfile || die
+               -e "/simple_oauth/ s/, '< 0.3'//" \
+               -e "/webmock/ s/< 2/~> 3.0/" Gemfile || die
 
        # Avoid unneeded dependency on git
        sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die

Reply via email to