Bump version

This commit is contained in:
Arijit Basu 2021-10-24 10:27:20 +05:30 committed by Arijit Basu
parent 0328eb63c7
commit 3ec870739c
4 changed files with 34 additions and 25 deletions

33
Cargo.lock generated
View File

@ -17,9 +17,9 @@ checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1"
[[package]]
name = "assert_cmd"
version = "2.0.1"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b800c4403e8105d959595e1f88119e78bc12bc874c4336973658b648a746ba93"
checksum = "e996dc7940838b7ef1096b882e29ec30a3149a3a443cdc8dba19ed382eca1fe2"
dependencies = [
"bstr",
"doc-comment",
@ -209,7 +209,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0ebde6a9dd5e331cd6c6f48253254d117642c31653baa475e394657c59c1f7d"
dependencies = [
"bitflags",
"crossterm_winapi",
"crossterm_winapi 0.8.0",
"libc",
"mio",
"parking_lot",
@ -220,12 +220,12 @@ dependencies = [
[[package]]
name = "crossterm"
version = "0.21.0"
version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "486d44227f71a1ef39554c0dc47e44b9f4139927c75043312690c3f476d1d788"
checksum = "c85525306c4291d1b73ce93c8acf9c339f9b213aef6c1d85c3830cbf1c16325c"
dependencies = [
"bitflags",
"crossterm_winapi",
"crossterm_winapi 0.9.0",
"libc",
"mio",
"parking_lot",
@ -243,6 +243,15 @@ dependencies = [
"winapi",
]
[[package]]
name = "crossterm_winapi"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ae1b35a484aa10e07fe0638d02301c5ad24de82d310ccbd2f3693da5f09bf1c"
dependencies = [
"winapi",
]
[[package]]
name = "csv"
version = "1.1.6"
@ -408,9 +417,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
version = "0.2.103"
version = "0.2.105"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6"
checksum = "869d572136620d55835903746bcb5cdc54cb2851fd0aeec53220b4bb65ef3013"
[[package]]
name = "linked-hash-map"
@ -509,9 +518,9 @@ dependencies = [
[[package]]
name = "mlua"
version = "0.6.4"
version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34a8d7d9e39238b946f1baf17e710739a07dbcb8339aaf801f8a2ad1c40e4a68"
checksum = "4235d7e740d73d7429df6f176c81b248f05c39d67264d45a7d8cecb67c227f6f"
dependencies = [
"bstr",
"cc",
@ -1091,14 +1100,14 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "xplr"
version = "0.15.0"
version = "0.15.1"
dependencies = [
"ansi-to-tui",
"anyhow",
"assert_cmd",
"chrono",
"criterion",
"crossterm 0.21.0",
"crossterm 0.22.1",
"dirs",
"humansize",
"indexmap",

View File

@ -1,6 +1,6 @@
[package]
name = "xplr"
version = "0.15.0" # Update lua.rs
version = "0.15.1" # Update lua.rs
authors = ["Arijit Basu <sayanarijit@gmail.com>"]
edition = "2018"
description = "A hackable, minimal, fast TUI file explorer"
@ -20,7 +20,7 @@ name = "xplr"
[dependencies]
tui = { version = "0.16.0", default-features = false, features = ['crossterm', 'serde'] }
crossterm = "0.21.0"
crossterm = "0.22.1"
dirs = "4.0.0"
serde = { version = "1.0.130", features = ["derive"] }
serde_yaml = "0.8.21"
@ -31,13 +31,13 @@ lazy_static = "1.4.0"
indexmap = { version = "1.7.0", features = ["serde"] }
natord = "1.0.9"
humansize = "1.1.1"
mlua = { version = "0.6.4", features = ["luajit", "vendored", "serialize", "send"] }
mlua = { version = "0.6.6", features = ["luajit", "vendored", "serialize", "send"] }
ansi-to-tui = "0.4.1"
libc = "0.2.103"
libc = "0.2.105"
[dev-dependencies]
criterion = "0.3.5"
assert_cmd = "2.0.1"
assert_cmd = "2.0.2"
[[bench]]
name = "criterion"

View File

@ -45,7 +45,7 @@ compatibility.
### Instructions
#### [v0.14.7][3] -> [v0.15.0][43]
#### [v0.14.7][3] -> [v0.15.1][43]
- Deprecated `config` field from `CallLua` argument. Use the globally available
`xplr.config` instead.
@ -277,4 +277,4 @@ Else do the following:
[40]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.8
[41]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.0
[42]: https://github.com/sayanarijit/xplr/releases/tag/v0.14.4
[43]: https://github.com/sayanarijit/xplr/releases/tag/v0.15.0
[43]: https://github.com/sayanarijit/xplr/releases/tag/v0.15.1

View File

@ -133,25 +133,25 @@ mod test {
assert!(check_version(VERSION, "foo path").is_ok());
// Current release if OK
assert!(check_version("0.15.0", "foo path").is_ok());
assert!(check_version("0.15.1", "foo path").is_ok());
// Prev major release is ERR
// - Not yet
// Prev minor release is ERR (Change when we get to v1)
assert!(check_version("0.14.0", "foo path").is_err());
assert!(check_version("0.14.1", "foo path").is_err());
// Prev bugfix release is OK
// assert!(check_version("0.15.-1", "foo path").is_ok());
assert!(check_version("0.15.0", "foo path").is_ok());
// Next major release is ERR
assert!(check_version("1.15.0", "foo path").is_err());
assert!(check_version("1.15.1", "foo path").is_err());
// Next minor release is ERR
assert!(check_version("0.16.0", "foo path").is_err());
assert!(check_version("0.16.1", "foo path").is_err());
// Next bugfix release is ERR (Change when we get to v1)
assert!(check_version("0.15.1", "foo path").is_err());
assert!(check_version("0.15.2", "foo path").is_err());
}
#[test]