You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When my repository try to upgrade ruby to 3.1, I encountered ArgumentError in convergence apply .
According to ruby/psych#533, psych 4.x included a breaking change.
I think to use safe_load with newer options like aliases: true fixes this error.
But, what we need to consider is that we may need to drop support for older ruby 2.5 and below which are not support this option.
(My folked repository's test work with 2.5, but ruby doc doesn't exist this options...)
Hello.
When my repository try to upgrade ruby to 3.1, I encountered ArgumentError in
convergence apply
.According to ruby/psych#533, psych 4.x included a breaking change.
convergence/lib/convergence/config.rb
Line 48 in 0cfc4db
I think to use safe_load with newer options like
aliases: true
fixes this error.But, what we need to consider is that we may need to drop support for older ruby 2.5 and below which are not support this option.
(My folked repository's test work with 2.5, but ruby doc doesn't exist this options...)
I will create PR to fix this error.
Reproduction:
The text was updated successfully, but these errors were encountered: