Closed fphilipe closed 8 years ago
Hi @fphilipe! Have you tested this in a production application? I can cut a release if this fixes stuff for you.
Hey @atmos. Yeah, I'm using this in production right now. My latest version of warden-github-rails doesn't play well with warden-github in combination with rails' json cookie serializer (marshal works just fine). I'd appreciate a new cut 😉
1.3.0 is up on rubygems.
Previously, the
MembershipCache
was a subclass ofHash
. When serializing to and deserializing from JSON, theMembershipCache
would become aHash
and blow up. This is a problem in warden-github-rails where I switched to a custom warden (de)serialization in order to properly support JSON serialization and also to support mocked users in test environments between requests (relevant warden-github-rails commit).