Skip to content

Commit 05dc74f

Browse files
committed
Update README.md
- Add gem version badge - Add build status to README Signed-off-by: Jose Miguel Colella <[email protected]> Signed-off-by: Jose Colella <[email protected]>
1 parent 90e2b17 commit 05dc74f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![a](https://img.shields.io/badge/slack-%40cncf%2Fopenfeature-brightgreen?style=flat&logo=slack)](https://cloud-native.slack.com/archives/C0344AANLA1)
44
[![v0.5.1](https://img.shields.io/static/v1?label=Specification&message=v0.5.1&color=yellow)](https://github.com/open-feature/spec/tree/v0.5.1)
55
![Ruby](https://img.shields.io/badge/ruby-%23CC342D.svg?style=for-the-badge&logo=ruby&logoColor=white)
6+
![Build](https://github.com/open-feature/openfeature-ruby/actions/workflows/main.yml/badge.svg?branch=main)
7+
![Gem version](https://img.shields.io/gem/v/openfeature-sdk)
68

79
This is the Ruby implementation of [OpenFeature](https://openfeature.dev), a vendor-agnostic abstraction library for evaluating feature flags.
810

@@ -55,7 +57,7 @@ const float_value = client.fetch_number_value(flag_key: 'number_value', default_
5557
const integer_value = client.fetch_number_value(flag_key: 'number_value', default_value: 1);
5658

5759
// get an object value
58-
const object = await client.fetch_object_value('object_value', JSON.dump({ name: 'object'}));
60+
const object = client.fetch_object_value('object_value', JSON.dump({ name: 'object'}));
5961
```
6062

6163
For complete documentation, visit: https://docs.openfeature.dev/docs/category/concepts

0 commit comments

Comments
 (0)