aboutsummaryrefslogtreecommitdiff
path: root/spec/dir_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(fs): make current_dir always return 1 arg onlyHisham Muhammad2024-02-271-72/+0
|
* fix: better normalization for paths and slashesHisham Muhammad2024-02-231-13/+14
| | | | Fixes #1195.
* Fix problems in path normalisation algorithm (#1541)Aleksei Volkov2023-10-301-0/+8
| | | | | | | | Current implementation of path normalisation contains various flaws: - Trailing `.` and `..` at the end of path don't get normalised, - Path `/` turns into an empty string after normalisation. This patch changes implementation of normalisation to fix these.
* fix: pack: rockspec with a bare file in the urlHisham Muhammad2021-03-221-0/+10
|
* editorconfig: trim trailing whitespaceHisham Muhammad2021-03-161-3/+3
|
* tests: shorter descriptionsHisham Muhammad2020-02-141-1/+1
|
* Tests: add a couple of tests for dir.normalizeHisham Muhammad2019-06-031-6/+17
|
* Fix the collecting of coverage data from unit testsGeorge Roman2018-06-121-0/+12
|
* General refactor introducing Rockspec and Build.Opts objectsHisham Muhammad2018-06-061-1/+12
| | | | | | | | | | Adds a Rockspec object responsible for constructing all Rockspec tables in the manner of the Queries and Results objects, and a type-checked Build.Opts tables for build options, since the number of attributes passed around was getting out of hand. This allowed a major cleanup in the luarocks.build, luarocks.fetch and luarocks.cmd.write_rockspec modules.
* Tests: move is_basic_protocol to dirHisham Muhammad2018-06-061-0/+19