We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8271915 commit b32be07Copy full SHA for b32be07
lib/rubygems/safe_yaml.rb
@@ -35,7 +35,10 @@ def self.load input
35
::YAML.safe_load(input, [::Symbol])
36
end
37
else
38
- warn "YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0)."
+ unless Gem::Deprecate.skip
39
+ warn "YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0)."
40
+ end
41
+
42
def self.safe_load input, *args
43
::YAML.load input
44
0 commit comments