diff options
author | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
commit | c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch) | |
tree | 1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/ronn/fix-ruby-3.1-compat.patch | |
parent | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff) |
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/ronn/fix-ruby-3.1-compat.patch')
-rw-r--r-- | repo/ronn/fix-ruby-3.1-compat.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/ronn/fix-ruby-3.1-compat.patch b/repo/ronn/fix-ruby-3.1-compat.patch new file mode 100644 index 0000000..233da9d --- /dev/null +++ b/repo/ronn/fix-ruby-3.1-compat.patch @@ -0,0 +1,24 @@ +Patch-Source: https://github.com/apjanke/ronn-ng/issues/80 + +--- a/lib/ronn/document.rb.orig ++++ b/lib/ronn/document.rb +@@ -289,7 +289,7 @@ + + def to_yaml + require 'yaml' +- to_h.to_yaml ++ to_h.merge('date' => date.to_s).to_yaml + end + + def to_json(*_args) +--- a/test/test_ronn_document.rb ++++ b/test/test_ronn_document.rb +@@ -140,7 +140,7 @@ class DocumentTest < Test::Unit::TestCase + assert_equal({ + 'section' => '1', + 'name' => 'hello', +- 'date' => @now, ++ 'date' => @now.to_s, + 'tagline' => 'hello world', + 'styles' => ['man'], + 'toc' => [['NAME', 'NAME']], |