rspec-sidekiq icon indicating copy to clipboard operation
rspec-sidekiq copied to clipboard

Issue with yaml safe loading (psych gem)

Open Paul-Yves opened this issue 4 years ago • 1 comments

I am trying to upgrade to psych 4 but there are breaking changes on yaml loading and all my expect().to be_delayed breaks.

There are some examples of other library starting to use safe load.

See for example #503 where the library adapted to the changes: sparklemotion/http-cookie#34.

Is it something rspec-sidekiq would consider do ?

Paul-Yves avatar Aug 02 '21 13:08 Paul-Yves

The gem I use no longer has dependency to psych so I no longer have the issue, however I guess that the issue remains for those who upgrade psych version.

Paul-Yves avatar Aug 16 '21 09:08 Paul-Yves

Thank you for the issue! Many years late but I think this will be fixed in V4 with https://github.com/wspurgin/rspec-sidekiq/commit/8fc3f9dca869eb746c88902afe72f2255108524d#diff-8198780b626ed0023b2808c305db028adadd80c82bb05a64f600a3f47b93f1b0R61-R66

wspurgin avatar Jul 26 '23 13:07 wspurgin