Skip to content

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

Open
gr8bit wants to merge 1 commit into
mudbugmedia:masterfrom
bichinger:psych-api-update
Open

update deprecated safe_load call (deprecated in psych 3, changed in psych 4+)#59
gr8bit wants to merge 1 commit into
mudbugmedia:masterfrom
bichinger:psych-api-update

Conversation

@gr8bit

@gr8bit gr8bit commented Feb 4, 2023

Copy link
Copy Markdown
Contributor

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

@hegwin

hegwin commented Nov 2, 2023

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants