Closed pboling closed 11 months ago
This is expected. See https://github.com/rack/rack-session/issues/15
If that's the case (and it is, see also) then the README is misleading. It claims to be compatible, yet the instruction in the readme, require "rack/session"
only works for one of those versions. It doesn't work with v1.
Ideally v1 could ship with a dummy NO-OP file there so we can use the same code in libraries targetting compatibility with both versions.
Released in v1.0.2.
When I use a "legacy" gemfile in this project I see the following when updating the bundle:
That is as expected.
I have this at the top of my
spec_helper.rb
, which is documented as the correct usage in theREADME.md
of both thestable-v1
branch and themain
branch:But when I run tests I get an error: