commit:     452a400ca0e76e1f80a10efdf61475cec78c94ee
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  5 07:45:08 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jan  5 07:58:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452a400c

dev-ruby/rspec-support: add ruby26

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/rspec-support/rspec-support-3.8.0.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild 
b/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
index e84bff1cedb..49f58a42c92 100644
--- a/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
+++ b/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
@@ -36,4 +36,8 @@ all_ruby_prepare() {
 
        # Avoid a spec requiring a specific locale
        sed -i -e '/copes with encoded strings/ 
s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die
+
+       # Avoid a brittle spec depending on ruby implementation details
+       # should be fixed upstream in next version
+       sed -i -e '/returns a hash containing nodes for each line number/askip 
"ruby26"' spec/rspec/support/source_spec.rb || die
 }

Reply via email to