Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gr8bit wants to merge 1 commit into mudbugmedia:master
base: master
Choose a base branch
Loading
from bichinger:psych-api-update

Conversation

Copy link
Contributor

@gr8bit gr8bit commented Feb 4, 2023

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

brianclin and hegwin reacted with thumbs up emoji
Copy link

hegwin commented Nov 2, 2023
edited
Loading

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
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /