summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-11-02 15:38:27 +0100
committerfranck cuny <franck@lumberjaph.net>2010-11-02 15:38:27 +0100
commit8ef109e820ffeb31b158ec6f400eccc10fe208bb (patch)
tree0c127bf32be92a638c2bd20cacabaf2e552d9216 /lib
parentresolved merge conflict (diff)
downloadnet-riak-8ef109e820ffeb31b158ec6f400eccc10fe208bb.tar.gz
prepare to release
Diffstat (limited to 'lib')
-rw-r--r--lib/Net/Riak/Client.pm4
-rw-r--r--lib/Net/Riak/MapReduce.pm4
2 files changed, 4 insertions, 4 deletions
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/]
);