veryrusty / dancer2-session-psgi Goto Github PK
View Code? Open in Web Editor NEWDancer2 session storage via Plack::Middleware::Session
Dancer2 session storage via Plack::Middleware::Session
Reported by @eserte in PerlDancer/Dancer2#1448
The test suite of Dancer2-Session-PSGI-0.009 fails on some of my smokers:
# Failed test 'request 3'
# at t/shared.t line 62.
# 'This is my 1th dance'
# doesn't match '(?^:3th dance)'
# Failed test 'request 4'
# at t/shared.t line 65.
# 'Hello, you've been here for 2th time!'
# doesn't match '(?^:4th time)'
# Failed test 'request 5'
# at t/shared.t line 62.
# 'This is my 1th dance'
# doesn't match '(?^:5th dance)'
# Failed test 'request 6'
# at t/shared.t line 65.
# 'Hello, you've been here for 2th time!'
# doesn't match '(?^:6th time)'
# Looks like you failed 4 tests of 6.
t/shared.t .................
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
There's some evidence that this happens only with the latest Dancer2 devel version, but not with the latest or earlier stable versions. Statistical analysis:
****************************************************************
Regression 'mod:Dancer2'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 29816259081077656.00
[1='eq_0.200000'] 0.0000 0.0000 5.11
[2='eq_0.200002'] 0.0000 0.0000 5.87
[3='eq_0.200003'] 0.0000 0.0000 5.48
[4='eq_0.201000'] 0.0000 0.0000 4.73
[5='eq_0.202000'] 0.0000 0.0000 5.75
[6='eq_0.203001'] 0.0000 0.0000 4.24
[7='eq_0.204000'] 0.0000 0.0000 4.90
[8='eq_0.204001'] 0.0000 0.0000 5.38
[9='eq_0.204002'] 0.0000 0.0000 5.74
[10='eq_0.204004'] 0.0000 0.0000 4.24
[11='eq_0.205000'] 0.0000 0.0000 6.06
[12='eq_0.205001'] 0.0000 0.0000 6.34
[13='eq_0.205002'] 0.0000 0.0000 6.46
[14='eq_0.206000_02'] -1.0000 0.0000 -25821637810031708.00
R^2= 1.000, N= 113, K= 15
****************************************************************
I've had some issues trying to install Dancer2::Session::PSGI v0.003 due to the explicit Plack::Test dependency.
The problem is that there is no $Plack::Test::VERSION defined, which means cpanm just plain refuses to install Dancer2::Session::PSGI (even with -f).
Stratopan is also refusing to install (Cannot find Plack::Test~1.0029 anywhere)
Plack::Test is actually part of the main Plack package (and $Plack::VERSION) does exist.
Could you change the prereq to Plack = 1.0029 instead?
(This may well be a fault in the Plack distribution. I'm not really sure if all modules in a distribution should be defining their own $VERSION. Nor am I sure whether prerequisites should be specified as specific modules, or the package they come from.)
Plack::Test = 1.0029
This module requires Plack::Test 1.0029 to get the object oriented interface, but the specified requirement is 0.
As per the title, this module now dies when trying to access the environment via the context method in _flush().
I'd imagine it would also die in the other places if it got that far. I can't see what would be the right method to call to access the env.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.