From f8114ab16ca7fc19ef04f68f36077d094e2f6dc6 Mon Sep 17 00:00:00 2001 From: Robyn MacCallum Date: Wed, 13 Dec 2023 10:24:31 -0500 Subject: [PATCH 1/2] Update Changelog with env output item (#429) ## Type of change ``` - [ ] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [x] Other ``` ## Objective Add env output item in the changelog ## Before you submit - Please add **unit tests** where it makes sense to do so (encouraged but not required) --- crates/bws/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/bws/CHANGELOG.md b/crates/bws/CHANGELOG.md index 2dc71f152..3ae1d9009 100644 --- a/crates/bws/CHANGELOG.md +++ b/crates/bws/CHANGELOG.md @@ -7,6 +7,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added + +- Ability to output secrets in an `env` format with `bws` (#320) + ## [0.3.1] - 2023-10-13 ### Added From a8ebf5acef922ddc642b8ab4566b78711981ed50 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 14 Dec 2023 13:19:49 +0100 Subject: [PATCH 2/2] Tweak ruby to not emit null in settings (#432) --- languages/ruby/bitwarden_sdk/lib/bitwarden-sdk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/ruby/bitwarden_sdk/lib/bitwarden-sdk.rb b/languages/ruby/bitwarden_sdk/lib/bitwarden-sdk.rb index c2ce7e576..b023402da 100644 --- a/languages/ruby/bitwarden_sdk/lib/bitwarden-sdk.rb +++ b/languages/ruby/bitwarden_sdk/lib/bitwarden-sdk.rb @@ -37,7 +37,7 @@ def initialize(bitwarden_settings) ) @bitwarden = BitwardenLib - @handle = @bitwarden.init(client_settings.to_json) + @handle = @bitwarden.init(client_settings.to_dynamic.compact.to_json) @command_runner = CommandRunner.new(@bitwarden, @handle) @project_client = ProjectsClient.new(@command_runner) @secrets_client = SecretsClient.new(@command_runner)