diff options
author | franck cuny <franck@lumberjaph.net> | 2010-11-02 15:38:27 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-11-02 15:38:27 +0100 |
commit | 8ef109e820ffeb31b158ec6f400eccc10fe208bb (patch) | |
tree | 0c127bf32be92a638c2bd20cacabaf2e552d9216 | |
parent | resolved merge conflict (diff) | |
download | net-riak-8ef109e820ffeb31b158ec6f400eccc10fe208bb.tar.gz |
prepare to release
Diffstat (limited to '')
-rw-r--r-- | Changes | 7 | ||||
-rw-r--r-- | dist.ini | 2 | ||||
-rw-r--r-- | lib/Net/Riak/Client.pm | 4 | ||||
-rw-r--r-- | lib/Net/Riak/MapReduce.pm | 4 |
4 files changed, 12 insertions, 5 deletions
diff --git a/Changes b/Changes index 44d3932..274be1c 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,10 @@ +0.10 Tue 02 Nov 2010 03:34:16 PM CET + - add support of array arguments in Net::Riak::MapReduce->add() (Germain Maurice) + - add 204 to Object::store expected status codes (Gavin Carr) + - refactor build link logic (Ben Hengst) + - requests and responses now stored for debugging (Robin Edwards) + - documentation updated (Robin Edwards) + 0.09 Tue 05 Oct 2010 12:03:59 PM CEST - typo - when executing a map/reduce, if the timeout of the map/reduce is higher diff --git a/dist.ini b/dist.ini index 4ad89c0..79c8e21 100644 --- a/dist.ini +++ b/dist.ini @@ -3,7 +3,7 @@ author = franck cuny <franck@lumberjaph.net> license = Perl_5 copyright_holder = linkfluence copyright_year = 2010 -version = 0.09 +version = 0.10 [@Filter] bundle = @Basic diff --git a/lib/Net/Riak/Client.pm b/lib/Net/Riak/Client.pm index e76a0ef..dbe3c16 100644 --- a/lib/Net/Riak/Client.pm +++ b/lib/Net/Riak/Client.pm @@ -30,13 +30,13 @@ has client_id => ( has http_request => ( is => 'rw', isa => 'HTTP::Request', -); +); has http_response => ( is => 'rw', isa => 'HTTP::Response', handles => ['is_success'] -); +); with 'Net::Riak::Role::UserAgent'; with qw/ diff --git a/lib/Net/Riak/MapReduce.pm b/lib/Net/Riak/MapReduce.pm index 14e4007..8ebe563 100644 --- a/lib/Net/Riak/MapReduce.pm +++ b/lib/Net/Riak/MapReduce.pm @@ -54,7 +54,7 @@ sub add { }while(my $arg = shift @_); return $self; } - + if (!scalar @_) { if (blessed($arg)) { $self->add_object($arg); @@ -212,7 +212,7 @@ sub run { my $query = $riak->add("Cats"); $query->map( - 'function(v, d, a) { return [v]; }', + 'function(v, d, a) { return [v]; }', arg => [qw/some params to your function/] ); |