OpenFeature Ruby SDK Contributions

March 9, 2026 ยท View on GitHub

CI License Ruby

Community-contributed providers and hooks for the OpenFeature Ruby SDK.

Providers

ProviderVersionDescription
flagd0.1.4gRPC-based flagd provider
Flagsmith0.1.1Flagsmith provider
Flipt0.0.2Flipt provider
GO Feature Flag0.1.10GO Feature Flag provider
Meta Provider0.0.5Combines multiple providers with strategy-based evaluation
OFREP0.1.0OFREP (OpenFeature Remote Evaluation Protocol) provider

Hooks

HookVersionDescription
OpenTelemetry0.1.0Traces 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:

gem "openfeature-flagd-provider"

Then configure the OpenFeature SDK:

require "open_feature/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.