commit:     0c95e1e1574dd7a3c5602ff0b0d140912237605e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 09:34:49 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 14:33:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c95e1e1

dev-ruby/webmock: add ruby23

Package-Manager: portage-2.3.0

 dev-ruby/webmock/webmock-1.24.6.ebuild | 2 +-
 dev-ruby/webmock/webmock-2.1.0.ebuild  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-1.24.6.ebuild 
b/dev-ruby/webmock/webmock-1.24.6.ebuild
index 0f1b21d..b755dc2 100644
--- a/dev-ruby/webmock/webmock-1.24.6.ebuild
+++ b/dev-ruby/webmock/webmock-1.24.6.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 

diff --git a/dev-ruby/webmock/webmock-2.1.0.ebuild 
b/dev-ruby/webmock/webmock-2.1.0.ebuild
index 564772b..f11c379 100644
--- a/dev-ruby/webmock/webmock-2.1.0.ebuild
+++ b/dev-ruby/webmock/webmock-2.1.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 
@@ -35,6 +35,7 @@ all_ruby_prepare() {
        # Remove bundler support
        rm Gemfile || die
        sed -i -e '/[Bb]undler/d' Rakefile || die
+       sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
 
        # There is now optional support for curb and typhoeus which we don't
        # have in Gentoo yet. em_http_request is available in Gentoo but its

Reply via email to