diff --git a/providers/openfeature-flagd-provider/README.md b/providers/openfeature-flagd-provider/README.md index e8cdb10..ab5ea6f 100644 --- a/providers/openfeature-flagd-provider/README.md +++ b/providers/openfeature-flagd-provider/README.md @@ -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: diff --git a/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider.rb b/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider.rb index a993bae..21b134a 100644 --- a/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider.rb +++ b/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider.rb @@ -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 # diff --git a/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider/client.rb b/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider/client.rb index 20c6464..253f204 100644 --- a/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider/client.rb +++ b/providers/openfeature-flagd-provider/lib/openfeature/flagd/provider/client.rb @@ -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: diff --git a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider/client_spec.rb b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider/client_spec.rb index 93f03a3..c65c94b 100644 --- a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider/client_spec.rb +++ b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider/client_spec.rb @@ -2,12 +2,12 @@ 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) @@ -15,7 +15,7 @@ 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) @@ -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, diff --git a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb index 58707b0..7512f5a 100644 --- a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb +++ b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb @@ -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 @@ -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)