Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump for Nu 0.98 #28

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: test suite
on: [push, pull_request]
env:
NU_VERSION: 0.97.1
NU_VERSION: 0.98.0

jobs:
test:
Expand Down
97 changes: 37 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ readme = "README.md"
[dependencies]
anyhow = "1.0.86"
itertools = "0.13.0"
nu-plugin = "0.97.1"
nu-protocol = "0.97.1"
nu-plugin = "0.98.0"
nu-protocol = "0.98.0"
once_cell = "1.19.0"
rust-embed = "8.5.0"
serde = "1.0.208"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The following versions are compatible.
| 0.95 | 0.11.0 |
| 0.96 | 0.12.1 |
| 0.97 | 0.13.0 |
| 0.98 | 0.14.0 |

If you find a new version of Nushell rejects this plugin as incompatible, please report an [issue](https://github.com/tesujimath/nu_plugin_bash_env/issues).

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ impl PluginCommand for BashEnv {
"bash-env"
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"get environment variables from Bash format file and/or stdin"
}

fn signature(&self) -> Signature {
Signature::build(PluginCommand::name(self))
.usage("get environment variables from Bash format file and/or stdin")
.description("get environment variables from Bash format file and/or stdin")
.category(Category::Env)
.optional("path", SyntaxShape::String, "path to environment file")
.named(
Expand Down