Skip to content

Commit

Permalink
fixing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
njlg committed Jul 1, 2016
1 parent 0f8c7fc commit 1ed1063
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions lib/Rethinkdb.pm
Original file line number Diff line number Diff line change
Expand Up @@ -944,10 +944,10 @@ The server command returns either two or three fields:
=item C<id>: the UUID of the server the client is connected to.
=item C<proxy>: a boolean indicating whether the server is a L<RethinkDB proxy node!http://rethinkdb.com/docs/sharding-and-replication/#running-a-proxy-node>.
=item C<proxy>: a boolean indicating whether the server is a L<RethinkDB proxy node|http://rethinkdb.com/docs/sharding-and-replication/#running-a-proxy-node>.
=item C<name>: the server name. If proxy is C<r->true>, this field will not be
returned.
=item C<name>: the server name. If proxy is C<< r->true >>, this field will not
be returned.
=back
Expand Down Expand Up @@ -1471,11 +1471,11 @@ Nathan Levin-Greenhaw, C<njlg@cpan.org>.
Unless otherwise noted:
Copyright (C) 2013-2014, Nathan Levin-Greenhaw
Copyright (C) 2013-2016, Nathan Levin-Greenhaw
A lot of the above documentation above was taken from the
L<official documentation|http://rethinkdb.com/api/>.
Copyright (C) 2010-2014 RethinkDB.
Copyright (C) 2010-2016 RethinkDB.
This program is free software, you can redistribute it and/or modify it under
the terms of the Artistic License version 2.0.
Expand Down
6 changes: 3 additions & 3 deletions lib/Rethinkdb/IO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,10 @@ The server command returns either two or three fields:
=item C<id>: the UUID of the server the client is connected to.
=item C<proxy>: a boolean indicating whether the server is a L<RethinkDB proxy node!http://rethinkdb.com/docs/sharding-and-replication/#running-a-proxy-node>.
=item C<proxy>: a boolean indicating whether the server is a L<RethinkDB proxy node|http://rethinkdb.com/docs/sharding-and-replication/#running-a-proxy-node>.
=item C<name>: the server name. If proxy is C<r->true>, this field will not be
returned.
=item C<name>: the server name. If proxy is C<< r->true >>, this field will not
be returned.
=back
Expand Down
2 changes: 1 addition & 1 deletion lib/Rethinkdb/Query.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ Return an array containing all of the object's keys.
r->table('marvel')->get('ironman')->values->run;
Return an array containing all of an objects values. C<values> guarantees the
Return an array containing all of an object's values. C<values> guarantees the
values will come out in the same order as L<keys>.
=head2 match
Expand Down
4 changes: 2 additions & 2 deletions lib/Rethinkdb/Query/Database.pm
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ List all table names in a database. The result is a list of strings.
=head2 grant
r->db('test')->grant( 'username', { read => r->true, write => r->false } )
->run;
r->db('test')
->grant( 'username', { read => r->true, write => r->false } )->run;
Grant or deny access permissions for a user account on a database.
Expand Down
4 changes: 2 additions & 2 deletions lib/Rethinkdb/Query/Table.pm
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ distance of the specified point (default 100 kilometers).
=head2 grant
r->table('marvel')->grant( 'username', { read => r->true, write => r->false } )
->run;
r->table('marvel')
->grant( 'username', { read => r->true, write => r->false } )->run;
Grant or deny access permissions for a user account on a table.
Expand Down
2 changes: 1 addition & 1 deletion t/document.t
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ is_deeply $res->response,
],
'Correct keys';

# Return an array containing all of an objects values. values() guarantees
# Return an array containing all of an object's values. values() guarantees
# the values will come out in the same order as keys.
$res = r->table('marvel')->get('Iron Man')->values->run;

Expand Down

0 comments on commit 1ed1063

Please sign in to comment.