{"id":28865302,"url":"https://github.com/configcat/openfeature-ruby","last_synced_at":"2026-04-10T05:02:53.475Z","repository":{"id":299092740,"uuid":"990557515","full_name":"configcat/openfeature-ruby","owner":"configcat","description":"ConfigCat OpenFeature Provider for Ruby.","archived":false,"fork":false,"pushed_at":"2025-06-14T16:14:30.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-14T16:47:54.659Z","etag":null,"topics":["configcat","feature-flagging","feature-flags","feature-toggles","open-feature","openfeature","ruby"],"latest_commit_sha":null,"homepage":"https://configcat.com/docs/sdk-reference/openfeature/ruby","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/configcat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-26T09:45:56.000Z","updated_at":"2025-06-14T16:19:27.000Z","dependencies_parsed_at":"2025-06-14T16:48:13.949Z","dependency_job_id":"01e6aa0b-d451-4dce-bef5-7ab852deb4ae","html_url":"https://github.com/configcat/openfeature-ruby","commit_stats":null,"previous_names":["configcat/openfeature-ruby"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/configcat/openfeature-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/configcat","download_url":"https://codeload.github.com/configcat/openfeature-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260924191,"owners_count":23083505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configcat","feature-flagging","feature-flags","feature-toggles","open-feature","openfeature","ruby"],"created_at":"2025-06-20T10:01:42.472Z","updated_at":"2026-04-10T05:02:53.463Z","avatar_url":"https://github.com/configcat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConfigCat OpenFeature Provider for Ruby\n\n[![Build Status](https://github.com/configcat/openfeature-ruby/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/configcat/openfeature-ruby/actions/workflows/ci.yml)\n[![Gem Version](https://badge.fury.io/rb/configcat-openfeature-provider.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/configcat-openfeature-provider)\n\nThis repository contains an OpenFeature provider that allows [ConfigCat](https://configcat.com) to be used with the [OpenFeature Ruby SDK](https://github.com/open-feature/ruby-sdk).\n\n## Requirements\n- Ruby \u003e= 3.1\n\n## Installation\n\n```sh\ngem install configcat-openfeature-provider\n```\n\n## Usage\n\nThe initializer of `ConfigCat::OpenFeature::Provider` takes the SDK key and an optional `ConfigCat::ConfigCatOptions` argument containing the additional configuration options for the [ConfigCat Ruby SDK](https://github.com/configcat/ruby-sdk):\n\n```ruby\nrequire \"configcat-openfeature-provider\"\n\n# Configure the OpenFeature API with the ConfigCat provider.\nOpenFeature::SDK.configure do |config|\n  config.set_provider(ConfigCat::OpenFeature::Provider.new(\n    sdk_key: \"\u003cYOUR-CONFIGCAT-SDK-KEY\u003e\",\n    # Build options for the ConfigCat SDK.\n    options: ConfigCat::ConfigCatOptions.new(\n      polling_mode: ConfigCat::PollingMode.auto_poll,\n      offline: false\n    )))\nend\n\n# Create a client.\nclient = OpenFeature::SDK.build_client\n\n# Evaluate feature flag.\nflag_value = client.fetch_boolean_value(\n  flag_key: \"isMyAwesomeFeatureEnabled\",\n  default_value: false\n)\n```\n\nFor more information about all the configuration options, see the [Ruby SDK documentation](https://configcat.com/docs/sdk-reference/ruby/#creating-the-configcat-client).\n\n## Need help?\nhttps://configcat.com/support\n\n## Contributing\nContributions are welcome. For more info please read the [Contribution Guideline](CONTRIBUTING.md).\n\n## About ConfigCat\nConfigCat is a feature flag and configuration management service that lets you separate releases from deployments. You can turn your features ON/OFF using \u003ca href=\"https://app.configcat.com\" target=\"_blank\"\u003eConfigCat Dashboard\u003c/a\u003e even after they are deployed. ConfigCat lets you target specific groups of users based on region, email or any other custom user attribute.\n\nConfigCat is a \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003ehosted feature flag service\u003c/a\u003e. Manage feature toggles across frontend, backend, mobile, desktop apps. \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003eAlternative to LaunchDarkly\u003c/a\u003e. Management app + feature flag SDKs.\n\n- [Official ConfigCat SDKs for other platforms](https://github.com/configcat)\n- [Documentation](https://configcat.com/docs)\n- [Blog](https://configcat.com/blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfigcat%2Fopenfeature-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-ruby/lists"}