diff --git a/CHANGELOG.md b/CHANGELOG.md index 966f860..c2d55ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.6] - 2023-04-10 + +### Added + +- More functional `--dry` run flag; +- Preliminary push support + - SSH authentication with remote through *libgit2* still needs to be figured out. + ## [0.1.5] - 2023-04-09 ### Fixed @@ -66,7 +74,7 @@ This release marks the first full realization of project's description. - None - +[0.1.6]: https://github.com/mbrav/git_raider/compare/0.1.5...0.1.6 [0.1.5]: https://github.com/mbrav/git_raider/compare/0.1.4...0.1.5 [0.1.4]: https://github.com/mbrav/git_raider/compare/0.1.3...0.1.4 [0.1.3]: https://github.com/mbrav/git_raider/compare/0.1.2...0.1.3 diff --git a/Cargo.lock b/Cargo.lock index 01b6f58..6a7e884 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -176,7 +176,7 @@ dependencies = [ [[package]] name = "git_raider" -version = "0.1.5" +version = "0.1.6" dependencies = [ "clap", "git2", diff --git a/Cargo.toml b/Cargo.toml index 1598875..b841a77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "git_raider" -version = "0.1.5" +version = "0.1.6" descripion = "Mass git repository search, replace and commit tool" authors = ["mbrav "] edition = "2021" diff --git a/README.md b/README.md index a77adbd..cfabe8f 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ gitraider -V If successful, you will get the following after the end: ```text -git_raider 0.1.4 +git_raider 0.1.6 ``` ## Run from source diff --git a/latest b/latest index def9a01..a192233 100644 --- a/latest +++ b/latest @@ -1 +1 @@ -0.1.5 \ No newline at end of file +0.1.6 \ No newline at end of file diff --git a/src/raider.rs b/src/raider.rs index feb1cd6..3345108 100644 --- a/src/raider.rs +++ b/src/raider.rs @@ -344,14 +344,14 @@ mod tests { #[test] fn raider_new() { let path = "./".to_string(); - let raider = RepoRaider::new(&path); + let raider = RepoRaider::new(path.clone(), false); assert_ne!(raider.path.to_str().unwrap(), path.as_str()); } #[test] fn raider_find_dirs() { let path = "./".to_string(); - let mut raider = RepoRaider::new(&path); + let mut raider = RepoRaider::new(path, false); raider.find_dirs("src"); assert_ne!(raider.get_dirs().len(), 0); @@ -360,7 +360,7 @@ mod tests { #[test] fn raider_find_repos() { let path = "../".to_string(); - let mut raider = RepoRaider::new(&path); + let mut raider = RepoRaider::new(path, false); raider.find_repos(); assert_ne!(raider.get_dirs().len(), 0); @@ -369,7 +369,7 @@ mod tests { #[test] fn raider_match_files() { let path = "../".to_string(); - let mut raider = RepoRaider::new(&path); + let mut raider = RepoRaider::new(path, false); raider.find_repos(); raider.match_files("main.rs"); @@ -384,7 +384,7 @@ mod tests { #[test] fn raider_match_file_contents() { let path = "../".to_string(); - let mut raider = RepoRaider::new(&path); + let mut raider = RepoRaider::new(path, false); raider.find_repos(); raider.match_files("main.rs");