dudle
dudle copied to clipboard
Compat with newer Psych: Use safe_load with permitted_classes Poll and TimePollHead
Fixes #145, fixes #151
Based on the discussion in #145, @dl8dtl's initial patch suggestion and reading https://docs.ruby-lang.org/en/master/Psych.html to understand the remaining open question by @JoJoDeveloping where the config needs to go.
I independently figured this out before finding this PR and needed a few more classes to get things working, not sure why the discrepancy: dfe3f10e32507bcafda5f3acde4b3bde97c1abbd