Closed iamvery closed 3 years ago
tagging @bethesque on this for visibility
😱 Bloody active support! It kills me. https://github.com/pact-foundation/pact-support/blob/master/lib/pact/shared/active_support_support.rb#L23
It's going to be a deep dive to work out how to fix this one. I'll have a look at it on my next OSS day (either this Thursday or next Thursday).
Haha, no worries. I got a good laugh out of that file.
beneath its destructive hooves of destruction
If I am able to give it some more time, I will see if I can make progress as well.
Follow https://github.com/pact-foundation/pact-support/issues/87 for progress.
Lolz. Just found the "active support support" equivalent in the Sequel gem.
https://github.com/jeremyevans/sequel/blob/master/lib/sequel/plugins/json_serializer.rb#L105-L118
And I quote:
You can undo the damage done by active_support/json by doing: ...
Problem
We're working to support Ruby 3.0 and have run into some issues with this library. In particular with this line.
Here's a simple reproduction in
irb
.I was also able to reproduce this with your test suite. I was hoping to add Ruby 3.0 the build so that it's self-evident, but I don't see Travis being built on this PR. Here's an example from a local run: