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

SM-1092: Add SM State to the Ruby SDK Wrapper #565

Closed
wants to merge 4 commits into from
Closed

Conversation

coltonhurst
Copy link
Member

@coltonhurst coltonhurst commented Jan 30, 2024

Type of change

- [ ] Bug fix
- [x] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

Add the ability to easily use SM state in Ruby to the bitwarden-sdk gem.

Code changes

  • bitwarden-sdk.rb: Add the state file param to access_token_login
  • example.rb: Get the SM state path from the ENV variable and use it in access_token_login

Before you submit

  • Please add unit tests where it makes sense to do so

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@1595306). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #565   +/-   ##
=======================================
  Coverage        ?   57.76%           
=======================================
  Files           ?      168           
  Lines           ?     9912           
  Branches        ?        0           
=======================================
  Hits            ?     5726           
  Misses          ?     4186           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bitwarden-bot
Copy link

bitwarden-bot commented Jan 31, 2024

Logo
Checkmarx One – Scan Summary & Details34b66dd4-949c-4524-8f4f-27f58737bfc1

No New Or Fixed Issues Found

@coltonhurst coltonhurst self-assigned this Jan 31, 2024
@coltonhurst coltonhurst added the hold do not merge, do not approve yet label Feb 6, 2024
@coltonhurst
Copy link
Member Author

Putting this on hold until there is a conclusion from #559 and #587

Thomas-Avery added a commit that referenced this pull request Feb 21, 2024
## Type of change

<!-- (mark with an `X`) -->

```
- [ ] Bug fix
- [ ] New feature development
- [x] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other
```

## Objective

<!--Describe what the purpose of this PR is. For example: what bug
you're fixing or what new feature you're adding-->

Rename the ruby sdk to `bitwarden-sdk-secrets` to denote it's the
secrets manager SDK. Updates the

Also includes #565 since it won't run without that change.

## Before you submit

- Please add **unit tests** where it makes sense to do so

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
@coltonhurst
Copy link
Member Author

Closing as #618 included this change.

@coltonhurst coltonhurst deleted the sm/sm-1092 branch August 26, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold do not merge, do not approve yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants