critical-path-css-rails
critical-path-css-rails copied to clipboard
update deprecated safe_load call (deprecated in psych 3, changed in psych 4+)
The arguments for the YAML.safe_load call have changed in Psych 3 to named parameters. From Psych 4 on, the old unnamed parameters have been removed. This PR uses the named parameters, making the gem compatible to Psych 4+ (currently: 5).
Could anyone help to check this? The gem is no longer compatible with Ruby 3.1+ due to an incompatible changes with Psych 4.0.0. This PR could fix this.