Skip to content

Commit e6642c6

Browse files
Merge pull request #37 from sebastienrousseau/feat/libmake
chore(libmake): ⬆️ v0.2.5
2 parents 389a4df + 70d8f49 commit e6642c6

12 files changed

+14
-14
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ name = "libmake"
2222
readme = "README.md"
2323
repository = "https://github.com/sebastienrousseau/libmake.git"
2424
rust-version = "1.75.0"
25-
version = "0.2.4"
25+
version = "0.2.5"
2626
include = [
2727
"/CONTRIBUTING.md",
2828
"/LICENSE-APACHE",
@@ -67,7 +67,7 @@ rlg = "0.0.3"
6767
serde = { version = "1.0.197", features = ["derive"] }
6868
serde_ini = "0.2.0"
6969
serde_json = "1.0.115"
70-
serde_yml = "0.0.1"
70+
serde_yml = "0.0.4"
7171
tempfile = "3.10.1"
7272
toml = "0.8.12"
7373
uuid = { version = "1.8.0", features = ["v4"] }

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,6 @@ providing a lot of useful suggestions on how to improve this project.
356356
[crates-badge]: https://img.shields.io/crates/v/libmake.svg?style=for-the-badge "Crates.io Badge"
357357
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
358358
[docs-badge]: https://img.shields.io/docsrs/libmake.svg?style=for-the-badge "Docs.rs Badge"
359-
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.4-orange.svg?style=for-the-badge "Lib.rs Badge"
359+
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.5-orange.svg?style=for-the-badge "Lib.rs Badge"
360360
[license-badge]: https://img.shields.io/crates/l/libmake.svg?style=for-the-badge "License Badge"
361361
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust "Made With Rust Badge"

TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ alt="LibMake logo" width="261" align="right" />
55

66
<!-- markdownlint-enable MD033 MD041 -->
77

8-
# LibMake v0.2.4 🦀
8+
# LibMake v0.2.5 🦀
99

1010
A code generator to reduce repetitive tasks and build high-quality Rust libraries.
1111

@@ -64,6 +64,6 @@ The library is designed to be used as a command-line tool. It is available on [C
6464
[codecov-badge]: https://img.shields.io/codecov/c/github/sebastienrousseau/libmake?style=for-the-badge&token=Q9KJ6XXL67 "Codecov Badge"
6565
[crates-badge]: https://img.shields.io/crates/v/libmake.svg?style=for-the-badge "Crates.io Badge"
6666
[docs-badge]: https://img.shields.io/docsrs/libmake.svg?style=for-the-badge "Docs.rs Badge"
67-
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.4-orange.svg?style=for-the-badge "Lib.rs Badge"
67+
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.5-orange.svg?style=for-the-badge "Lib.rs Badge"
6868
[license-badge]: https://img.shields.io/crates/l/libmake.svg?style=for-the-badge "License Badge"
6969
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust "Made With Rust Badge"

src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn build() -> Result<ArgMatches, Error> {
3838
create_arg_info("readme", Some("README.md"), "Sets the README file for the library", 'm', "readme", "README"),
3939
create_arg_info("repository", Some("https://github.com/example/my_library"), "Sets the repository URL of the library", 'g', "repository", "REPOSITORY"),
4040
create_arg_info("rustversion", Some("1.75.0"), "Sets the Rust version of the library", 'r', "rustversion", "RUSTVERSION"),
41-
create_arg_info("version", Some("0.2.4"), "Sets the version of the library", 'v', "version", "VERSION"),
41+
create_arg_info("version", Some("0.2.5"), "Sets the version of the library", 'v', "version", "VERSION"),
4242
create_arg_info("website", Some("https://test.com"), "Sets the website of the library author", 'w', "website", "WEBSITE"),
4343
];
4444

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//!
1616
//! [![Rust](https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust)](https://www.rust-lang.org)
1717
//! [![Crates.io](https://img.shields.io/crates/v/libmake.svg?style=for-the-badge&color=success&labelColor=27A006)](https://crates.io/crates/libmake)
18-
//! [![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)
18+
//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.2.5-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/libmake)
1919
//! [![GitHub](https://img.shields.io/badge/github-555555?style=for-the-badge&labelColor=000000&logo=github)](https://github.com/sebastienrousseau/libmake)
2020
//! [![License](https://img.shields.io/crates/l/libmake.svg?style=for-the-badge&color=007EC6&labelColor=03589B)](http://opensource.org/licenses/MIT)
2121
//!

template/Cargo.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ env_logger = "0.11.3"
4242
rlg = "0.0.3"
4343
serde = { version = "1.0.197", features = ["derive"] }
4444
serde_json = "1.0.115"
45-
serde_yml = "0.0.1"
45+
serde_yml = "0.0.4"
4646
toml = "0.8.12"
4747
vrd = "0.0.6"
4848

tests/data/mylibrary.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
author,build,categories,description,documentation,edition,email,homepage,keywords,license,name,output,readme,repository,rustversion,version,website
2-
Me,build.rs,"['category 1', 'category 2']",A library for doing things,https://lib.rs/crates/my_library,2021,[email protected],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
2+
Me,build.rs,"['category 1', 'category 2']",A library for doing things,https://lib.rs/crates/my_library,2021,[email protected],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.5,https://test.com

tests/data/mylibrary.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ output = "my_library"
1313
readme = "README.md"
1414
repository = "https://github.com/test/test"
1515
rustversion = "1.75.0"
16-
version = "0.2.4"
16+
version = "0.2.5"
1717
website = "https://test.com"

tests/data/mylibrary.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
"readme": "README.md",
1515
"repository": "https://github.com/test/test",
1616
"rustversion": "1.75.0",
17-
"version": "0.2.4",
17+
"version": "0.2.5",
1818
"website": "https://test.com"
1919
}

tests/data/mylibrary.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ output = "my_library"
1313
readme = "README.md"
1414
repository = "https://github.com/test/test"
1515
rustversion = "1.75.0"
16-
version = "0.2.4"
16+
version = "0.2.5"
1717
website = "https://test.com"

tests/data/mylibrary.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ output: my_library
1313
readme: README.md
1414
repository: https://github.com/test/test
1515
rustversion: '1.75.0'
16-
version: '0.2.4'
16+
version: '0.2.5'
1717
website: https://test.com

tests/test_utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ mod tests {
9191
);
9292
assert_eq!(
9393
get_csv_field(Some(file_path), 15),
94-
Some(vec!["0.2.4".to_string()])
94+
Some(vec!["0.2.5".to_string()])
9595
);
9696
assert_eq!(
9797
get_csv_field(Some(file_path), 16),

0 commit comments

Comments
 (0)