Skip to content

Commit 2940f40

Browse files
committed
v6.08
- allow different "ignore_discard" value at save() time (GH#2) (Alex Peters)
1 parent bae4e4f commit 2940f40

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Revision history for HTTP-Cookies. The HTTP::Cookies module used to be bundled
22
with the libwww-perl distribution.
33

4-
{{$NEXT}}
4+
6.08 2019-12-02 15:58:32Z
55
- allow different "ignore_discard" value at save() time (GH#2) (Alex Peters)
66

77
6.07 2019-11-15 18:11:42Z

META.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"web" : "https://github.com/libwww-perl/HTTP-Cookies"
7878
}
7979
},
80-
"version" : "6.07",
80+
"version" : "6.08",
8181
"x_Dist_Zilla" : {
8282
"perl" : {
8383
"version" : "5.030000"
@@ -473,7 +473,7 @@
473473
"changelog" : "Changes"
474474
},
475475
"Dist::Zilla::Role::Git::Repo" : {
476-
"git_version" : "2.23.0",
476+
"git_version" : "2.24.0",
477477
"repo_root" : "."
478478
}
479479
},
@@ -484,7 +484,7 @@
484484
"class" : "Dist::Zilla::Plugin::Git::Contributors",
485485
"config" : {
486486
"Dist::Zilla::Plugin::Git::Contributors" : {
487-
"git_version" : "2.23.0",
487+
"git_version" : "2.24.0",
488488
"include_authors" : 0,
489489
"include_releaser" : 1,
490490
"order_by" : "name",
@@ -597,7 +597,7 @@
597597
"changelog" : "Changes"
598598
},
599599
"Dist::Zilla::Role::Git::Repo" : {
600-
"git_version" : "2.23.0",
600+
"git_version" : "2.24.0",
601601
"repo_root" : "."
602602
},
603603
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -614,12 +614,12 @@
614614
"branch" : null,
615615
"changelog" : "Changes",
616616
"signed" : 0,
617-
"tag" : "v6.07",
617+
"tag" : "v6.08",
618618
"tag_format" : "v%V",
619619
"tag_message" : "v%V"
620620
},
621621
"Dist::Zilla::Role::Git::Repo" : {
622-
"git_version" : "2.23.0",
622+
"git_version" : "2.24.0",
623623
"repo_root" : "."
624624
},
625625
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -669,7 +669,7 @@
669669
"changelog" : "Changes"
670670
},
671671
"Dist::Zilla::Role::Git::Repo" : {
672-
"git_version" : "2.23.0",
672+
"git_version" : "2.24.0",
673673
"repo_root" : "."
674674
},
675675
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -689,7 +689,7 @@
689689
"remotes_must_exist" : 1
690690
},
691691
"Dist::Zilla::Role::Git::Repo" : {
692-
"git_version" : "2.23.0",
692+
"git_version" : "2.24.0",
693693
"repo_root" : "."
694694
}
695695
},

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ HTTP::Cookies - HTTP cookie jars
66

77
# VERSION
88

9-
version 6.07
9+
version 6.08
1010

1111
# SYNOPSIS
1212

@@ -119,12 +119,14 @@ The following methods are provided:
119119

120120
- $cookie\_jar->save
121121
- $cookie\_jar->save( $file )
122+
- $cookie\_jar->save( file => $file, ignore\_discard => $ignore\_discard )
122123

123124
This method file saves the state of the $cookie\_jar to a file.
124125
The state can then be restored later using the load() method. If a
125126
filename is not specified we will use the name specified during
126-
construction. If the attribute _ignore\_discard_ is set, then we
127-
will even save cookies that are marked to be discarded.
127+
construction. If the $ignore\_discard value is true (or not specified,
128+
but attribute _ignore\_discard_ was set at cookie jar construction),
129+
then we will even save cookies that are marked to be discarded.
128130

129131
The default is to save a sequence of "Set-Cookie3" lines.
130132
"Set-Cookie3" is a proprietary LWP format, not known to be compatible

0 commit comments

Comments
 (0)