OpenFeature Ruby SDK Contributions
Community-contributed providers and hooks for the OpenFeature Ruby SDK.
Providers
| Provider | Version | Description |
|---|---|---|
| flagd | 0.1.4 | gRPC-based flagd provider |
| Flagsmith | 0.1.1 | Flagsmith provider |
| Flipt | 0.0.2 | Flipt provider |
| GO Feature Flag | 0.1.10 | GO Feature Flag provider |
| Meta Provider | 0.0.5 | Combines multiple providers with strategy-based evaluation |
| OFREP | 0.1.0 | OFREP (OpenFeature Remote Evaluation Protocol) provider |
Hooks
| Hook | Version | Description |
|---|---|---|
| OpenTelemetry | 0.1.0 | Traces and metrics via OpenTelemetry |
Supported Ruby Versions
Ruby >= 3.4 (tested on 3.4 and 4.0)
Quick Start
Add the desired provider gem to your Gemfile:
Then configure the OpenFeature SDK:
require "openfeature/flagd/provider"
OpenFeature::SDK.configure do |config|
config.set_provider(OpenFeature::Flagd::Provider.new)
end
client = OpenFeature::SDK.build_client
value = client.fetch_boolean_value(flag_key: "my-flag", default_value: false)
See each provider's README for detailed configuration options.
Releases
This repo uses Release Please to release packages. Release Please sets up a running PR that tracks all changes for the library components, and maintains the versions according to conventional commits, generated when PRs are merged. When Release Please's running PR is merged, any changed artifacts are published.
Contributing
Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
License
Apache 2.0 - See LICENSE for more information.