Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2022-01-10 16:23:31 +0300
committerThijs Schreijer <thijs@thijsschreijer.nl>2022-01-10 16:26:13 +0300
commit5a4bb4962fe11631817b26ba87fcaa633fdaaddf (patch)
treed365bfb754d8c06e7f96a32709e2692700f69efd
parenta2fa921d0924d71a96eb9404639c54ebcb1b00b2 (diff)
release 1.12.0
-rw-r--r--CHANGELOG.md18
-rw-r--r--config.ld2
-rw-r--r--lua/pl/utils.lua2
-rw-r--r--rockspecs/penlight-1.12.0-1.rockspec78
4 files changed, 89 insertions, 11 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c2cb7e..585afb0 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.12.0 (unreleased)
+## 1.12.0 (2022-Jan-10)
- deprecate: module `pl.text` the contents have moved to `pl.stringx` (removal later)
[#407](https://github.com/lunarmodules/Penlight/pull/407)
- deprecate: module `pl.xml`, please switch to a more specialized library (removal later)
@@ -57,7 +57,7 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo
[#397](https://github.com/lunarmodules/Penlight/pull/397)
-## 1.11.0 (2021-08-18)
+## 1.11.0 (2021-Aug-18)
- fix: `stringx.strip` behaved badly with string lengths > 200
[#382](https://github.com/lunarmodules/Penlight/pull/382)
@@ -67,7 +67,7 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo
stack-trace [#385](https://github.com/lunarmodules/Penlight/pull/385)
-## 1.10.0 (2021-04-27)
+## 1.10.0 (2021-Apr-27)
- deprecate: `permute.iter`, renamed to `permute.order_iter` (removal later)
[#360](https://github.com/lunarmodules/Penlight/pull/360)
@@ -115,24 +115,24 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo
- feat: `array2d.rows` added to be in line with `columns`
-## 1.9.2 (2020-09-27)
+## 1.9.2 (2020-Sep-27)
- fix: dir.walk [#350](https://github.com/lunarmodules/Penlight/pull/350)
-## 1.9.1 (2020-09-24)
+## 1.9.1 (2020-Sep-24)
- released to superseed the 1.9.0 version which was retagged in git after some
distro's already had picked it up. This version is identical to 1.8.1.
-## 1.8.1 (2020-09-24) (replacing a briefly released but broken 1.9.0 version)
+## 1.8.1 (2020-Sep-24) (replacing a briefly released but broken 1.9.0 version)
## Fixes
- In `pl.class`, `_init` can now be inherited from grandparent (or older ancestor) classes. [#289](https://github.com/lunarmodules/Penlight/pull/289)
- Fixes `dir`, `lexer`, and `permute` to no longer use coroutines. [#344](https://github.com/lunarmodules/Penlight/pull/344)
-## 1.8.0 (2020-08-05)
+## 1.8.0 (2020-Aug-05)
### New features
@@ -162,7 +162,7 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo
- Fix: the lexer would not recognize numbers without leading zero; "-.123".
See [#315](https://github.com/lunarmodules/Penlight/issues/315)
-## 1.7.0 (2019-10-14)
+## 1.7.0 (2019-Oct-14)
### New features
@@ -197,7 +197,7 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo
- added a missing assertion on `path.getmtime` [#291](https://github.com/lunarmodules/Penlight/pull/291)
- `stringx.rpartition` returned bad results on a not-found [#299](https://github.com/lunarmodules/Penlight/pull/299)
-## 1.6.0 (2018-11-23)
+## 1.6.0 (2018-Nov-23)
### New features
diff --git a/config.ld b/config.ld
index 07c4772..cb0623a 100644
--- a/config.ld
+++ b/config.ld
@@ -1,5 +1,5 @@
project = 'Penlight'
-description = 'Penlight Lua Libraries 1.11.0'
+description = 'Penlight Lua Libraries 1.12.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 <a href="https://github.com/lunarmodules/Penlight">GitHub project</a> 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 d2b770a..1cb8a64 100644
--- a/lua/pl/utils.lua
+++ b/lua/pl/utils.lua
@@ -21,7 +21,7 @@ local operators
local _function_factories = {}
-local utils = { _VERSION = "1.11.0" }
+local utils = { _VERSION = "1.12.0" }
for k, v in pairs(compat) do utils[k] = v end
--- Some standard patterns
diff --git a/rockspecs/penlight-1.12.0-1.rockspec b/rockspecs/penlight-1.12.0-1.rockspec
new file mode 100644
index 0000000..9ebefa2
--- /dev/null
+++ b/rockspecs/penlight-1.12.0-1.rockspec
@@ -0,0 +1,78 @@
+local package_name = "penlight"
+local package_version = "1.12.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
+
+
+package = package_name
+version = package_version .. "-" .. rockspec_revision
+
+source = {
+ url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git",
+ branch = git_checkout
+}
+
+description = {
+ summary = "Lua utility libraries loosely based on the Python standard libraries",
+ homepage = "https://"..github_account_name..".github.io/"..github_repo_name,
+ license = "MIT/X11",
+ maintainer = "thijs@thijsschreijer.nl",
+ detailed = [[
+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.
+]]
+}
+
+dependencies = {
+ "luafilesystem",
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ ["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.compat"] = "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.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.init"] = "lua/pl/init.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.import_into"] = "lua/pl/import_into.lua",
+ ["pl.types"] = "lua/pl/types.lua",
+ },
+ copy_directories = {"docs", "tests"}
+}
+