Release history for perl-Dist-Zilla-Role-TextTemplater
0.006 @ 2015-08-13 18:44 UTC
- Special care about `Text::Template` "compilation errors". There are two such errors:
Unmatched close brace at line N
End of data inside program text that began at line N
These error messages rewritten to:
Unmatched closing delimiter at FILENAME line N
Unmatched opening delimiter at FILENAME line N
Error messages accompanied with error lines in context, like other errors.
- `fill_in_file` method: added support for `Path::Tiny`, `Path::Class::File`,
non-`MutableFile`s, and plain string, which treated as file name.
- `ReadMe.pod` dropped.
- Added 4 examples.
0.005 @ 2015-08-12 08:18 UTC
- Tests explicitly require `Moose` v2.0800. Older `Moose` may cause test failure.
0.004 @ 2015-08-06 16:14 UTC
- `fill_in_file` method introduced.
- `fill_in_string` reworked to workaround the bug in `Text::Template` (see "FILENAME
parameter has no effect" <https://rt.cpan.org/Ticket/Display.html?id=106093>).
- Error reporting improved. Now error message includes only focus lines (a line where problem
code fragment begins and line where fragment died), and two lines of context below and
above focus lines. Error message also includes file name, if any.
- Warning object stringified.
0.003 @ 2015-07-22 12:56 UTC
- `BUILDARG` class method eliminated. It works bad in `MetaResources::Template`. `delimiters`
option now is split by trigger the attribute.
- `delimiters` option checking added. It must include two whitespace-separated words.
0.002 @ 2015-07-18 18:38 UTC
- `delimiters` option implemented.
- Documentation improved.
- Version 0.005 of the `ErrorLogger` role is explicitly requested. It should fix test
failures on few platforms.
0.001 @ 2015-07-14 21:52 UTC
- `fill_in_string` method is implemented.
- `package` and `prepend` options are implemented.
- Documentation is in place.
- Tests are in place too.