summaryrefslogtreecommitdiff
path: root/dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-19 11:08:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-19 11:08:38 +0100
commit66d92fc8569d87a09ac014780528dcad2a12b6c6 (patch)
treec2add83cecf7705c1634a143fe36eebd8c7f2805 /dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch
parentca517256fa4afe5b579e64e267ebbc7beb8a888f (diff)
gentoo auto-resync : 19:09:2023 - 11:08:38
Diffstat (limited to 'dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch')
-rw-r--r--dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch b/dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch
deleted file mode 100644
index e994a48bbecb..000000000000
--- a/dev-ruby/safe_yaml/files/safe_yaml-1.0.5-ruby30-arity.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Daniel Leidert <dleidert@debian.org>
-Date: Wed, 1 Dec 2021 18:51:51 +0100
-Subject: Fix Rubx 3 compatibility
-
-Origin: https://github.com/dtao/safe_yaml/compare/master...paolobrasolin:development
-Bug: https://github.com/dtao/safe_yaml/issues/100
----
- lib/safe_yaml/safe_to_ruby_visitor.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/safe_yaml/safe_to_ruby_visitor.rb b/lib/safe_yaml/safe_to_ruby_visitor.rb
-index b980445..5fd71f0 100644
---- a/lib/safe_yaml/safe_to_ruby_visitor.rb
-+++ b/lib/safe_yaml/safe_to_ruby_visitor.rb
-@@ -4,7 +4,7 @@ module SafeYAML
-
- def initialize(resolver)
- case INITIALIZE_ARITY
-- when 2
-+ when 2, -3
- # https://github.com/tenderlove/psych/blob/v2.0.0/lib/psych/visitors/to_ruby.rb#L14-L28
- loader = Psych::ClassLoader.new
- scanner = Psych::ScalarScanner.new(loader)