From 908e20fcd4e06fd8da9036c341dbecb532cb22ea Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Fri, 29 Mar 2024 14:46:26 +0000 Subject: [PATCH] fix(libmake): :ambulance: release version number --- Cargo.toml | 2 +- README.md | 2 +- TEMPLATE.md | 4 ++-- src/cli.rs | 2 +- src/lib.rs | 2 +- tests/data/mylibrary.csv | 2 +- tests/data/mylibrary.ini | 2 +- tests/data/mylibrary.json | 2 +- tests/data/mylibrary.toml | 2 +- tests/data/mylibrary.yaml | 2 +- tests/test_utils.rs | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79a68be..b27c9b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ name = "libmake" readme = "README.md" repository = "https://github.com/sebastienrousseau/libmake.git" rust-version = "1.75.0" -version = "0.2.3" +version = "0.2.4" include = [ "/CONTRIBUTING.md", "/LICENSE-APACHE", diff --git a/README.md b/README.md index 551d576..99ac68b 100644 --- a/README.md +++ b/README.md @@ -356,6 +356,6 @@ providing a lot of useful suggestions on how to improve this project. [crates-badge]: https://img.shields.io/crates/v/libmake.svg?style=for-the-badge "Crates.io Badge" [divider]: https://kura.pro/common/images/elements/divider.svg "divider" [docs-badge]: https://img.shields.io/docsrs/libmake.svg?style=for-the-badge "Docs.rs Badge" -[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.3-orange.svg?style=for-the-badge "Lib.rs Badge" +[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.4-orange.svg?style=for-the-badge "Lib.rs Badge" [license-badge]: https://img.shields.io/crates/l/libmake.svg?style=for-the-badge "License Badge" [made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust "Made With Rust Badge" diff --git a/TEMPLATE.md b/TEMPLATE.md index 2303608..b5db5ef 100644 --- a/TEMPLATE.md +++ b/TEMPLATE.md @@ -5,7 +5,7 @@ alt="LibMake logo" width="261" align="right" /> -# LibMake v0.2.3 🦀 +# LibMake v0.2.4 🦀 A code generator to reduce repetitive tasks and build high-quality Rust libraries. @@ -64,6 +64,6 @@ The library is designed to be used as a command-line tool. It is available on [C [codecov-badge]: https://img.shields.io/codecov/c/github/sebastienrousseau/libmake?style=for-the-badge&token=Q9KJ6XXL67 "Codecov Badge" [crates-badge]: https://img.shields.io/crates/v/libmake.svg?style=for-the-badge "Crates.io Badge" [docs-badge]: https://img.shields.io/docsrs/libmake.svg?style=for-the-badge "Docs.rs Badge" -[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.3-orange.svg?style=for-the-badge "Lib.rs Badge" +[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.4-orange.svg?style=for-the-badge "Lib.rs Badge" [license-badge]: https://img.shields.io/crates/l/libmake.svg?style=for-the-badge "License Badge" [made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust "Made With Rust Badge" diff --git a/src/cli.rs b/src/cli.rs index 09b1fbf..b760dfc 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -38,7 +38,7 @@ pub fn build() -> Result { create_arg_info("readme", Some("README.md"), "Sets the README file for the library", 'm', "readme", "README"), create_arg_info("repository", Some("https://github.com/example/my_library"), "Sets the repository URL of the library", 'g', "repository", "REPOSITORY"), create_arg_info("rustversion", Some("1.75.0"), "Sets the Rust version of the library", 'r', "rustversion", "RUSTVERSION"), - create_arg_info("version", Some("0.2.3"), "Sets the version of the library", 'v', "version", "VERSION"), + create_arg_info("version", Some("0.2.4"), "Sets the version of the library", 'v', "version", "VERSION"), create_arg_info("website", Some("https://test.com"), "Sets the website of the library author", 'w', "website", "WEBSITE"), ]; diff --git a/src/lib.rs b/src/lib.rs index 723f727..adfb540 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ //! //! [![Rust](https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust)](https://www.rust-lang.org) //! [![Crates.io](https://img.shields.io/crates/v/libmake.svg?style=for-the-badge&color=success&labelColor=27A006)](https://crates.io/crates/libmake) -//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.2.3-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/libmake) +//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.2.4-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/libmake) //! [![GitHub](https://img.shields.io/badge/github-555555?style=for-the-badge&labelColor=000000&logo=github)](https://github.com/sebastienrousseau/libmake) //! [![License](https://img.shields.io/crates/l/libmake.svg?style=for-the-badge&color=007EC6&labelColor=03589B)](http://opensource.org/licenses/MIT) //! diff --git a/tests/data/mylibrary.csv b/tests/data/mylibrary.csv index 05e5421..5ab4225 100644 --- a/tests/data/mylibrary.csv +++ b/tests/data/mylibrary.csv @@ -1,2 +1,2 @@ author,build,categories,description,documentation,edition,email,homepage,keywords,license,name,output,readme,repository,rustversion,version,website -Me,build.rs,"['category 1', 'category 2']",A library for doing things,https://lib.rs/crates/my_library,2021,test@test.com,https://test.com,"['keyword1', 'keyword2']",MIT OR Apache-2.0,my_library,my_library,README.md,https://github.com/test/test,1.75.0,0.2.3,https://test.com +Me,build.rs,"['category 1', 'category 2']",A library for doing things,https://lib.rs/crates/my_library,2021,test@test.com,https://test.com,"['keyword1', 'keyword2']",MIT OR Apache-2.0,my_library,my_library,README.md,https://github.com/test/test,1.75.0,0.2.4,https://test.com diff --git a/tests/data/mylibrary.ini b/tests/data/mylibrary.ini index 3ca4334..2b23e30 100644 --- a/tests/data/mylibrary.ini +++ b/tests/data/mylibrary.ini @@ -13,5 +13,5 @@ output = "my_library" readme = "README.md" repository = "https://github.com/test/test" rustversion = "1.75.0" -version = "0.2.3" +version = "0.2.4" website = "https://test.com" diff --git a/tests/data/mylibrary.json b/tests/data/mylibrary.json index e02c334..e9fe32a 100644 --- a/tests/data/mylibrary.json +++ b/tests/data/mylibrary.json @@ -14,6 +14,6 @@ "readme": "README.md", "repository": "https://github.com/test/test", "rustversion": "1.75.0", - "version": "0.2.3", + "version": "0.2.4", "website": "https://test.com" } diff --git a/tests/data/mylibrary.toml b/tests/data/mylibrary.toml index 4afd7b7..5472bd5 100644 --- a/tests/data/mylibrary.toml +++ b/tests/data/mylibrary.toml @@ -13,5 +13,5 @@ output = "my_library" readme = "README.md" repository = "https://github.com/test/test" rustversion = "1.75.0" -version = "0.2.3" +version = "0.2.4" website = "https://test.com" diff --git a/tests/data/mylibrary.yaml b/tests/data/mylibrary.yaml index b4a49d3..19080ee 100644 --- a/tests/data/mylibrary.yaml +++ b/tests/data/mylibrary.yaml @@ -13,5 +13,5 @@ output: my_library readme: README.md repository: https://github.com/test/test rustversion: '1.75.0' -version: '0.2.3' +version: '0.2.4' website: https://test.com diff --git a/tests/test_utils.rs b/tests/test_utils.rs index 9b85b4c..69eebe3 100644 --- a/tests/test_utils.rs +++ b/tests/test_utils.rs @@ -91,7 +91,7 @@ mod tests { ); assert_eq!( get_csv_field(Some(file_path), 15), - Some(vec!["0.2.3".to_string()]) + Some(vec!["0.2.4".to_string()]) ); assert_eq!( get_csv_field(Some(file_path), 16),