Hello community,

here is the log from the commit of package perl-Cookie-Baker for 
openSUSE:Factory checked in at 2019-06-12 13:14:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Cookie-Baker (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Cookie-Baker.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Cookie-Baker"

Wed Jun 12 13:14:13 2019 rev:6 rq:708764 version:0.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Cookie-Baker/perl-Cookie-Baker.changes      
2018-09-24 13:13:54.529639264 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Cookie-Baker.new.4811/perl-Cookie-Baker.changes
    2019-06-12 13:14:14.288820519 +0200
@@ -1,0 +2,10 @@
+Sat Jun  8 05:04:07 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 0.11
+   see /usr/share/doc/packages/perl-Cookie-Baker/Changes
+
+  0.11 2019-06-07T06:27:50Z
+  
+     - Supportt SameSite=None https://github.com/kazeburo/Cookie-Baker/pull/15
+
+-------------------------------------------------------------------

Old:
----
  Cookie-Baker-0.10.tar.gz

New:
----
  Cookie-Baker-0.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Cookie-Baker.spec ++++++
--- /var/tmp/diff_new_pack.xrZ3me/_old  2019-06-12 13:14:14.780820003 +0200
+++ /var/tmp/diff_new_pack.xrZ3me/_new  2019-06-12 13:14:14.780820003 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Cookie-Baker
 #
-# Copyright (c) 2018 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
@@ -17,13 +17,13 @@
 
 
 Name:           perl-Cookie-Baker
-Version:        0.10
+Version:        0.11
 Release:        0
 %define cpan_name Cookie-Baker
 Summary:        Cookie string generator / parser
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Cookie-Baker/
+Url:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
@@ -44,7 +44,7 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build build --flags=%{?_smp_mflags}
 
 %check

++++++ Cookie-Baker-0.10.tar.gz -> Cookie-Baker-0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cookie-Baker-0.10/Changes 
new/Cookie-Baker-0.11/Changes
--- old/Cookie-Baker-0.10/Changes       2018-09-21 09:40:25.000000000 +0200
+++ new/Cookie-Baker-0.11/Changes       2019-06-07 08:27:51.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Perl extension Cookie-Baker
 
+0.11 2019-06-07T06:27:50Z
+
+   - Supportt SameSite=None https://github.com/kazeburo/Cookie-Baker/pull/15
+
 0.10 2018-09-21T07:40:25Z
 
    - Add samesite https://github.com/kazeburo/Cookie-Baker/pull/13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cookie-Baker-0.10/META.json 
new/Cookie-Baker-0.11/META.json
--- old/Cookie-Baker-0.10/META.json     2018-09-21 09:40:25.000000000 +0200
+++ new/Cookie-Baker-0.11/META.json     2019-06-07 08:27:51.000000000 +0200
@@ -60,7 +60,7 @@
    "provides" : {
       "Cookie::Baker" : {
          "file" : "lib/Cookie/Baker.pm",
-         "version" : "0.10"
+         "version" : "0.11"
       }
    },
    "release_status" : "stable",
@@ -74,12 +74,13 @@
          "web" : "https://github.com/kazeburo/Cookie-Baker";
       }
    },
-   "version" : "0.10",
+   "version" : "0.11",
    "x_contributors" : [
       "David Romano <[email protected]>",
       "Ichinose Shogo <[email protected]>",
       "Olaf Alders <[email protected]>",
-      "Shoichi Kaji <[email protected]>"
+      "Shoichi Kaji <[email protected]>",
+      "kwry <[email protected]>"
    ],
    "x_serialization_backend" : "JSON::PP version 2.27300_01",
    "x_static_install" : 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cookie-Baker-0.10/META.yml 
new/Cookie-Baker-0.11/META.yml
--- old/Cookie-Baker-0.10/META.yml      2018-09-21 09:40:25.000000000 +0200
+++ new/Cookie-Baker-0.11/META.yml      2019-06-07 08:27:51.000000000 +0200
@@ -27,7 +27,7 @@
 provides:
   Cookie::Baker:
     file: lib/Cookie/Baker.pm
-    version: '0.10'
+    version: '0.11'
 requires:
   Exporter: '0'
   URI::Escape: '0'
@@ -36,11 +36,12 @@
   bugtracker: https://github.com/kazeburo/Cookie-Baker/issues
   homepage: https://github.com/kazeburo/Cookie-Baker
   repository: git://github.com/kazeburo/Cookie-Baker.git
