public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/ronn-ng/files/
@ 2024-11-13  8:34 Hans de Graaff
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2024-11-13  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     5e41bf8717ee4588e20c5c5039b1cbd775f9d99f
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Nov 11 18:05:10 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 08:34:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e41bf87

app-text/ronn-ng: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 .../files/ronn-ng-0.9.1-psych-4-tests.patch        | 40 ----------------------
 1 file changed, 40 deletions(-)

diff --git a/app-text/ronn-ng/files/ronn-ng-0.9.1-psych-4-tests.patch b/app-text/ronn-ng/files/ronn-ng-0.9.1-psych-4-tests.patch
deleted file mode 100644
index b9e05cfff455..000000000000
--- a/app-text/ronn-ng/files/ronn-ng-0.9.1-psych-4-tests.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-https://github.com/apjanke/ronn-ng/commit/e194bf62b1d0c0828cc83405e60dc5ece829e62f
-
-From e194bf62b1d0c0828cc83405e60dc5ece829e62f Mon Sep 17 00:00:00 2001
-From: Andrew Janke <andrew@apjanke.net>
-Date: Fri, 6 Jan 2023 07:25:48 -0500
-Subject: [PATCH] Workaround for Psych 4.0+ in tests
-
-Psych 4.0, shipped with Ruby 3.1, switched to a "safe load" by default, and requires you to explicitly set allowed classes. But previous Psych versions didn't support this kwarg, so the call needs to be made differently depending on which version of Psych/Ruby this is running under.
-
-Co-authored-by: Takuya Noguchi <takninnovationresearch@gmail.com>
----
- test/test_ronn_document.rb  | 7 ++++++-
- 2 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/test/test_ronn_document.rb b/test/test_ronn_document.rb
-index 75788dc..cd573fe 100644
---- a/test/test_ronn_document.rb
-+++ b/test/test_ronn_document.rb
-@@ -137,6 +137,11 @@ def canonicalize(text)
- 
-     test 'converting to yaml' do
-       require 'yaml'
-+      actual = begin
-+        YAML.load(@doc.to_yaml, permitted_classes: [Time])
-+      rescue ArgumentError # Remove this line when Ruby 3.0.x support is dropped
-+        YAML.load(@doc.to_yaml)
-+      end
-       assert_equal({
-                      'section'      => '1',
-                      'name'         => 'hello',
-@@ -146,7 +151,7 @@ def canonicalize(text)
-                      'toc'          => [['NAME', 'NAME']],
-                      'organization' => nil,
-                      'manual'       => nil
--                   }, YAML.load(@doc.to_yaml))
-+                   }, actual)
-     end
- 
-     test 'converting to json' do
-


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-13  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  8:34 [gentoo-commits] repo/gentoo:master commit in: app-text/ronn-ng/files/ Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox