openfeature-flagd-provider 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +2 -2
- data/lib/openfeature/flagd/provider/client.rb +1 -6
- data/lib/openfeature/flagd/provider/version.rb +1 -1
- data/openfeature-flagd-provider.gemspec +4 -4
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eca7853778f930415316ea591b37bee1359272200f61cbee27b88c8c179ed18b
|
4
|
+
data.tar.gz: 1d450ec59e664f651379ce9b795b6e7f4f41c2cd703cb2df7b7449add174f718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2843853da13c26094a8c1325792816dd597585258c42c5eb888b185f1a027a48a587244292bd94b70c7748e3c0ce28b683cf619843426a7a0303e3fe21048b6
|
7
|
+
data.tar.gz: 055e81b97c65b368e31168d8a47a699adb0c9d1c0325e405ed1e50473b242293ba4b8c1eb5d804b338221020617222799ce6bfa2726a5932d3f79b3e89125aba
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.1](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-flagd-provider/v0.1.0...openfeature-flagd-provider/v0.1.1) (2024-07-11)
|
4
|
+
|
5
|
+
|
6
|
+
### ✨ New Features
|
7
|
+
|
8
|
+
* Use integer and float specific resolver methods ([#26](https://github.com/open-feature/ruby-sdk-contrib/issues/26)) ([6baa243](https://github.com/open-feature/ruby-sdk-contrib/commit/6baa243f7586d65796fdba9a567352c66d100fde))
|
9
|
+
|
10
|
+
|
11
|
+
### 🧹 Chore
|
12
|
+
|
13
|
+
* **flagd:** update spec metadata links ([#36](https://github.com/open-feature/ruby-sdk-contrib/issues/36)) ([400d625](https://github.com/open-feature/ruby-sdk-contrib/commit/400d6254c164b8c3623bf2b18c5bea66580b0b1a))
|
14
|
+
|
3
15
|
## [0.1.0](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-flagd-provider-v0.0.1...openfeature-flagd-provider/v0.1.0) (2024-05-16)
|
4
16
|
|
5
17
|
|
data/Gemfile.lock
CHANGED
@@ -47,12 +47,7 @@ module OpenFeature
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def fetch_number_value(flag_key:, default_value:, evaluation_context: nil)
|
50
|
-
|
51
|
-
when Integer
|
52
|
-
fetch_integer_value(flag_key: flag_key, default_value: default_value, evaluation_context: evaluation_context)
|
53
|
-
when Float
|
54
|
-
fetch_float_value(flag_key: flag_key, default_value: default_value, evaluation_context: evaluation_context)
|
55
|
-
end
|
50
|
+
raise "fetch_number_value is not supported by flagd"
|
56
51
|
end
|
57
52
|
|
58
53
|
def fetch_integer_value(flag_key:, default_value:, evaluation_context: nil)
|
@@ -10,15 +10,15 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "The flagd provider for the OpenFeature Ruby SDK"
|
12
12
|
spec.description = "The flagd provider for the OpenFeature Ruby SDK"
|
13
|
-
spec.homepage = "https://github.com/open-feature/ruby-sdk-contrib/providers/openfeature-flagd-provider"
|
13
|
+
spec.homepage = "https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider"
|
14
14
|
spec.license = "Apache-2.0"
|
15
15
|
spec.required_ruby_version = ">= 3.1"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
spec.metadata["source_code_uri"] = "https://github.com/open-feature/ruby-sdk-contrib/providers/openfeature-flagd-provider"
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider"
|
19
19
|
spec.metadata["changelog_uri"] = "https://github.com/open-feature/ruby-sdk-contrib/blob/main/providers/openfeature-flagd-provider/CHANGELOG.md"
|
20
20
|
spec.metadata["bug_tracker_uri"] = "https://github.com/open-feature/ruby-sdk-contrib/issues"
|
21
|
-
spec.metadata["documentation_uri"] = "https://github.com/open-feature/ruby-sdk-contrib/README.md"
|
21
|
+
spec.metadata["documentation_uri"] = "https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider/README.md"
|
22
22
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
32
|
spec.add_runtime_dependency "grpc", "~> 1.50"
|
33
|
-
spec.add_runtime_dependency "openfeature-sdk", "~> 0.3"
|
33
|
+
spec.add_runtime_dependency "openfeature-sdk", "~> 0.3.1"
|
34
34
|
|
35
35
|
spec.add_development_dependency "rake", "~> 13.0"
|
36
36
|
spec.add_development_dependency "rspec", "~> 3.12.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openfeature-flagd-provider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenFeature Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.3.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.3.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,15 +123,15 @@ files:
|
|
123
123
|
- lib/openfeature/flagd/provider/flagd/sync/v1/sync_services_pb.rb
|
124
124
|
- lib/openfeature/flagd/provider/version.rb
|
125
125
|
- openfeature-flagd-provider.gemspec
|
126
|
-
homepage: https://github.com/open-feature/ruby-sdk-contrib/providers/openfeature-flagd-provider
|
126
|
+
homepage: https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider
|
127
127
|
licenses:
|
128
128
|
- Apache-2.0
|
129
129
|
metadata:
|
130
|
-
homepage_uri: https://github.com/open-feature/ruby-sdk-contrib/providers/openfeature-flagd-provider
|
131
|
-
source_code_uri: https://github.com/open-feature/ruby-sdk-contrib/providers/openfeature-flagd-provider
|
130
|
+
homepage_uri: https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider
|
131
|
+
source_code_uri: https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider
|
132
132
|
changelog_uri: https://github.com/open-feature/ruby-sdk-contrib/blob/main/providers/openfeature-flagd-provider/CHANGELOG.md
|
133
133
|
bug_tracker_uri: https://github.com/open-feature/ruby-sdk-contrib/issues
|
134
|
-
documentation_uri: https://github.com/open-feature/ruby-sdk-contrib/README.md
|
134
|
+
documentation_uri: https://github.com/open-feature/ruby-sdk-contrib/tree/main/providers/openfeature-flagd-provider/README.md
|
135
135
|
post_install_message:
|
136
136
|
rdoc_options: []
|
137
137
|
require_paths:
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.5.
|
150
|
+
rubygems_version: 3.5.11
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: The flagd provider for the OpenFeature Ruby SDK
|