Skip to content

Commit 2b2c173

Browse files
committed
release: 0.2.7
2 parents ada4527 + a9df241 commit 2b2c173

File tree

6 files changed

+16
-34
lines changed

6 files changed

+16
-34
lines changed

CREDITS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ License details for project dependencies are listed below.
1414

1515
**Used By:**
1616

17-
* [hashbrown 0.9.1](https://github.com/rust-lang/hashbrown)
18-
* [indexmap 1.6.2](https://github.com/bluss/indexmap)
17+
* [hashbrown 0.11.2](https://github.com/rust-lang/hashbrown)
18+
* [indexmap 1.7.0](https://github.com/bluss/indexmap)
1919
* [libdeflate-sys 0.7.3](https://github.com/adamkewley/libdeflater)
2020
* [libdeflater 0.7.3](https://github.com/adamkewley/libdeflater)
2121
* [num-traits 0.2.14](https://github.com/rust-num/num-traits)
22-
* [proc-macro2 1.0.27](https://github.com/alexcrichton/proc-macro2)
22+
* [proc-macro2 1.0.28](https://github.com/alexcrichton/proc-macro2)
2323
* [quote 1.0.9](https://github.com/dtolnay/quote)
2424
* [serde 1.0.126](https://github.com/serde-rs/serde)
2525
* [serde_derive 1.0.126](https://github.com/serde-rs/serde)
26-
* [syn 1.0.73](https://github.com/dtolnay/syn)
26+
* [syn 1.0.74](https://github.com/dtolnay/syn)
2727
* [toml 0.5.8](https://github.com/alexcrichton/toml-rs)
2828
* [unicode-xid 0.2.2](https://github.com/unicode-rs/unicode-xid)
2929

@@ -238,11 +238,11 @@ limitations under the License.
238238
**Used By:**
239239

240240
* [argyle 0.4.2](https://github.com/Blobfolio/argyle)
241-
* [bashman_core 0.2.6](https://github.com/Blobfolio/bashman)
242-
* [cargo-bashman 0.2.6](https://github.com/Blobfolio/bashman)
241+
* [bashman_core 0.2.7](https://github.com/Blobfolio/bashman)
242+
* [cargo-bashman 0.2.7](https://github.com/Blobfolio/bashman)
243243
* [dactyl 0.1.8](https://github.com/Blobfolio/dactyl)
244244
* [fyi_msg 0.8.1](https://github.com/Blobfolio/fyi)
245-
* [utc2k 0.1.1](https://github.com/Blobfolio/utc2k)
245+
* [utc2k 0.2.4](https://github.com/Blobfolio/utc2k)
246246

247247

248248
```

bashman/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-bashman"
3-
version = "0.2.6"
3+
version = "0.2.7"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
66
edition = "2018"

bashman_core/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bashman_core"
3-
version = "0.2.6"
3+
version = "0.2.7"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
66
edition = "2018"
@@ -11,9 +11,9 @@ publish = false
1111
[dependencies]
1212
argyle = "0.4.*"
1313
fyi_msg = "0.8.*"
14-
indexmap = "1.6.*"
14+
indexmap = "1.7.*"
1515
libdeflater = "0.7.*"
16-
utc2k = "0.1.*"
16+
utc2k = "0.2.*"
1717

1818
[dependencies.serde]
1919
version = "1.0.*"

bashman_core/src/data.rs

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ impl<'a> Command<'a> {
369369
r#".TH "{} {}" "1" "{} {}" "{} v{}" "User Commands""#,
370370
p.to_uppercase(),
371371
self.name().to_uppercase(),
372-
month_name(now.month()),
372+
now.month_name(),
373373
now.year(),
374374
self.name(),
375375
self.version(),
@@ -378,7 +378,7 @@ impl<'a> Command<'a> {
378378
buf,
379379
r#".TH "{}" "1" "{} {}" "{} v{}" "User Commands""#,
380380
self.name().to_uppercase(),
381-
month_name(now.month()),
381+
now.month_name(),
382382
now.year(),
383383
self.name(),
384384
self.version(),
@@ -795,21 +795,3 @@ fn man_tagline(
795795
_ => Ok(false),
796796
}
797797
}
798-
799-
/// # Month Name.
800-
const fn month_name(month: u8) -> &'static str {
801-
match month {
802-
1 => "January",
803-
2 => "February",
804-
3 => "March",
805-
4 => "April",
806-
5 => "May",
807-
6 => "June",
808-
7 => "July",
809-
8 => "August",
810-
9 => "September",
811-
10 => "October",
812-
11 => "November",
813-
_ => "December",
814-
}
815-
}

bashman_core/src/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ impl<'a> TryFrom<&'a Raw<'a>> for Command<'a> {
408408
if subs.is_empty() { out_args.push(arg); }
409409
else {
410410
subs.iter().try_for_each(|sub| {
411-
if sub.is_empty() { out_args.push(arg.clone()) }
411+
if sub.is_empty() { out_args.push(arg.clone()); }
412412
else {
413413
subcmds
414414
.get_mut(sub)

release/man/cargo-bashman.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH "CARGO BASHMAN" "1" "June 2021" "Cargo BashMan v0.2.6" "User Commands"
1+
.TH "CARGO BASHMAN" "1" "July 2021" "Cargo BashMan v0.2.7" "User Commands"
22
.SH NAME
3-
Cargo BashMan \- Manual page for cargo\-bashman v0.2.6.
3+
Cargo BashMan \- Manual page for cargo\-bashman v0.2.7.
44
.SH DESCRIPTION
55
BashMan is a Cargo plugin that helps you generate BASH completions and/or MAN pages for your Rust project.
66
.SS USAGE:

0 commit comments

Comments
 (0)