-version: '0.10'
+version: '0.11'
 x_contributors:
   - 'David Romano <[email protected]>'
   - 'Ichinose Shogo <[email protected]>'
   - 'Olaf Alders <[email protected]>'
   - 'Shoichi Kaji <[email protected]>'
+  - 'kwry <[email protected]>'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
 x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cookie-Baker-0.10/README.md 
new/Cookie-Baker-0.11/README.md
--- old/Cookie-Baker-0.10/README.md     2018-09-21 09:40:25.000000000 +0200
+++ new/Cookie-Baker-0.11/README.md     2019-06-07 08:27:51.000000000 +0200
@@ -78,9 +78,9 @@
 
     - samesite
 
-        If defined as 'lax' or 'strict' (case-insensitive), sets the SameSite 
restriction for the cookie as described in the
+        If defined as 'lax' or 'strict' or 'none' (case-insensitive), sets the 
SameSite restriction for the cookie as described in the
         [draft 
proposal](https://tools.ietf.org/html/draft-west-first-party-cookies-07), which 
is already implemented in
-        Chrome (v51), Opera (v38) and Firefox (v60).
+        Chrome (v51), Safari (v12), Edge (v16),  Opera (v38) and Firefox (v60).
 
 - crush\_cookie
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cookie-Baker-0.10/lib/Cookie/Baker.pm 
new/Cookie-Baker-0.11/lib/Cookie/Baker.pm
--- old/Cookie-Baker-0.10/lib/Cookie/Baker.pm   2018-09-21 09:40:25.000000000 
+0200
+++ new/Cookie-Baker-0.11/lib/Cookie/Baker.pm   2019-06-07 08:27:51.000000000 
+0200
@@ -7,7 +7,7 @@
 use URI::Escape;
 
 BEGIN {
-    our $VERSION = "0.10";
+    our $VERSION = "0.11";
     our @EXPORT = qw/bake_cookie crush_cookie/;
     my $use_pp = $ENV{COOKIE_BAKER_PP};
     if (!$use_pp) {
@@ -39,7 +39,7 @@
     $cookie .= 'path='. $args{path} . '; '       if $args{path};
     $cookie .= 'expires=' . _date($args{expires}) . '; ' if exists 
$args{expires} && defined $args{expires};
     $cookie .= 'max-age=' . $args{"max-age"} . '; ' if exists $args{"max-age"};
-    if (exists $args{samesite} && $args{samesite} =~ m/^(?:lax|strict)/i) {
+    if (exists $args{samesite} && $args{samesite} =~ m/^(?:lax|strict|none)/i) 
{
         $cookie .= 'SameSite=' . ucfirst(lc($args{samesite})) . '; '
     }
     $cookie .= 'secure; '                     if $args{secure};
@@ -200,9 +200,9 @@
 
 =item samesite
 
-If defined as 'lax' or 'strict' (case-insensitive), sets the SameSite 
restriction for the cookie as described in the
+If defined as 'lax' or 'strict' or 'none' (case-insensitive), sets the 
SameSite restriction for the cookie as described in the
 L<draft 
proposal|https://tools.ietf.org/html/draft-west-first-party-cookies-07>, which 
is already implemented in
-Chrome (v51), Opera (v38) and Firefox (v60).
+Chrome (v51), Safari (v12), Edge (v16),  Opera (v38) and Firefox (v60).
 
 =back
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cookie-Baker-0.10/t/01_bake.t 
new/Cookie-Baker-0.11/t/01_bake.t
--- old/Cookie-Baker-0.10/t/01_bake.t   2018-09-21 09:40:25.000000000 +0200
+++ new/Cookie-Baker-0.11/t/01_bake.t   2019-06-07 08:27:51.000000000 +0200
@@ -31,6 +31,7 @@
     [ 'foo', { value => 'val','max-age' => '0' }, 'foo=val; max-age=0'],
     [ 'foo', { value => 'val', samesite => 'lax' }, 'foo=val; SameSite=Lax'],
     [ 'foo', { value => 'val', samesite => 'strict' }, 'foo=val; 
SameSite=Strict'],
+    [ 'foo', { value => 'val', samesite => 'none' }, 'foo=val; SameSite=None'],
     [ 'foo', { value => 'val', samesite => 'invalid value' }, 'foo=val'],
 );
 


Reply via email to