The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
[Module]
Name=CGI::Snapp
Changelog.Creator=Module::Metadata::Changes V 2.11
Changelog.Parser=Config::IniFiles V 2.88

[V 2.01]
Date=2016-09-11T11:01:00
Comments= <<EOT
- Add the directory of the new version of CGI::Snapp (i.e. ./lib) to the @INC used by
"$^X $script" (in t/lib/CGI/Snapp/RunScript.pm) by changing that string to
"$^X -Ilib $script". This stops the tests defaulting to any version of CGI::Snapp
already installed, and thus forces all tests run by t/test.t to use this new version.
I found this issue by eventually noticing that in my conversion from Hash::FieldHash to
Moo I had installed a faulty copy of CGI::Snapp whose default value of send_output was
0 instead of 1. Only by deleting the installed version and manually running some tests
both via 'prove -lv ...' and via 'perl -Ilib ...' did I find the typo.
EOT

[V 2.00]
Date=2016-09-04T12:10:00
Comments= <<EOT
- Hash::FieldHash has been replaced by Moo.
By default Moo has no XS. And since Hash::FieldHash had an XS component, this switch to Moo
may help some users there too.
Also note, from the Moo docs: 'If a new enough version of Class::XSAccessor is available,
it will be used ...'.
- Adopt new repo structure. This includes changing the licence from Artistic to Perl. See
http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html.
- Adopt patch to t/lib/CGI/Snapp/RunScript from twata. See RT#81241. With thanx.
EOT

[V 1.08]
Date=2013-08-29T17:17:00
Comments= <<EOT
- Update pre-reqs in general, and in particular for Proc::Fork (0.71 to 0.802).
The aim here is to attack the problem Alexandr is having with the tests hanging under MS Windows.
- Use Data::Dumper::Concise and uncomment all the 'diag' calls in t/params.pl, in case I need the output
to diagnose the random failures on recent Perls, which Andreas thinks are related to hash
randomization issues. I would be a great relief to understand exactly what this problem really is.
EOT

[V 1.07]
Date=2013-08-28T14:30:00
Comments= <<EOT
- t/test.t: Clean up usage of arrayref 'v' array, to make test more reliable.
Thanx to Alexandr Ciornii. See RT#81241.
- t/params.pl: Sort all hashes (yes, keys and values) and arrays to make comparisons more reliable
in the presence of hash key randomization, even with Test::Deep's cmp_deeply.
This has been causing ocassional test failues for CPAN testers.
Thanx to Andreas Koenig.
EOT

[V 1.06]
Date=2013-08-20T12:30:00
Comments= <<EOT
- Switch from Test::More.is_deeply() to Test::Deep.cmp_deeply().
This is to avoid hash key randomization issues.
EOT

[V 1.05]
Date=2013-06-13T12:44:00
Comments=- Patch t/test.t so that when Test::Pod is not installed, we expect 0 test results from t/pod.t.

[V 1.04]
Date=2013-06-12T16:38:00
Comments= <<EOT
- Rename CHANGES to Changes as per CPAN::Changes::Spec.
- Add a test of add_header() to t/headers.pl.
- Update corresponding test count in t/test.t.
- Change sub log():
From: $myself -> logger -> $level($s) if ($myself && $myself -> logger)
To: $myself -> logger -> log($level => $s) if ($myself && $myself -> logger)
The reason for this is that if your logger is derived from another class or role, that class
or role had to provide not just the log() method, but all of debug(), info(), notice(), warning(),
warn(), error(), err(), critical(), crit(), alert(), emergency() and emerg(), just in case any
of them are needed.
I should not have used that design, because it forces other code to provide too much complexity.
- Update licence to perl_5. See https://metacpan.org/module/CPAN::Meta::Spec.
- Add a note to the POD for header_type(), about the HTTP status being set to 200 when the header type
has been set to 'none'.
- Add a note to the FAQ about explicitly outputting a header when using Ajax (at least with jQuery).
EOT

[V 1.03]
Date=2012-11-17T10:31:00
Comments= <<EOT
- Use File::Spec -> catfile('t', 'x.pl') instead of 't/x.pl' in tests.
This should solve RT#81241 reported by CHORNY under MS Windows.
EOT

[V 1.02]
Date=2012-09-17T11:38:00
Comments= <<EOT
- Add CGI::PSGI to the pre-reqs (Andreas Koenig).
- Change (in Build.PL) configure_requires{Module::Build} from 0.3800 to 0, after adapting advice from
Andreas Koenig.
- Roll the source of CGI::Snapp::Plugin::Forward into CGI::Snapp.
See also t/forward.t and t/lib/CGI/Snapp/ForwardTest.pm.
Update docs.
- Roll the source of CGI::Snapp::Plugin::Redirect into CGI::Snapp.
See also t/redirect.t and t/lib/CGI/Snapp/RedirectTest.pm.
Update docs.
EOT

[V 1.01]
Date=2012-04-08T10:40:00
Comments= <<EOT
- Shift some code from run() into _determine_(cgi|psgi)_output().
- Add PSGI-specific code, sub as_psgi(), and make some changes to run() using $self -> _psgi().
- Add t/psgi.basic.pl.
- Also test via CGI::Snapp::Dispatch's t/psgi.args.t.
EOT

[V 1.00]
Date=2012-02-27T10:09:44
Comments=- Original version