Skip to content

Commit

Permalink
Bumps version to 0.06
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Feb 4, 2014
1 parent b682c6b commit 623dce2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
12 changes: 8 additions & 4 deletions README
Expand Up @@ -3,7 +3,7 @@ NAME
HTTP::Cookies

VERSION
version 0.05
version 0.06

SYNOPSIS
# Use the functional interface for quick read-only access
Expand Down Expand Up @@ -38,8 +38,8 @@ DESCRIPTION
This module was created because messing around with HTTP::Cookies is
non-trivial. HTTP::Cookies a very useful module, but using it is not
always as easy and clean as it could be. For instance, if you want to
find a particular cookie, you can just ask for it by name. Instead, you
have to use a callback:
find a particular cookie, you can't just ask for it by name. Instead,
you have to use a callback:

$cookie_jar->scan( \&callback )

Expand Down Expand Up @@ -87,7 +87,7 @@ DESCRIPTION

This gives you fast access to a cookie without a callback, iterating
over a list etc. It's good for quick hacks and you can dump the cookie
quite easily to inspect it's contents in a highly readable way:
quite easily to inspect its contents in a highly readable way:

use Data::Printer;
p $cookie;
Expand Down Expand Up @@ -158,6 +158,10 @@ DESCRIPTION

$monster->set_cookie( $cookie );

delete_cookie( $cookie )
Deletes a cookie and updates the cookie jar. Requires a
HTTP::CookieMonster::Cookie object.

get_cookie( $name )
Be aware that this method may surprise you by what it returns. When
called in scalar context, get_cookie() returns the first cookie which
Expand Down
7 changes: 6 additions & 1 deletion dist.ini
Expand Up @@ -3,7 +3,7 @@ author = Olaf Alders <olaf@wundercounter.com>
license = Perl_5
copyright_holder = Olaf Alders
copyright_year = 2012
version = 0.05
version = 0.06

[GatherDir]
[PruneCruft]
Expand All @@ -18,6 +18,9 @@ version = 0.05
[MakeMaker]
[Manifest]

[NextRelease]
format = %-1v %{yyyy-MM-dd HH:mm:ss VVVV}d

[TestRelease]
[ConfirmRelease]
[UploadToCPAN]
Expand All @@ -41,3 +44,5 @@ module = http://prepan.org/module/429En4oFdi
[ModuleBuild]
[PodWeaver]
[CopyReadmeFromBuild]

[@Git]
2 changes: 1 addition & 1 deletion t/load.t
Expand Up @@ -13,7 +13,7 @@ my $serializer = Data::Serializer->new;
my $jar = $serializer->retrieve( 't/cookie_jar.txt' );

my $obj = HTTP::CookieMonster->new( cookie_jar => $jar );
ok ( $obj, "can create object with 2 args" );
ok( $obj, "can create object with 2 args" );

my $monster = HTTP::CookieMonster->new( $jar );
ok( $monster, "got a monster" );
Expand Down
1 change: 0 additions & 1 deletion t/procedural.t
Expand Up @@ -5,7 +5,6 @@ use warnings;

use Test::Most;

use Data::Printer;
use Data::Serializer;
use HTTP::CookieMonster qw( cookies );

Expand Down

0 comments on commit 623dce2

Please sign in to comment.