Skip Menu |

This queue is for tickets about the YAML-Tiny CPAN distribution.

Report information
The Basics
Id: 59091
Status: resolved
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: lightsey [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Spelling errors in documentation
There are several spelling errors in Tiny.pm and the matching README documentation. Debian's lintian tool pointed these out while I was packaging the 1.42 release.
Subject: necessary_typos.patch
--- a/README +++ b/README @@ -74,13 +74,13 @@ average manager or secretary should be able to look at and make sense of. - YAML::Tiny does not generate comments, it won't necesarily preserve the - order of your hashes, and it will normalise if reading in and writing + YAML::Tiny does not generate comments, it won't necessarily preserve the + order of your hashes, and it will normalize if reading in and writing out again. It only supports a very basic subset of the full YAML specification. - Usage is targetted at files like Perl's META.yml, for which a small and + Usage is targeted at files like Perl's META.yml, for which a small and easily-embeddable module is extremely attractive. Features will only be added if they are human readable, and can be @@ -113,8 +113,8 @@ structure dumps. Many specification elements that add flexibility or extensibility are - intentionally removed, as is support for complex datastructures, class - and object-orientation. + intentionally removed, as is support for complex data structures, + classes and object-orientation. In general, YAML Tiny targets only those data structures available in JSON, with the additional limitation that only simple keys are @@ -122,7 +122,7 @@ As a result, all possible YAML Tiny documents should be able to be transformed into an equivalent JSON document, although the reverse is - not necesarily true (but will be true in simple cases). + not necessarily true (but will be true in simple cases). As a result of these simplifications the YAML Tiny specification should be implementable in a relatively small amount of code in any language @@ -194,7 +194,7 @@ YAML Tiny parsers and emitters are not expected to recover from adapt to errors. The specific error modality of any implementation is not dictated (return codes, exceptions, etc) but is expected to be - consistant. + consistent. 4. Syntax Character Set @@ -294,7 +294,7 @@ Comments work as per the YAML specification in all simple cases. Support for indented multi-line comments is not required. - Seperation spaces work as per the YAML specification in all cases. + Separation spaces work as per the YAML specification in all cases. YAML Tiny Character Stream @@ -327,7 +327,7 @@ Support for the document boundary market "..." is not required. - If necesary, a document boundary should simply by indicated with a "---" + If necessary, a document boundary should simply by indicated with a "---" marker, with not preceding "..." marker. Support for empty streams (containing no documents) is required. @@ -444,7 +444,7 @@ Turn Perl data into YAML. This function works very much like Data::Dumper::Dumper(). - It takes a list of Perl data strucures and dumps them into a serialized + It takes a list of Perl data structures and dumps them into a serialized form. It returns a string containing the YAML stream. --- a/lib/YAML/Tiny.pm +++ b/lib/YAML/Tiny.pm @@ -700,13 +700,13 @@ your average manager or secretary should be able to look at and make sense of. -L<YAML::Tiny> does not generate comments, it won't necesarily preserve the -order of your hashes, and it will normalise if reading in and writing out +L<YAML::Tiny> does not generate comments, it won't necessarily preserve the +order of your hashes, and it will normalize if reading in and writing out again. It only supports a very basic subset of the full YAML specification. -Usage is targetted at files like Perl's META.yml, for which a small and +Usage is targeted at files like Perl's META.yml, for which a small and easily-embeddable module is extremely attractive. Features will only be added if they are human readable, and can be written @@ -738,15 +738,15 @@ uses such as configuration files and simple data structure dumps. Many specification elements that add flexibility or extensibility are -intentionally removed, as is support for complex datastructures, class -and object-orientation. +intentionally removed, as is support for complex data structures, +classes and object-orientation. In general, YAML Tiny targets only those data structures available in JSON, with the additional limitation that only simple keys are supported. As a result, all possible YAML Tiny documents should be able to be transformed into an equivalent JSON document, although the reverse is -not necesarily true (but will be true in simple cases). +not necessarily true (but will be true in simple cases). As a result of these simplifications the YAML Tiny specification should be implementable in a relatively small amount of code in any language @@ -817,7 +817,7 @@ YAML Tiny parsers and emitters are not expected to recover from adapt to errors. The specific error modality of any implementation is not dictated -(return codes, exceptions, etc) but is expected to be consistant. +(return codes, exceptions, etc) but is expected to be consistent. =head2 4. Syntax @@ -918,7 +918,7 @@ Comments work as per the YAML specification in all simple cases. Support for indented multi-line comments is B<not> required. -Seperation spaces work as per the YAML specification in all cases. +Separation spaces work as per the YAML specification in all cases. B<YAML Tiny Character Stream> @@ -951,7 +951,7 @@ Support for the document boundary market "..." is B<not> required. -If necesary, a document boundary should simply by indicated with a +If necessary, a document boundary should simply by indicated with a "---" marker, with not preceding "..." marker. Support for empty streams (containing no documents) is required. @@ -1078,7 +1078,7 @@ Turn Perl data into YAML. This function works very much like Data::Dumper::Dumper(). -It takes a list of Perl data strucures and dumps them into a serialized form. +It takes a list of Perl data structures and dumps them into a serialized form. It returns a string containing the YAML stream.
all spelling errors are fixed.