Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.04.
Browse files Browse the repository at this point in the history
Changelog diff is:
  • Loading branch information
kentaro committed Nov 4, 2011
1 parent b11fd42 commit 73e465a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.mkdn
Expand Up @@ -48,16 +48,16 @@ default value support
$memd->set($key, $value);

my $cached_value = $memd->get($key);
is_deeply $cached_value->param('foo'), 'foo';
is_deeply $cached_value->param('bar'), 'bar';
is $cached_value->param('foo'), 'foo';
is $cached_value->param('bar'), 'bar';
is_deeply $cached_value->to_hash, +{ f => 'foo' };

$cached_value->param(bar => 'baz');
$memd->set($key, $cached_value->to_hash);

$cached_value = $memd->get($key);
is_deeply $cached_value->param('foo'), 'foo';
is_deeply $cached_value->param('bar'), 'baz';
is $cached_value->param('foo'), 'foo';
is $cached_value->param('bar'), 'baz';
is_deeply $cached_value->to_hash, +{ f => 'foo', b => 'baz' };

done_testing;
Expand Down
2 changes: 1 addition & 1 deletion lib/Hash/Compact.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
use Carp qw(croak);
use Scalar::Util qw(blessed);

our $VERSION = '0.03';
our $VERSION = '0.04';

sub new {
my $class = shift;
Expand Down

0 comments on commit 73e465a

Please sign in to comment.