summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-24 07:45:12 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-24 07:45:20 +0200
commitca173392a76116e0322dcccdcfbf4e6792fb3071 (patch)
tree0295614e3c35a0460368f33a89f287a7fd368e1a /dev-ruby/kramdown-parser-gfm
parentdev-ruby/jquery-rails: drop 4.4.0 (diff)
downloadgentoo-ca173392a76116e0322dcccdcfbf4e6792fb3071.tar.gz
gentoo-ca173392a76116e0322dcccdcfbf4e6792fb3071.tar.bz2
gentoo-ca173392a76116e0322dcccdcfbf4e6792fb3071.zip
dev-ruby/kramdown-parser-gfm: enable ruby30, fix tests
Closes: https://bugs.gentoo.org/733922 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/kramdown-parser-gfm')
-rw-r--r--dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild b/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild
index 6e2514be9de3..6a9f05002d7b 100644
--- a/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild
+++ b/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
-inherit ruby-fakegem
+inherit edo ruby-fakegem
DESCRIPTION="A kramdown parser for the GFM dialect of Markdown"
HOMEPAGE="https://github.com/kramdown/parser-gfm"
@@ -20,8 +20,11 @@ ruby_add_bdepend "test? ( dev-ruby/kramdown[latex] )"
all_ruby_prepare() {
# Avoid testcase which is no longer compatible with newer rouge
rm -f test/testcases/codeblock_fenced.text || die
+
+ # Avoid test broken with current kramdown versions
+ rm -r test/testcases/header_ids.text || die
}
each_ruby_test() {
- ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+ edo ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
}