Skip to content

Commit

Permalink
chore: update link to use new doc domain (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
beeme1mr authored Apr 2, 2024
1 parent 88436c7 commit 9baff65
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
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

0 comments on commit 9baff65

Please sign in to comment.