Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,12 @@ jobs:

test_otel_hook:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.ruby-version == 'head' }}
defaults:
run:
working-directory: ./hooks/openfeature-otel-hook
strategy:
fail-fast: false
matrix:
ruby-version:
- "3.4"
Expand Down
2 changes: 1 addition & 1 deletion hooks/openfeature-otel-hook/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ DEPENDENCIES
standard (~> 1.0)

BUNDLED WITH
2.7.1
4.0.11
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@
)
end

expect(fetch_value_with_targeting_key.call("1234")).to eq("#b91c1c")
expect(fetch_value_with_targeting_key.call("qwe")).to eq("#0284c7")
expect(fetch_value_with_targeting_key.call("abcd")).to eq("#16a34a")
expect(fetch_value_with_targeting_key.call("rfv")).to eq("#b91c1c")
expect(fetch_value_with_targeting_key.call("alice")).to eq("#b91c1c")
expect(fetch_value_with_targeting_key.call("bob")).to eq("#0284c7")
expect(fetch_value_with_targeting_key.call("charlie")).to eq("#16a34a")
expect(fetch_value_with_targeting_key.call("dave")).to eq("#4b5563")
end
end

Expand Down
Loading