mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
www-apps/jekyll: fix test against newer minitest
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/557 Merges: https://codeberg.org/gentoo/gentoo/pulls/557 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
d730650acb
commit
dfdb434456
18
www-apps/jekyll/files/jekyll-4.1.1-minitest6.patch
Normal file
18
www-apps/jekyll/files/jekyll-4.1.1-minitest6.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
https://github.com/jekyll/jekyll/pull/9954
|
||||
|
||||
From d074e4a4b644dbdf4c11d88f01a68d44033185ea Mon Sep 17 00:00:00 2001
|
||||
From: Matt Rogers <codemattr@gmail.com>
|
||||
Date: Sun, 29 Mar 2026 22:23:20 -0500
|
||||
Subject: [PATCH] fix: adapt to new minitest versions
|
||||
|
||||
--- a/test/test_page_without_a_file.rb
|
||||
+++ b/test/test_page_without_a_file.rb
|
||||
@@ -64,7 +64,7 @@ def render_and_write
|
||||
assert_equal "All the properties.\n", regular_page["content"]
|
||||
assert_equal "properties.html", regular_page["name"]
|
||||
|
||||
- basic_attrs = %w(dir name path url excerpt)
|
||||
+ basic_attrs = %w(dir name path url)
|
||||
attrs = {
|
||||
"content" => nil,
|
||||
"dir" => "/",
|
||||
@@ -53,6 +53,10 @@ ruby_add_bdepend "
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/jekyll-4.1.1-minitest6.patch
|
||||
)
|
||||
|
||||
all_ruby_prepare() {
|
||||
eapply "${FILESDIR}"/jekyll-3.6.0-test-helper.patch
|
||||
eapply -R "${FILESDIR}/jekyll-4.3.2-sass.patch"
|
||||
|
||||
Reference in New Issue
Block a user