Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update link to use new doc domain #12

Merged
merged 1 commit into from
Apr 2, 2024
Merged
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: 1 addition & 1 deletion providers/openfeature-flagd-provider/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenFeature FlagD Provider for Ruby

This is the Ruby [provider](https://docs.openfeature.dev/docs/specification/sections/providers) implementation of the [FlagD](https://github.com/open-feature/flagd)
This is the Ruby [provider](https://openfeature.dev/docs/specification/sections/providers) implementation of the [FlagD](https://github.com/open-feature/flagd)
## Installation

Add this line to your application's Gemfile:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module OpenFeature
module FlagD
# Provider represents the entry point for interacting with the FlagD provider
# values. The implementation follows the details specified in https://docs.openfeature.dev/docs/specification/sections/providers
# values. The implementation follows the details specified in https://openfeature.dev/docs/specification/sections/providers
#
# Provider contains functionality to configure the GRPC connection via
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module OpenFeature
module FlagD
module Provider
# Client represents a wrapper for the GRPC stub that allows for resolution of boolean, string, number, and object
# values. The implementation follows the details specified in https://docs.openfeature.dev/docs/specification/sections/providers
# values. The implementation follows the details specified in https://openfeature.dev/docs/specification/sections/providers
#
#
# The Client provides the following methods and attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

require "spec_helper"

# https://docs.openfeature.dev/docs/specification/sections/providers
# https://openfeature.dev/docs/specification/sections/providers
RSpec.describe OpenFeature::FlagD::Provider::Client do
let(:configuration) { OpenFeature::FlagD::Provider::Configuration.default_config }
subject(:client) { described_class.new(configuration: configuration) }

context "https://docs.openfeature.dev/docs/specification/sections/providers#requirement-211" do
context "https://openfeature.dev/docs/specification/sections/providers#requirement-211" do
it do
expect(client).to respond_to(:metadata)
expect(client.metadata).to respond_to(:name)
expect(client.metadata.name).to eq("flagd Provider")
end
end

context "https://docs.openfeature.dev/docs/specification/sections/providers#requirement-221" do
context "https://openfeature.dev/docs/specification/sections/providers#requirement-221" do
it do
expect(client).to respond_to(:resolve_boolean_value).with_keywords(:flag_key, :default_value, :context)
expect(client).to respond_to(:resolve_integer_value).with_keywords(:flag_key, :default_value, :context)
Expand All @@ -25,7 +25,7 @@
end
end

context "https://docs.openfeature.dev/docs/specification/sections/providers#requirement-227" do
context "https://openfeature.dev/docs/specification/sections/providers#requirement-227" do
it do
expect(client.resolve_boolean_value(flag_key: "some-non-existant-flag", default_value: false)).to include(
value: nil,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "spec_helper"

# https://docs.openfeature.dev/docs/specification/sections/providers
# https://openfeature.dev/docs/specification/sections/providers

RSpec.describe OpenFeature::FlagD::Provider do
context "#configure" do
Expand Down Expand Up @@ -68,7 +68,7 @@
end
end

# https://docs.openfeature.dev/docs/specification/sections/providers#requirement-211
# https://openfeature.dev/docs/specification/sections/providers#requirement-211
context "#metadata" do
it "metadata name is defined" do
expect(described_class).to respond_to(:metadata)
Expand Down