f02b979a83
Commits between 1.5.2 and 1.5.4: * change compat.execute to behave similarly on Lua 5.1 and Lua > 5.1. * Issue #246: bad/misleading code in examples * Issue #245 document 'optional' * split the templating engine in a compile and render step backward compatible. Minor caveat is that it introduces 2 local variables in the template, but chances of name collissions are very low. Additionally: reduced the string concatenation. Only one concat call is left. * Merge pull request #249 from Tieske/feat/reuse-template split the templating engine in a compile and render step * updated template module - added the newline option (for single line output) - merged test files: test-template and test-substitute - changed compile signature to take a table of options - improved error reporting: syntax errors report error + code * Fix global success variable in lapp. * Added more tests for seq.last * Minor refactor of seq.last and fixes corner case of an empty source stream as outlined in issue #252. * Added tests for List.put, remove, len, clear and contains. * Added tests for List.split. * Added tests for List.partition. * Added missing tests for List.range, reduce and foreach. * feat(template): handle special case of a constant string A common scenario is an 'option' for templates, where most of the use is without it. This change optimizes the render function in case of constant strings * Fix error in 'pl.lapp.process_options_string' Fix error "attempt to concatenate a nil value (local 'vtype')" by checking making sure vtype is not nil. * Merge pull request #250 from Tieske/feat/improve-template feat(template) newline option, better error reporting, cleanup * Merge pull request #255 from doronbehar/patch-1 Fix error in 'pl.lapp.process_options_string' * bump version to 1.5.3 * Merge pull request #244 from bungle/master change compat.execute to behave similarly on Lua 5.1 and Lua > 5.1. * Merge pull request #251 from IoriBranford/master Fix global success variable in lapp process_default. * Merge pull request #254 from greatwolf/list_coverage List coverage
6 lines
462 B
Text
6 lines
462 B
Text
$NetBSD: distinfo,v 1.10 2017/09/10 15:25:14 alnsn Exp $
|
|
|
|
SHA1 (lua-penlight/penlight-1.5.4.tar.gz) = 39f825c5e98b10f60a2722eb20b1de68125fa898
|
|
RMD160 (lua-penlight/penlight-1.5.4.tar.gz) = aa2240706c7b4d80ff842d7dcc55bf9ae50af3a8
|
|
SHA512 (lua-penlight/penlight-1.5.4.tar.gz) = c46e7875410a90390bfbf010a53f1d536475e2094668722618d03951caad0fcb0674c9bc7119a0753e4ed3df9e4d70fef828ba4c6c24e8ada4036948d2432519
|
|
Size (lua-penlight/penlight-1.5.4.tar.gz) = 213938 bytes
|