ruby-changes:70965
From: Michael <ko1@a...>
Date: Thu, 20 Jan 2022 10:39:22 +0900 (JST)
Subject: [ruby-changes:70965] ef2cf9245c (master): [ruby/psych] Remove alias of load to unsafe_load
https://git.ruby-lang.org/ruby.git/commit/?id=ef2cf9245c From ef2cf9245c93a0760ff4eb25dd60de981a6a05a9 Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin <miry.sof@g...> Date: Wed, 19 Jan 2022 18:12:26 +0100 Subject: [ruby/psych] Remove alias of load to unsafe_load https://github.com/ruby/psych/commit/39e23cc86f --- ext/psych/lib/psych.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index 383078788fd..1a95408ca07 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -273,7 +273,6 @@ module Psych https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L273 return fallback unless result result.to_ruby(symbolize_names: symbolize_names, freeze: freeze) end - class << self; alias :load :unsafe_load; end ### # Safely load the yaml string in +yaml+. By default, only the following -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/