Hello community,
here is the log from the commit of package perl-Plack-Middleware-Session for
openSUSE:Factory checked in at 2019-03-01 16:49:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Plack-Middleware-Session (Old)
and /work/SRC/openSUSE:Factory/.perl-Plack-Middleware-Session.new.28833
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Plack-Middleware-Session"
Fri Mar 1 16:49:09 2019 rev:3 rq:680391 version:0.32
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Plack-Middleware-Session/perl-Plack-Middleware-Session.changes
2017-10-18 16:16:37.360350641 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Plack-Middleware-Session.new.28833/perl-Plack-Middleware-Session.changes
2019-03-01 16:49:10.753759353 +0100
@@ -1,0 +2,13 @@
+Wed Feb 27 06:32:14 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 0.32
+ see /usr/share/doc/packages/perl-Plack-Middleware-Session/Changes
+
+ 0.32 2019-02-26 14:36:19 MST
+ - Fix dependency for Cookie::Baker
+
+ 0.31 2019-02-26 12:01:00 MST
+ - Documentation fix
+ - Support samesite cookie attributes #42
+
+-------------------------------------------------------------------
Old:
----
Plack-Middleware-Session-0.30.tar.gz
New:
----
Plack-Middleware-Session-0.32.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Plack-Middleware-Session.spec ++++++
--- /var/tmp/diff_new_pack.WAwBC8/_old 2019-03-01 16:49:11.393759112 +0100
+++ /var/tmp/diff_new_pack.WAwBC8/_new 2019-03-01 16:49:11.397759110 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Plack-Middleware-Session
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,35 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Plack-Middleware-Session
-Version: 0.30
+Version: 0.32
Release: 0
%define cpan_name Plack-Middleware-Session
Summary: Middleware for session management
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Plack-Middleware-Session/
+Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Cookie::Baker)
+BuildRequires: perl(Cookie::Baker) >= 0.10
BuildRequires: perl(Digest::HMAC_SHA1) >= 1.03
BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(HTTP::Cookies)
BuildRequires: perl(LWP::UserAgent)
-BuildRequires: perl(Module::Build::Tiny) >= 0.039
+BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Plack) >= 0.9910
BuildRequires: perl(Test::Fatal) >= 0.006
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
-Requires: perl(Cookie::Baker)
+Requires: perl(Cookie::Baker) >= 0.10
Requires: perl(Digest::HMAC_SHA1) >= 1.03
Requires: perl(Digest::SHA1)
Requires: perl(Plack) >= 0.9910
@@ -64,7 +64,7 @@
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
++++++ Plack-Middleware-Session-0.30.tar.gz ->
Plack-Middleware-Session-0.32.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/Build.PL
new/Plack-Middleware-Session-0.32/Build.PL
--- old/Plack-Middleware-Session-0.30/Build.PL 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/Build.PL 2019-02-26 22:36:22.000000000
+0100
@@ -1,7 +1,7 @@
-# This Build.PL for Plack-Middleware-Session was generated by
Dist::Zilla::Plugin::ModuleBuildTiny 0.009.
+# This Build.PL for Plack-Middleware-Session was generated by
Dist::Zilla::Plugin::ModuleBuildTiny 0.015.
use strict;
use warnings;
use 5.006;
-use Module::Build::Tiny 0.039;
+use Module::Build::Tiny 0.034;
Build_PL();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/Changes
new/Plack-Middleware-Session-0.32/Changes
--- old/Plack-Middleware-Session-0.30/Changes 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/Changes 2019-02-26 22:36:22.000000000
+0100
@@ -1,5 +1,12 @@
Revision history for Perl extension Plack::Middleware::Session
+0.32 2019-02-26 14:36:19 MST
+ - Fix dependency for Cookie::Baker
+
+0.31 2019-02-26 12:01:00 MST
+ - Documentation fix
+ - Support samesite cookie attributes #42
+
0.30 2015-03-02 10:24:38 PST
- Fix VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/MANIFEST
new/Plack-Middleware-Session-0.32/MANIFEST
--- old/Plack-Middleware-Session-0.30/MANIFEST 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/MANIFEST 2019-02-26 22:36:22.000000000
+0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.032.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.012.
Build.PL
Changes
LICENSE
@@ -39,6 +39,6 @@
t/014_cookie_options.t
t/015_cookie_options_mw.t
t/016_cookiestore_w_customs.t
+t/author-pod-syntax.t
t/lib/TestSession.pm
t/lib/TestSessionHash.pm
-t/release-pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/META.json
new/Plack-Middleware-Session-0.32/META.json
--- old/Plack-Middleware-Session-0.30/META.json 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/META.json 2019-02-26 22:36:22.000000000
+0100
@@ -4,7 +4,7 @@
"Tatsuhiko Miyagawa"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.032, Dist::Milla version v1.0.14,
CPAN::Meta::Converter version 2.143240",
+ "generated_by" : "Dist::Milla version v1.0.20, Dist::Zilla version 6.012,
CPAN::Meta::Converter version 2.143240",
"license" : [
"perl_5"
],
@@ -15,29 +15,29 @@
"name" : "Plack-Middleware-Session",
"no_index" : {
"directory" : [
- "t",
- "xt",
+ "eg",
+ "examples",
"inc",
"share",
- "eg",
- "examples"
+ "t",
+ "xt"
]
},
"prereqs" : {
"configure" : {
"requires" : {
- "Module::Build::Tiny" : "0.039"
+ "Module::Build::Tiny" : "0.034"
}
},
"develop" : {
"requires" : {
- "Dist::Milla" : "v1.0.14",
+ "Dist::Milla" : "v1.0.20",
"Test::Pod" : "1.41"
}
},
"runtime" : {
"requires" : {
- "Cookie::Baker" : "0",
+ "Cookie::Baker" : "0.10",
"Digest::HMAC_SHA1" : "1.03",
"Digest::SHA1" : "0",
"Plack" : "0.9910"
@@ -65,12 +65,14 @@
"web" : "https://github.com/plack/Plack-Middleware-Session"
}
},
- "version" : "0.30",
+ "version" : "0.32",
"x_contributors" : [
"Alex Vandiver <[email protected]>",
+ "Florian Schlichting <[email protected]>",
"franck cuny <[email protected]>",
"Graham Knop <[email protected]>",
"Ivan Baidakou <[email protected]>",
+ "John Lifsey <[email protected]>",
"Lee Aylward <[email protected]>",
"lestrrat <[email protected]>",
"Mark Stosberg <[email protected]>",
@@ -81,7 +83,12 @@
"s-aska <[email protected]>",
"Stevan Little <[email protected]>",
"Tatsuhiko Miyagawa <[email protected]>",
- "Tokuhiro Matsuno <[email protected]>"
- ]
+ "Tatsuhiko Miyagawa <[email protected]>",
+ "Tokuhiro Matsuno <[email protected]>",
+ "vividsnow <[email protected]>"
+ ],
+ "x_generated_by_perl" : "v5.20.1",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.09",
+ "x_static_install" : 1
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/META.yml
new/Plack-Middleware-Session-0.32/META.yml
--- old/Plack-Middleware-Session-0.30/META.yml 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/META.yml 2019-02-26 22:36:22.000000000
+0100
@@ -9,9 +9,9 @@
Test::More: '0.88'
Test::Requires: '0'
configure_requires:
- Module::Build::Tiny: '0.039'
+ Module::Build::Tiny: '0.034'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.032, Dist::Milla version v1.0.14,
CPAN::Meta::Converter version 2.143240'
+generated_by: 'Dist::Milla version v1.0.20, Dist::Zilla version 6.012,
CPAN::Meta::Converter version 2.143240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,14 +19,14 @@
name: Plack-Middleware-Session
no_index:
directory:
- - t
- - xt
- - inc
- - share
- eg
- examples
+ - inc
+ - share
+ - t
+ - xt
requires:
- Cookie::Baker: '0'
+ Cookie::Baker: '0.10'
Digest::HMAC_SHA1: '1.03'
Digest::SHA1: '0'
Plack: '0.9910'
@@ -34,12 +34,14 @@
bugtracker: https://github.com/plack/Plack-Middleware-Session/issues
homepage: https://github.com/plack/Plack-Middleware-Session
repository: https://github.com/plack/Plack-Middleware-Session.git
-version: '0.30'
+version: '0.32'
x_contributors:
- 'Alex Vandiver <[email protected]>'
+ - 'Florian Schlichting <[email protected]>'
- 'franck cuny <[email protected]>'
- 'Graham Knop <[email protected]>'
- 'Ivan Baidakou <[email protected]>'
+ - 'John Lifsey <[email protected]>'
- 'Lee Aylward <[email protected]>'
- 'lestrrat <[email protected]>'
- 'Mark Stosberg <[email protected]>'
@@ -50,4 +52,9 @@
- 's-aska <[email protected]>'
- 'Stevan Little <[email protected]>'
- 'Tatsuhiko Miyagawa <[email protected]>'
+ - 'Tatsuhiko Miyagawa <[email protected]>'
- 'Tokuhiro Matsuno <[email protected]>'
+ - 'vividsnow <[email protected]>'
+x_generated_by_perl: v5.20.1
+x_serialization_backend: 'YAML::Tiny version 1.73'
+x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/README
new/Plack-Middleware-Session-0.32/README
--- old/Plack-Middleware-Session-0.30/README 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/README 2019-02-26 22:36:22.000000000
+0100
@@ -107,10 +107,11 @@
change_id
- If set to a true value, forces the session identifier to change. This
- should always be done after logging in, to prevent session fixation
- attacks from subdomains; see
-
http://en.wikipedia.org/wiki/Session_fixation#Attacks_using_cross-subdomain_cooking
+ If set to a true value, forces the session identifier to change
+ (rotate). This should always be done after logging in, to prevent
+ session fixation attacks from subdomains; see
+ http://en.wikipedia.org/wiki/Session_fixation#Attacks_using_cross-sub
+ domain_cooking
expire
@@ -120,7 +121,7 @@
no_store
If set to a true value, no changes made to the session in this
- request will be saved to the store. Either "expire" and /change_id
+ request will be saved to the store. Either "expire" and "change_id"
take precedence over this, as both need to update the session store.
late_store
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/cpanfile
new/Plack-Middleware-Session-0.32/cpanfile
--- old/Plack-Middleware-Session-0.30/cpanfile 2015-03-02 19:24:41.000000000
+0100
+++ new/Plack-Middleware-Session-0.32/cpanfile 2019-02-26 22:36:22.000000000
+0100
@@ -1,5 +1,5 @@
requires 'Plack' => '0.9910';
-requires 'Cookie::Baker' => '0';
+requires 'Cookie::Baker' => '0.10';
# for session ID gen
requires 'Digest::SHA1' => '0';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Middleware/Session.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Middleware/Session.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Middleware/Session.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Middleware/Session.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use Plack::Util;
@@ -253,7 +253,7 @@
=item I<change_id>
-If set to a true value, forces the session identifier to change. This
+If set to a true value, forces the session identifier to change (rotate). This
should always be done after logging in, to prevent session fixation
attacks from subdomains; see
L<http://en.wikipedia.org/wiki/Session_fixation#Attacks_using_cross-subdomain_cooking>
@@ -266,7 +266,7 @@
=item I<no_store>
If set to a true value, no changes made to the session in this request
-will be saved to the store. Either L</expire> and I</change_id> take
+will be saved to the store. Either L</expire> and L</change_id> take
precedence over this, as both need to update the session store.
=item I<late_store>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/Cleanup.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/Cleanup.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/Cleanup.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/Cleanup.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
sub new {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/State/Cookie.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/State/Cookie.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/State/Cookie.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/State/Cookie.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use parent 'Plack::Session::State';
@@ -15,6 +15,7 @@
expires
secure
httponly
+ samesite
];
sub get_session_id {
@@ -31,6 +32,7 @@
$options{domain} = $self->domain if !exists $options{domain} &&
defined $self->domain;
$options{secure} = $self->secure if !exists $options{secure} &&
defined $self->secure;
$options{httponly} = $self->httponly if !exists $options{httponly} &&
defined $self->httponly;
+ $options{samesite} = $self->samesite if !exists $options{samesite} &&
defined $self->samesite;
if (!exists $options{expires} && defined $self->expires) {
@@ -102,7 +104,7 @@
The C<%params> can include I<path>, I<domain>, I<expires>, I<secure>,
and I<httponly> options, as well as all the options accepted by
-L<Plack::Session::Store>.
+L<Plack::Session::State>.
=item B<path>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/State.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/State.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/State.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/State.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use Digest::SHA1 ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/Cache.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/Cache.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/Cache.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/Cache.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use Scalar::Util qw[ blessed ];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/DBI.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/DBI.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/DBI.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/DBI.pm
2019-02-26 22:36:22.000000000 +0100
@@ -4,7 +4,7 @@
# XXX Is there a notion of auto-expiry?
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use MIME::Base64 ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/File.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/File.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/File.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/File.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use Storable ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/Null.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/Null.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store/Null.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store/Null.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
sub new { bless {} => shift }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session/Store.pm
2015-03-02 19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session/Store.pm
2019-02-26 22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use Plack::Util::Accessor qw[ _stash ];
@@ -49,7 +49,7 @@
};
builder {
- enable 'Session'; # this is the defalt store
+ enable 'Session'; # this is the default store
$app;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/lib/Plack/Session.pm
new/Plack-Middleware-Session-0.32/lib/Plack/Session.pm
--- old/Plack-Middleware-Session-0.30/lib/Plack/Session.pm 2015-03-02
19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/lib/Plack/Session.pm 2019-02-26
22:36:22.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.30';
+our $VERSION = '0.32';
our $AUTHORITY = 'cpan:STEVAN';
use Plack::Util::Accessor qw( session options );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Plack-Middleware-Session-0.30/t/015_cookie_options_mw.t
new/Plack-Middleware-Session-0.32/t/015_cookie_options_mw.t
--- old/Plack-Middleware-Session-0.30/t/015_cookie_options_mw.t 2015-03-02
19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/t/015_cookie_options_mw.t 2019-02-26
22:36:22.000000000 +0100
@@ -14,6 +14,7 @@
$env->{'psgix.session.options'}{path} = $path;
$env->{'psgix.session.options'}{domain} = '.example.com';
$env->{'psgix.session.options'}{httponly} = 1;
+ $env->{'psgix.session.options'}{samesite} = 'Lax';
return [ 200, [], [ "Hi" ] ];
};
@@ -24,10 +25,10 @@
my $cb = shift;
my $res = $cb->(GET "http://localhost/");
- like $res->header('Set-Cookie'), qr/plack_session=\w+;
domain=.example.com; HttpOnly/;
+ like $res->header('Set-Cookie'), qr/plack_session=\w+;
domain=.example.com; SameSite=Lax; HttpOnly/;
$res = $cb->(GET "http://localhost/with_path");
- like $res->header('Set-Cookie'), qr/plack_session=\w+;
domain=.example.com; path=\/foo; HttpOnly/;
+ like $res->header('Set-Cookie'), qr/plack_session=\w+;
domain=.example.com; path=\/foo; SameSite=Lax; HttpOnly/;
};
done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/t/author-pod-syntax.t
new/Plack-Middleware-Session-0.32/t/author-pod-syntax.t
--- old/Plack-Middleware-Session-0.30/t/author-pod-syntax.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/t/author-pod-syntax.t 2019-02-26
22:36:22.000000000 +0100
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
+ }
+}
+
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
+use Test::More;
+use Test::Pod 1.41;
+
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Plack-Middleware-Session-0.30/t/release-pod-syntax.t
new/Plack-Middleware-Session-0.32/t/release-pod-syntax.t
--- old/Plack-Middleware-Session-0.30/t/release-pod-syntax.t 2015-03-02
19:24:41.000000000 +0100
+++ new/Plack-Middleware-Session-0.32/t/release-pod-syntax.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate
testing');
- }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
-use Test::More;
-use Test::Pod 1.41;
-
-all_pod_files_ok();