Skip to content

Commit

Permalink
dev-ruby/rspec-support: add ruby26
Browse files Browse the repository at this point in the history
Signed-off-by: Hans de Graaff <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
graaff committed Jan 5, 2019
1 parent b209495 commit 452a400
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit 452a400

Please sign in to comment.