critical-path-css-rails icon indicating copy to clipboard operation
critical-path-css-rails copied to clipboard

update deprecated safe_load call (deprecated in psych 3, changed in psych 4+)

Open gr8bit opened this issue 2 years ago • 1 comments

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).

gr8bit avatar Feb 04 '23 22:02 gr8bit

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.

hegwin avatar Nov 02 '23 14:11 hegwin