|
22 | 22 | </a> |
23 | 23 |
|
24 | 24 | <!-- x-release-please-end --> |
| 25 | + <a href="https://github.com/open-feature/ruby-sdk/actions/workflows/main.yml"> |
| 26 | + <img alt="Build" src="https://img.shields.io/github/actions/workflow/status/open-feature/ruby-sdk/main.yml?style=for-the-badge" /> |
| 27 | + </a> |
| 28 | + <a href="https://rubygems.org/gems/openfeature-sdk"> |
| 29 | + <img alt="Gem Version" src="https://img.shields.io/gem/v/openfeature-sdk?style=for-the-badge&color=red" /> |
| 30 | + </a> |
| 31 | + <a href="https://codecov.io/gh/open-feature/ruby-sdk"> |
| 32 | + <img alt="Code Coverage" src="https://img.shields.io/codecov/c/github/open-feature/ruby-sdk?style=for-the-badge" /> |
| 33 | + </a> |
25 | 34 | <br/> |
26 | 35 | <a href="https://bestpractices.coreinfrastructure.org/projects/9337"> |
27 | 36 | <img alt="CII Best Practices" src="https://bestpractices.coreinfrastructure.org/projects/9337/badge" /> |
|
41 | 50 | | Ruby 3.4.x | Windows, MacOS, Linux | |
42 | 51 | | Ruby 4.0.x | Windows, MacOS, Linux | |
43 | 52 |
|
| 53 | +This project supports all Ruby versions in active maintenance per the [Ruby maintenance schedule](https://www.ruby-lang.org/en/downloads/branches/). |
| 54 | + |
44 | 55 | ### Install |
45 | 56 |
|
46 | 57 | Install the gem and add to the application's Gemfile by executing: |
@@ -115,6 +126,16 @@ object = client.fetch_object_value(flag_key: 'object_value', default_value: { na |
115 | 126 |
|
116 | 127 | [Providers](https://openfeature.dev/docs/reference/concepts/provider) are an abstraction between a flag management system and the OpenFeature SDK. |
117 | 128 | Look [here](https://openfeature.dev/ecosystem?instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Provider&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=Ruby) for a complete list of available providers. |
| 129 | + |
| 130 | +#### Known Providers |
| 131 | + |
| 132 | +| Provider | Package | |
| 133 | +|----------|---------| |
| 134 | +| flagd | [openfeature-flagd-provider](https://rubygems.org/gems/openfeature-flagd-provider) | |
| 135 | +| Flipt | [openfeature-flipt-provider](https://rubygems.org/gems/openfeature-flipt-provider) | |
| 136 | +| Flagsmith | [openfeature-flagsmith-provider](https://rubygems.org/gems/openfeature-flagsmith-provider) | |
| 137 | +| GO Feature Flag | [openfeature-go-feature-flag-provider](https://rubygems.org/gems/openfeature-go-feature-flag-provider) | |
| 138 | + |
118 | 139 | If the provider you're looking for hasn't been created yet, see the [develop a provider](#develop-a-provider) section to learn how to build it yourself. |
119 | 140 |
|
120 | 141 | Once you've added a provider as a dependency, it can be registered with OpenFeature like this: |
|
0 commit comments