From 9987a0b8aed5319d6acef54eb7f825aab932af2a Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 30 Oct 2021 17:55:49 -0700 Subject: [PATCH] Release 0.10.3 (#1014) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bump version: 0.10.2 → 0.10.3 - Update changelog - Update config test - Update dependencies - Update man page --- CHANGELOG.md | 25 +++++++++++++++++++++++++ Cargo.lock | 52 ++++++++++++++++++++++++++------------------------- Cargo.toml | 6 +++--- man/just.1 | 21 ++++++++++----------- src/config.rs | 2 +- 5 files changed, 66 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a7f3a5..9b5016b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,31 @@ Changelog ========= +[0.10.3](https://github.com/casey/just/releases/tag/0.10.3) - 2021-10-30 +------------------------------------------------------------------------ + +### Added +- Add `trim_end(s)` and `trim_start(s)` functions (#999) +- Add more string manipulation functions (#998) + +### Changed +- Make `join` accept two or more arguments (#1000) + +### Misc +- Add alternatives and prior art section to readme (#1008) +- Fix readme `make`'s not correctly displayed (#1007) +- Document the default recipe (#1006) +- Document creating user justfile recipe aliases (#1005) +- Fix readme typo (#1004) +- Add packaging status table to readme (#1003) +- Reword `sh` not found error messages (#1002) +- Only pass +crt-static to cargo build (#997) +- Stop using tabs in justfile in editorconfig (#996) +- Use consistent rustflags formatting (#994) +- Use `cargo build` instead of `cargo rustc` (#993) +- Don't skip variables in variable iterator (#991) +- Remove deprecated equals error (#985) + [0.10.2](https://github.com/casey/just/releases/tag/0.10.2) - 2021-9-26 ----------------------------------------------------------------------- diff --git a/Cargo.lock b/Cargo.lock index 0692e05..bed130e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.7.18" @@ -58,9 +60,9 @@ checksum = "52d74260d9bf6944e2208aa46841b4b8f0d7ffc0849a06837b2f510337f86b2b" [[package]] name = "cc" -version = "1.0.70" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" +checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd" [[package]] name = "cfg-if" @@ -105,9 +107,9 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.2.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "377c9b002a72a0b2c1a18c62e2f3864bdfea4a015e3683a96e24aa45dd6c02d1" +checksum = "a19c6cedffdc8c03a3346d723eb20bd85a13362bb96dc2ac000842c6381ec7bf" dependencies = [ "nix", "winapi", @@ -210,7 +212,7 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "just" -version = "0.10.2" +version = "0.10.3" dependencies = [ "ansi_term 0.12.1", "atty", @@ -255,9 +257,9 @@ checksum = "441225017b106b9f902e97947a6d31e44ebcf274b91bdbfb51e5c477fcd468e5" [[package]] name = "libc" -version = "0.2.103" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6" +checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673" [[package]] name = "linked-hash-map" @@ -291,9 +293,9 @@ dependencies = [ [[package]] name = "nix" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1e25ee6b412c2a1e3fcb6a4499a5c1bfe7f43e014bdce9a6b6666e5aa2d187" +checksum = "f305c2c2e4c39a82f7bf0bf65fb557f9070ce06781d4f2454295cc34b1c43188" dependencies = [ "bitflags", "cc", @@ -313,9 +315,9 @@ dependencies = [ [[package]] name = "ppv-lite86" -version = "0.2.10" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" +checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba" [[package]] name = "pretty_assertions" @@ -355,18 +357,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.29" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d" +checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43" dependencies = [ "unicode-xid", ] [[package]] name = "quote" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" +checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" dependencies = [ "proc-macro2", ] @@ -490,9 +492,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] name = "structopt" -version = "0.3.23" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf9d950ef167e25e0bdb073cf1d68e9ad2795ac826f2f3f59647817cf23c0bfa" +checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c" dependencies = [ "clap", "lazy_static", @@ -501,9 +503,9 @@ dependencies = [ [[package]] name = "structopt-derive" -version = "0.4.16" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134d838a2c9943ac3125cf6df165eda53493451b719f3255b2a26b85f772d0ba" +checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ "heck", "proc-macro-error", @@ -514,18 +516,18 @@ dependencies = [ [[package]] name = "strum" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" +checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.21.1" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" +checksum = "339f799d8b549e3744c7ac7feb216383e4005d94bdb22561b3ab8f3b808ae9fb" dependencies = [ "heck", "proc-macro2", @@ -535,9 +537,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.77" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5239bc68e0fef57495900cfea4e8dc75596d9a319d7e16b1e0a440d24e6fe0a0" +checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 0ad274a..26cee9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "just" -version = "0.10.2" +version = "0.10.3" description = "🤖 Just a command runner" authors = ["Casey Rodarmor "] license = "CC0-1.0" @@ -29,7 +29,7 @@ libc = "0.2.0" log = "0.4.4" regex = "1.5.4" snafu = "0.6.0" -strum_macros = "0.21.1" +strum_macros = "0.22.0" target = "2.0.0" tempfile = "3.0.0" typed-arena = "2.0.1" @@ -44,7 +44,7 @@ version = "3.1.1" features = ["termination"] [dependencies.strum] -version = "0.21.0" +version = "0.22.0" features = ["derive"] [dev-dependencies] diff --git a/man/just.1 b/man/just.1 index c11482a..da90016 100644 --- a/man/just.1 +++ b/man/just.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. -.TH JUST "1" "September 2021" "just 0.10.2" "Just Manual" +.TH JUST "1" "October 2021" "just 0.10.3" "Just Manual" .SH NAME just \- save and run commands .SH DESCRIPTION -just 0.10.2 +just 0.10.3 \- Please see https://github.com/casey/just for more information. .SS "USAGE:" .IP @@ -14,9 +14,9 @@ just [FLAGS] [OPTIONS] [\-\-] [ARGUMENTS]... Print changelog .TP \fB\-\-choose\fR -Select one or more recipes to run using a binary. If `\-\-chooser` is -not passed the chooser defaults to the value of $JUST_CHOOSER, -falling back to `fzf` +Select one or more recipes to run using a binary. If `\-\-chooser` is not +passed the chooser defaults to the value of $JUST_CHOOSER, falling back +to `fzf` .TP \fB\-\-clear\-shell\-args\fR Clear shell arguments @@ -28,8 +28,8 @@ Print what just would do without doing it Print entire justfile .TP \fB\-e\fR, \fB\-\-edit\fR -Edit justfile with editor given by $VISUAL or $EDITOR, falling back -to `vim` +Edit justfile with editor given by $VISUAL or $EDITOR, falling back to +`vim` .TP \fB\-\-evaluate\fR Evaluate and print all variables. If a variable name is given as an @@ -57,8 +57,7 @@ Don't highlight echoed recipe lines in bold Suppress all output .TP \fB\-\-shell\-command\fR -Invoke with the shell used to run recipe lines and -backticks +Invoke with the shell used to run recipe lines and backticks .TP \fB\-\-summary\fR List names of available recipes @@ -96,8 +95,8 @@ Run an arbitrary command with the working directory, `.env`, overrides, and expo .HP \fB\-\-completions\fR .IP -Print shell completion script for [possible values: zsh, bash, fish, -powershell, elvish] +Print shell completion script for [possible values: zsh, bash, fish, powershell, +elvish] .HP \fB\-\-dotenv\-filename\fR .IP diff --git a/src/config.rs b/src/config.rs index b6b9ab3..e8a1f1c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -584,7 +584,7 @@ mod tests { // have proper tests for all the flags, but this will do for now. #[test] fn help() { - const EXPECTED_HELP: &str = "just 0.10.2 + const EXPECTED_HELP: &str = "just 0.10.3 Casey Rodarmor 🤖 Just a command runner \ - https://github.com/casey/just