From: Jonathan Yu Date: Sat, 27 Feb 2010 00:28:31 +0000 (+0000) Subject: fix a bunch of spelling errors, and add whatis entries (these are applying patches... X-Git-Tag: v0.11008~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10f704905fedd15d897e8deb6911b6d47b707df1;p=dbsrgits%2FSQL-Translator.git fix a bunch of spelling errors, and add whatis entries (these are applying patches from Debian) --- diff --git a/lib/SQL/Translator/Diff.pm b/lib/SQL/Translator/Diff.pm index 4c9ea77..8e14459 100644 --- a/lib/SQL/Translator/Diff.pm +++ b/lib/SQL/Translator/Diff.pm @@ -424,7 +424,7 @@ __END__ =head1 NAME -SQL::Translator::Diff +SQL::Translator::Diff - determine differences between two schemas =head1 DESCRIPTION diff --git a/lib/SQL/Translator/Filter/Names.pm b/lib/SQL/Translator/Filter/Names.pm index afa0f1f..113d093 100644 --- a/lib/SQL/Translator/Filter/Names.pm +++ b/lib/SQL/Translator/Filter/Names.pm @@ -125,7 +125,7 @@ L, L =item Name Groups -Define a bunch of usefull groups to run the name filters over. e.g. all, fkeys, +Define a bunch of useful groups to run the name filters over. e.g. all, fkeys, pkeys etc. =item More Functions diff --git a/lib/SQL/Translator/Manual.pod b/lib/SQL/Translator/Manual.pod index 4774437..78df6e0 100644 --- a/lib/SQL/Translator/Manual.pod +++ b/lib/SQL/Translator/Manual.pod @@ -1,6 +1,6 @@ =head1 NAME -SQL::Translator::Manual +SQL::Translator::Manual - sqlfairy user manual =head1 SYNOPSIS @@ -530,7 +530,7 @@ of reading the DATA section: $ sqlt -f YAML -t Custom-Foo --template foo.tt foo.yaml -This is usefull as you can set up a producer that adds a set of filters and +This is useful as you can set up a producer that adds a set of filters and variables that you can then use in templates given on the command line. (There is also a tt_schema method to over ride if you need even finer control over the source of your template). Note that if you leave out the DATA section all diff --git a/lib/SQL/Translator/Producer/MySQL.pm b/lib/SQL/Translator/Producer/MySQL.pm index a7ebb05..707abea 100644 --- a/lib/SQL/Translator/Producer/MySQL.pm +++ b/lib/SQL/Translator/Producer/MySQL.pm @@ -81,9 +81,9 @@ Set the type of the table e.g. 'InnoDB', 'MyISAM'. This will be automatically set for tables involved in foreign key constraints if it is not already set explicitly. See L<"Table Types">. -Please note that the C option is the prefered method of specifying +Please note that the C option is the preferred method of specifying the MySQL storage engine to use, but this method still works for backwards -compatability. +compatibility. =item B, B diff --git a/lib/SQL/Translator/Producer/XML/SQLFairy.pm b/lib/SQL/Translator/Producer/XML/SQLFairy.pm index 6e58924..553e044 100644 --- a/lib/SQL/Translator/Producer/XML/SQLFairy.pm +++ b/lib/SQL/Translator/Producer/XML/SQLFairy.pm @@ -53,12 +53,12 @@ the tag, except for sql, comments and action, which get mapped to child data elements. List valued attributes (such as the list of fields in an index) -get mapped to comma seperated lists of values in the attribute. +get mapped to comma separated lists of values in the attribute. Child objects, such as a tables fields, get mapped to child tags wrapped in a set of container tags using the plural of their contained classes name. -An objects's extra attribute (a hash of arbitary data) is +An objects' extra attribute (a hash of arbitrary data) is mapped to a tag called extra, with the hash of data as attributes, sorted into alphabetical order. diff --git a/lib/SQL/Translator/Schema/Constraint.pm b/lib/SQL/Translator/Schema/Constraint.pm index aa1f0ea..ee1ae1a 100644 --- a/lib/SQL/Translator/Schema/Constraint.pm +++ b/lib/SQL/Translator/Schema/Constraint.pm @@ -266,7 +266,7 @@ sub field_names { =head2 field_names Read-only method to return a list or array ref of the field names. Returns undef -or an empty list if the constraint has no fields set. Usefull if you want to +or an empty list if the constraint has no fields set. Useful if you want to avoid the overload magic of the Field objects returned by the fields method. my @names = $constraint->field_names; diff --git a/lib/SQL/Translator/Schema/Table.pm b/lib/SQL/Translator/Schema/Table.pm index 3e02c43..e17b236 100644 --- a/lib/SQL/Translator/Schema/Table.pm +++ b/lib/SQL/Translator/Schema/Table.pm @@ -900,7 +900,7 @@ sub field_names { =head2 field_names Read-only method to return a list or array ref of the field names. Returns undef -or an empty list if the table has no fields set. Usefull if you want to +or an empty list if the table has no fields set. Useful if you want to avoid the overload magic of the Field objects returned by the get_fields method. my @names = $constraint->field_names; diff --git a/lib/Test/SQL/Translator.pm b/lib/Test/SQL/Translator.pm index 4d0eab9..e69c5a2 100644 --- a/lib/Test/SQL/Translator.pm +++ b/lib/Test/SQL/Translator.pm @@ -557,7 +557,7 @@ tests based on their dependencies. The data structures given to the test subs don't have to include all the possible values, only the ones you expect to have changed. Any left out will be -tested to make sure they are still at their default value. This is a usefull +tested to make sure they are still at their default value. This is a useful check that you your parser hasn't accidentally set schema values you didn't expect it to.