open-feature / ruby-sdk

Ruby implementation of the OpenFeature SDK
https://openfeature.dev
Apache License 2.0
23 stars 8 forks source link

feat!: Implement Requirement 1.1.3 #80

Closed maxveldink closed 6 months ago

maxveldink commented 11 months ago

This PR

Only the last four commits will be merged in with this PR. The others are waiting on #77 and #78.

Follow-up Tasks

In subsequent PRs, I'll continue on the flag evaluation specifications.

How to test

Open a console and play around with the set_provider method on the API. If no name is provided, the default provider will be replaced. If a name is provided, the provider will be registered using that name. If the same name is provided, the provider will be overridden.

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.39%. Comparing base (25680a4) to head (14b7791).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #80 +/- ## ======================================= Coverage 99.39% 99.39% ======================================= Files 12 12 Lines 164 166 +2 ======================================= + Hits 163 165 +2 Misses 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

maxveldink commented 6 months ago

@open-feature/sdk-ruby-maintainers Would love to get this merged in soon as well if anyone has some time for a review!

beeme1mr commented 6 months ago

I updated the PR title to mark it as a breaking change.