diff --git a/lib/Rethinkdb.pm b/lib/Rethinkdb.pm index b09f5e9..f456efe 100644 --- a/lib/Rethinkdb.pm +++ b/lib/Rethinkdb.pm @@ -944,10 +944,10 @@ The server command returns either two or three fields: =item C: the UUID of the server the client is connected to. -=item C: a boolean indicating whether the server is a L. +=item C: a boolean indicating whether the server is a L. -=item C: the server name. If proxy is Ctrue>, this field will not be -returned. +=item C: the server name. If proxy is C<< r->true >>, this field will not +be returned. =back @@ -1471,11 +1471,11 @@ Nathan Levin-Greenhaw, C. 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. -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. diff --git a/lib/Rethinkdb/IO.pm b/lib/Rethinkdb/IO.pm index c44287f..d94f3d2 100644 --- a/lib/Rethinkdb/IO.pm +++ b/lib/Rethinkdb/IO.pm @@ -573,10 +573,10 @@ The server command returns either two or three fields: =item C: the UUID of the server the client is connected to. -=item C: a boolean indicating whether the server is a L. +=item C: a boolean indicating whether the server is a L. -=item C: the server name. If proxy is Ctrue>, this field will not be -returned. +=item C: the server name. If proxy is C<< r->true >>, this field will not +be returned. =back diff --git a/lib/Rethinkdb/Query.pm b/lib/Rethinkdb/Query.pm index ebbc48e..d8ab8ed 100644 --- a/lib/Rethinkdb/Query.pm +++ b/lib/Rethinkdb/Query.pm @@ -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 object’s values. C guarantees the +Return an array containing all of an object's values. C guarantees the values will come out in the same order as L. =head2 match diff --git a/lib/Rethinkdb/Query/Database.pm b/lib/Rethinkdb/Query/Database.pm index ebe9352..f8bea0e 100644 --- a/lib/Rethinkdb/Query/Database.pm +++ b/lib/Rethinkdb/Query/Database.pm @@ -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. diff --git a/lib/Rethinkdb/Query/Table.pm b/lib/Rethinkdb/Query/Table.pm index 17556f8..206a149 100644 --- a/lib/Rethinkdb/Query/Table.pm +++ b/lib/Rethinkdb/Query/Table.pm @@ -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. diff --git a/t/document.t b/t/document.t index 02e6a79..6f33ca4 100644 --- a/t/document.t +++ b/t/document.t @@ -371,7 +371,7 @@ is_deeply $res->response, ], 'Correct keys'; -# Return an array containing all of an object’s 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;