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

Support for Nu 0.96 #23

Merged
merged 3 commits into from
Aug 4, 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.95.0
NU_VERSION: 0.96.1

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The following versions are compatible.
| 0.93 | 0.9.0 |
| 0.94 | 0.10.0 |
| 0.95 | 0.11.0 |
| 0.96 | 0.12.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 api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ repository = "https://github.com/tesujimath/nu_plugin_bash_env"
readme = "README.md"

[dependencies]
nu-plugin = "0.95.0"
nu-protocol = "0.95.0"
nu-plugin = "0.96.1"
nu-protocol = "0.96.1"
2 changes: 1 addition & 1 deletion nu_plugin_bash_env
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.

VERSION="0.11.0"
PROTOCOL_VERSION="0.95.0"
PROTOCOL_VERSION="0.96.1"

shopt -s extglob

Expand Down
4 changes: 2 additions & 2 deletions tests.nu
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ def test_simple_file [] {

#[test]
def test_cat_simple_file [] {
let actual = cat tests/simple.env | bash-env
let actual = cat tests/simple.env | bash-env
let expected = { A: "a" B: "b" }
assert equal $actual $expected
}

#[test]
def test_nasty_values_from_file [] {
let actual = bash-env "tests/Ming's menu of (merciless) monstrosities.env"
let expected = {
let expected = {
SPACEMAN: "One small step for a man ..."
QUOTE: "\"Well done!\" is better than \"Well said!\""
MIXED_BAG: "Did the sixth sheik's sixth sheep say \"baa\", or not?"
Expand Down