From d2ada48265b12e770d8364782963bda721f22c4a Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Mon, 21 Oct 2024 17:36:26 +0300 Subject: [PATCH] chore: Release v0.7.2 --- CHANGELOG.md | 7 +++++ Cargo.lock | 2 +- Cargo.toml | 2 +- rockspecs/decasify-0.7.2-1.rockspec | 32 ++++++++++++++++++++++ rockspecs/decasify.nvim-0.7.2-1.rockspec | 35 ++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 rockspecs/decasify-0.7.2-1.rockspec create mode 100644 rockspecs/decasify.nvim-0.7.2-1.rockspec diff --git a/CHANGELOG.md b/CHANGELOG.md index df942c3..7c25428 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.7.2] - 2024-10-21 + +### Bug Fixes + +- *(build)* Remove unused developer tooling requirement +- *(nvim)* Require matching version of module for editor plugin + ## [0.7.1] - 2024-10-21 ### Features diff --git a/Cargo.lock b/Cargo.lock index 9bfbb58..2223bfb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "decasify" -version = "0.7.1" +version = "0.7.2" dependencies = [ "assert_cmd", "clap", diff --git a/Cargo.toml b/Cargo.toml index 136cfb4..40fee0e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "decasify" -version = "0.7.1" +version = "0.7.2" authors = ["Caleb Maclennan "] edition = "2021" rust-version = "1.73.0" diff --git a/rockspecs/decasify-0.7.2-1.rockspec b/rockspecs/decasify-0.7.2-1.rockspec new file mode 100644 index 0000000..f4107a4 --- /dev/null +++ b/rockspecs/decasify-0.7.2-1.rockspec @@ -0,0 +1,32 @@ +rockspec_format = "1.0" +package = "decasify" +version = "0.7.2-1" + +source = { + url = "git+https://github.com/alerque/decasify.git", + dir = "decasify", + tag = "v0.7.2", +} + +description = { + summary = "Lua C module built from the Rust decasify crate to cast strings to title-case according to locale specific style guides including Turkish support", + detailed = [[ + A Lua library exposed as a C module built from the Rust decasify crate. + Provides casing functions for long strings (not just individual words) + supporting the grammatical style guides of various locales including Turkish. + ]], + license = "LGPL-3.0-only", + homepage = "https://github.com/alerque/decasify", +} + +dependencies = { + "lua >= 5.1", + "luarocks-build-rust-mlua >= 0.2.2-1", +} + +build = { + type = "rust-mlua", + modules = { + "decasify", + }, +} diff --git a/rockspecs/decasify.nvim-0.7.2-1.rockspec b/rockspecs/decasify.nvim-0.7.2-1.rockspec new file mode 100644 index 0000000..ca6ead4 --- /dev/null +++ b/rockspecs/decasify.nvim-0.7.2-1.rockspec @@ -0,0 +1,35 @@ +rockspec_format = "3.0" +package = "decasify.nvim" +version = "0.7.2-1" + +source = { + url = "git+https://github.com/alerque/decasify.git", + dir = "decasify", + tag = "v0.7.2", +} + +description = { + summary = "NeoVIM plugin wrapping decasify crate to cast strings to title-case according to locale specific style guides including Turkish support", + detailed = [[ + A NeoVIM plugin that wraps the decasify library into an editor command that can easily be used in bindings to + provide casing functions for long strings (not just individual words) supporting the grammatical style guides of + various locales including Turkish. + ]], + license = "LGPL-3.0-only", + homepage = "https://github.com/alerque/decasify", + issues_url = "https://github.com/alerque/decasify/issues", + maintainer = "Caleb Maclennan ", + labels = { "i18n" }, +} + +dependencies = { + "lua >= 5.1", + "decasify == " .. version, +} + +build = { + type = "builtin", + copy_directories = { + "plugin", + }, +}