From 049a17383c6261f09d056ca685ee52bc5d1d58eb Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Fri, 18 Oct 2024 15:34:08 +0300 Subject: [PATCH] chore: Release v0.6.1 --- CHANGELOG.md | 14 +++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- rockspecs/decasify-0.6.1-1.rockspec | 32 ++++++++++++++++++++++++ rockspecs/decasify.nvim-0.6.1-1.rockspec | 32 ++++++++++++++++++++++++ 5 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 rockspecs/decasify-0.6.1-1.rockspec create mode 100644 rockspecs/decasify.nvim-0.6.1-1.rockspec diff --git a/CHANGELOG.md b/CHANGELOG.md index 261068f..ada4e5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## [0.6.1] - 2024-10-18 + +### Features + +- Preserve whitespace from inputs +- *(crate)* Be flexible on accepted types and Implement From trait on common possibilities +- *(nvim)* Add a rockspec for installation with rocks.nvim +- *(nvim)* Add a new command that runs decasify titlecasing on input range +- *(nvim)* Add a subcommand to access all casing options +- *(nvim)* Add global default case +- *(nvim)* Add global settings for locale and style guide +- *(nvim)* Allow and prioritize buffer local settings +- *(nvim)* Accept visual input range for partial line transformations + ## [0.6.0] - 2024-08-13 ### Chore diff --git a/Cargo.lock b/Cargo.lock index 71f3807..2a37036 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "decasify" -version = "0.6.0" +version = "0.6.1" dependencies = [ "assert_cmd", "clap", diff --git a/Cargo.toml b/Cargo.toml index 429c3f6..42a16fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "decasify" -version = "0.6.0" +version = "0.6.1" authors = ["Caleb Maclennan "] edition = "2021" rust-version = "1.73.0" diff --git a/rockspecs/decasify-0.6.1-1.rockspec b/rockspecs/decasify-0.6.1-1.rockspec new file mode 100644 index 0000000..369364a --- /dev/null +++ b/rockspecs/decasify-0.6.1-1.rockspec @@ -0,0 +1,32 @@ +rockspec_format = "1.0" +package = "decasify" +version = "0.6.1-1" + +source = { + url = "git+https://github.com/alerque/decasify.git", + dir = "decasify", + tag = "v0.6.1" +} + +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.6.1-1.rockspec b/rockspecs/decasify.nvim-0.6.1-1.rockspec new file mode 100644 index 0000000..462c7a1 --- /dev/null +++ b/rockspecs/decasify.nvim-0.6.1-1.rockspec @@ -0,0 +1,32 @@ +rockspec_format = "1.0" +package = "decasify.nvim" +version = "0.6.1-1" + +source = { + url = "git+https://github.com/alerque/decasify.git", + dir = "decasify", + tag = "v0.6.1" +} + +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", +} + +dependencies = { + "lua >= 5.1", + "decasify" +} + +build = { + type = "builtin", + copy_directories = { + "plugin", + } +}