From 737942fe3b531a8059c154df0692ffcd781718f2 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Wed, 13 Apr 2022 14:27:55 +0200 Subject: [PATCH] bump: v0.3.0 --- CHANGELOG.adoc | 10 +++++++++ rocks/lgi-async-extra-0.2.0-2.rockspec | 31 ++++++++++++++++++++++++++ rocks/lgi-async-extra-0.3.0-1.rockspec | 31 ++++++++++++++++++++++++++ src/lgi-async-extra/file.lua | 4 ++-- 4 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 rocks/lgi-async-extra-0.2.0-2.rockspec create mode 100644 rocks/lgi-async-extra-0.3.0-1.rockspec 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