dev-ruby/rspec-support: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Sat, 5 Jan 2019 07:45:08 +0000 (08:45 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 5 Jan 2019 07:58:16 +0000 (08:58 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/rspec-support/rspec-support-3.8.0.ebuild

index e84bff1cedb795c86c95fadd16daa3cfa9dd0dbd..49f58a42c922e755a86fb370880c774370d34e7f 100644 (file)
@@ -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
 }