diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 950cedd..f1e9165 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -6,6 +6,16 @@ == [Unreleased] +== [v0.3.0] - 2022-04-13 + +=== Added + +* `file.copy`: Copy files and directories + +=== Fixed + +* `file.move`: Fixed exception due to introspection issues + == [v0.2.0] - 2022-03-16 === Added diff --git a/rocks/lgi-async-extra-0.2.0-2.rockspec b/rocks/lgi-async-extra-0.2.0-2.rockspec new file mode 100644 index 0000000..a578848 --- /dev/null +++ b/rocks/lgi-async-extra-0.2.0-2.rockspec @@ -0,0 +1,31 @@ +package = "lgi-async-extra" +version = "0.2.0-1" + +source = { + url = "git://github.com/sclu1034/lgi-async-extra.git", + tag = "v0.2.0" +} + +description = { + summary = "An asynchronous high(er)-level API wrapper for LGI", + homepage = "https://github.com/sclu1034/lgi-async-extra", + license = "GPLv3" +} + +dependencies = { + "lua >= 5.1", + "lgi", + "async.lua" +} + +build = { + type = "builtin", + modules = { + ["lgi-async-extra.file"] = "src/lgi-async-extra/file.lua", + ["lgi-async-extra.stream"] = "src/lgi-async-extra/stream.lua", + ["lgi-async-extra.filesystem"] = "src/lgi-async-extra/filesystem.lua", + }, + copy_directories = { + "spec" + } +} diff --git a/rocks/lgi-async-extra-0.3.0-1.rockspec b/rocks/lgi-async-extra-0.3.0-1.rockspec new file mode 100644 index 0000000..39b2750 --- /dev/null +++ b/rocks/lgi-async-extra-0.3.0-1.rockspec @@ -0,0 +1,31 @@ +package = "lgi-async-extra" +version = "0.3.0-1" + +source = { + url = "git://github.com/sclu1034/lgi-async-extra.git", + tag = "v0.3.0" +} + +description = { + summary = "An asynchronous high(er)-level API wrapper for LGI", + homepage = "https://github.com/sclu1034/lgi-async-extra", + license = "GPLv3" +} + +dependencies = { + "lua >= 5.1", + "lgi", + "async.lua" +} + +build = { + type = "builtin", + modules = { + ["lgi-async-extra.file"] = "src/lgi-async-extra/file.lua", + ["lgi-async-extra.stream"] = "src/lgi-async-extra/stream.lua", + ["lgi-async-extra.filesystem"] = "src/lgi-async-extra/filesystem.lua", + }, + copy_directories = { + "spec" + } +} diff --git a/src/lgi-async-extra/file.lua b/src/lgi-async-extra/file.lua index 9f50b44..617a9a9 100644 --- a/src/lgi-async-extra/file.lua +++ b/src/lgi-async-extra/file.lua @@ -461,7 +461,7 @@ end -- Due to limitations in GObject Introspection, this can currently only be implemented as -- "copy and delete" operation. -- --- @since git +-- @since 0.3.0 -- @async -- @tparam string|file path New path to move to. -- @tparam function cb @@ -522,7 +522,7 @@ end --- Copies the file to a new location. -- --- @since git +-- @since 0.3.0 -- @async -- @tparam string|file dest_path Path to copy to. -- @tparam table options