From ccb0b16b1f61adace9ecf5d239da077149af23fd Mon Sep 17 00:00:00 2001 From: Simon Guest Date: Sun, 4 Aug 2024 15:13:53 +1200 Subject: [PATCH 1/3] Support for Nu 0.96 --- api/Cargo.toml | 4 ++-- nu_plugin_bash_env | 2 +- tests.nu | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/Cargo.toml b/api/Cargo.toml index 204d9f0..7266e31 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -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" diff --git a/nu_plugin_bash_env b/nu_plugin_bash_env index 69b5f73..d8c2ca5 100755 --- a/nu_plugin_bash_env +++ b/nu_plugin_bash_env @@ -23,7 +23,7 @@ # SOFTWARE. VERSION="0.11.0" -PROTOCOL_VERSION="0.95.0" +PROTOCOL_VERSION="0.96.1" shopt -s extglob diff --git a/tests.nu b/tests.nu index e52c3d3..174a785 100644 --- a/tests.nu +++ b/tests.nu @@ -61,7 +61,7 @@ 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 } @@ -69,7 +69,7 @@ def test_cat_simple_file [] { #[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?" From b634bbc434014e4f0373d3eb0e7dcf4eb7dd8ece Mon Sep 17 00:00:00 2001 From: Simon Guest Date: Sun, 4 Aug 2024 15:16:54 +1200 Subject: [PATCH 2/3] Update version compatability list in README Fixes #22 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d5b681d..ecd55a7 100644 --- a/README.md +++ b/README.md @@ -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). From 95141083bc10f4184a813f089867d16e13cff9e8 Mon Sep 17 00:00:00 2001 From: Simon Guest Date: Sun, 4 Aug 2024 15:19:26 +1200 Subject: [PATCH 3/3] Bump Nu version in CI/CD tests --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index e18b6a4..ec484af 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -1,7 +1,7 @@ name: test suite on: [push, pull_request] env: - NU_VERSION: 0.95.0 + NU_VERSION: 0.96.1 jobs: test: