Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

open-feature/ruby-sdk-contrib

Repository files navigation

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:

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.

About

Community contributions for hooks and reference providers in Ruby

Resources

Readme

License

Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Stars

Watchers

Forks

Packages

Contributors