Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecated interface for YAML.safe_load
Passing in the permitted classes as the second argument was deprecated in Psych 3 (ruby/psych#378) and removed in Psych 4 (ruby/psych#487). Ruby 3.1 ships with Psych 4, so to make the code work for Ruby 2.7 and up, use the `permitted_classes` keyword argument.
- Loading branch information