diff --git a/CHANGELOG.md b/CHANGELOG.md index 123646a4..7e52ab1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ deprecation policy. see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) for release instructions -## 1.14.0 (unreleased) +## 1.14.0 (2024-Apr-15) - fix(path): make `path.expanduser` more sturdy [#469](https://github.com/lunarmodules/Penlight/pull/469) - feat(func): extend `compose` to support N functions @@ -17,6 +17,8 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo [#452](https://github.com/lunarmodules/Penlight/pull/452) - enhance(template): Preserve line numbers [#468](https://github.com/lunarmodules/Penlight/pull/468) + - fix(pretty) integers for Lua 5.4 + [#456](https://github.com/lunarmodules/Penlight/pull/456) ## 1.13.1 (2022-Jul-22) - fix: `warn` unquoted argument diff --git a/config.ld b/config.ld index d3e78e70..0c901e88 100644 --- a/config.ld +++ b/config.ld @@ -1,5 +1,5 @@ project = 'Penlight' -description = 'Penlight Lua Libraries 1.13.1' +description = 'Penlight Lua Libraries 1.14.0' full_description = 'Penlight is a set of pure Lua libraries for making it easier to work with common tasks like iterating over directories, reading configuration files and the like. Provides functional operations on tables and sequences. Visit the GitHub project to review the code or file issues. Skip to the @{01-introduction.md|introduction}.' title = 'Penlight Documentation' dir = 'docs' diff --git a/lua/pl/utils.lua b/lua/pl/utils.lua index 4b21251a..7c641035 100644 --- a/lua/pl/utils.lua +++ b/lua/pl/utils.lua @@ -23,7 +23,7 @@ local operators local _function_factories = {} -local utils = { _VERSION = "1.13.1" } +local utils = { _VERSION = "1.14.0" } for k, v in pairs(compat) do utils[k] = v end --- Some standard patterns diff --git a/rockspecs/penlight-1.14.0-1.rockspec b/rockspecs/penlight-1.14.0-1.rockspec new file mode 100644 index 00000000..b00255f8 --- /dev/null +++ b/rockspecs/penlight-1.14.0-1.rockspec @@ -0,0 +1,89 @@ +local package_name = "penlight" +local package_version = "1.14.0" +local rockspec_revision = "1" +local github_account_name = "lunarmodules" +local github_repo_name = package_name +local git_checkout = package_version == "dev" and "master" or package_version + + +rockspec_format = "3.0" +package = package_name +version = package_version .. "-" .. rockspec_revision + +source = { + url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", + branch = git_checkout +} + +description = { + summary = "Lua utility libraries loosely based on the Python standard libraries", + detailed = [[ + Penlight is a set of pure Lua libraries focusing on input data handling + (such as reading configuration files), functional programming + (such as map, reduce, placeholder expressions,etc), and OS path management. + Much of the functionality is inspired by the Python standard libraries. + ]], + license = "MIT/X11", + homepage = "https://"..github_account_name..".github.io/"..github_repo_name, + issues_url = "https://github.com/"..github_account_name.."/"..github_repo_name.."/issues", + maintainer = "thijs@thijsschreijer.nl", +} + +dependencies = { + "lua >= 5.1", + "luafilesystem" +} + +test_dependencies = { + "busted", +} + +test = { + type = "busted", +} + +build = { + type = "builtin", + modules = { + ["pl"] = "lua/pl/init.lua", + ["pl.strict"] = "lua/pl/strict.lua", + ["pl.dir"] = "lua/pl/dir.lua", + ["pl.operator"] = "lua/pl/operator.lua", + ["pl.input"] = "lua/pl/input.lua", + ["pl.config"] = "lua/pl/config.lua", + ["pl.seq"] = "lua/pl/seq.lua", + ["pl.stringio"] = "lua/pl/stringio.lua", + ["pl.text"] = "lua/pl/text.lua", + ["pl.test"] = "lua/pl/test.lua", + ["pl.tablex"] = "lua/pl/tablex.lua", + ["pl.app"] = "lua/pl/app.lua", + ["pl.stringx"] = "lua/pl/stringx.lua", + ["pl.lexer"] = "lua/pl/lexer.lua", + ["pl.utils"] = "lua/pl/utils.lua", + ["pl.compat"] = "lua/pl/compat.lua", + ["pl.sip"] = "lua/pl/sip.lua", + ["pl.permute"] = "lua/pl/permute.lua", + ["pl.pretty"] = "lua/pl/pretty.lua", + ["pl.class"] = "lua/pl/class.lua", + ["pl.List"] = "lua/pl/List.lua", + ["pl.data"] = "lua/pl/data.lua", + ["pl.Date"] = "lua/pl/Date.lua", + ["pl.luabalanced"] = "lua/pl/luabalanced.lua", + ["pl.comprehension"] = "lua/pl/comprehension.lua", + ["pl.path"] = "lua/pl/path.lua", + ["pl.array2d"] = "lua/pl/array2d.lua", + ["pl.func"] = "lua/pl/func.lua", + ["pl.lapp"] = "lua/pl/lapp.lua", + ["pl.file"] = "lua/pl/file.lua", + ['pl.template'] = "lua/pl/template.lua", + ["pl.Map"] = "lua/pl/Map.lua", + ["pl.MultiMap"] = "lua/pl/MultiMap.lua", + ["pl.OrderedMap"] = "lua/pl/OrderedMap.lua", + ["pl.Set"] = "lua/pl/Set.lua", + ["pl.xml"] = "lua/pl/xml.lua", + ["pl.url"] = "lua/pl/url.lua", + ["pl.types"] = "lua/pl/types.lua", + ["pl.import_into"] = "lua/pl/import_into.lua" + }, + copy_directories = {"docs", "tests"} +}