Skip to content

Commit

Permalink
prepare release 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeo committed Mar 7, 2023
1 parent 0e53814 commit 47599b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resolver = "2"

[package]
name = "lade"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "Automatically load secrets from your preferred vault as environment variables, and clear them once your shell command is over."
license = "MPL-2.0"
Expand All @@ -24,7 +24,7 @@ serde = { version = "1.0.152", features = ["derive"] }
serde_yaml = "0.9.17"
clap = { version = "4.1.6", features = ["derive"] }
regex = "1.7.1"
lade-sdk = { path = "./sdk", version = "0.3.0" }
lade-sdk = { path = "./sdk", version = "0.3.1" }
tokio = { version = "1", features = ["full"] }
indexmap = { version = "1.9.2", features = ["serde"] }
clap-verbosity-flag = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lade-sdk"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "Lade SDK"
license = "MPL-2.0"
Expand Down
4 changes: 3 additions & 1 deletion sdk/src/providers/onepassword.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ impl Provider for OnePassword {
let json = serde_json::to_string(
&vars
.iter()
.map(|(k, v)| (k, v.replace(&format!("{host}/"), "")))
.map(|(k, v)| {
(k, v.replace(&format!("{host}/"), "").replace("%20", " "))
})
.collect::<HashMap<_, _>>(),
)?;
let cmd = &["op", "inject", "--account", &host.to_string()];
Expand Down

0 comments on commit 47599b6

Please sign in to comment.