openfeature-flagd-provider 0.2.0 โ†’ 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d82a6d06fedbd2c998ecf58f03c5d2cceaef75ca85ff9959fd2a5d6471301a31
4
- data.tar.gz: 7e338fb28c1fbff19f0e6715f06e0eb725ecb33fcee2a44014fd0f9e805b33e6
3
+ metadata.gz: e35dbca17ecac1c9a5e05324984d81bf56bde5cfbcde0d7a225ec4f4ab8a4196
4
+ data.tar.gz: 0adaa717310e0d102d68601d6bd3b42d3b06e290b27ce9cc3436f024d1fc2bb1
5
5
  SHA512:
6
- metadata.gz: 8b8509614948c7b7cce54dc6954c85e0bce477c4d057841a5b90d7c0f3c41e7853e804bcd27f51580df2bc62c1f6008f4af4f3939a8d423b6172bf905a6a00a8
7
- data.tar.gz: 741557ab2732daaec94038356e961ef44e0bf66e97a5aa7904f203f14025c3254d607e31c4f3124e2154b97164df8a35788da22357abc259cf2455c8547d5906
6
+ metadata.gz: 6dc6c0ad74d31a789950dc094de48af816fabda1e42775d1bbc89e73ad005cda938619b892b882c5ecb834d63f532559d2826199b7cb0264000b193bb302dc16
7
+ data.tar.gz: 7ec53958b9fc797d249b42181aa9024e957ac41b9e89e3160e65935c077eb286fbafa0e996a3eaee9c098adf7ad819815f42b0801cb698aa3f5a8ea746a21835
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 4.0.9
1
+ 4.0.10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.2](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-flagd-provider/v0.2.1...openfeature-flagd-provider/v0.2.2) (2026-11-28)
4
+
5
+
6
+ ### ๐Ÿ› Bug Fixes
7
+
8
+ * repair failing CI on main (flagd, go-feature-flag, ofrep) ([#342](https://github.com/open-feature/ruby-sdk-contrib/issues/342)) ([87d3e42](https://github.com/open-feature/ruby-sdk-contrib/commit/87d3e420cf67674d7808499fb0c17ec1967c84ea))
9
+
10
+
11
+ ### ๐Ÿงน Chore
12
+
13
+ * **deps:** update dependency grpc to v1.85.4 ([#338](https://github.com/open-feature/ruby-sdk-contrib/issues/338)) ([04b33eb](https://github.com/open-feature/ruby-sdk-contrib/commit/04b33eb564fee4706d6fb447d06c31805c900e13))
14
+ * **deps:** update dependency grpc-tools to v1.85.4 ([#339](https://github.com/open-feature/ruby-sdk-contrib/issues/339)) ([840d91c](https://github.com/open-feature/ruby-sdk-contrib/commit/840d91cab6db75b3788fd0bbe24a644045358425))
15
+ * **deps:** update dependency openfeature-sdk to "~> 0.8.0" ([#305](https://github.com/open-feature/ruby-sdk-contrib/issues/305)) ([df4567b](https://github.com/open-feature/ruby-sdk-contrib/commit/df4567b1c429824f4a53d35ec919417c150dbb3d))
16
+ * **deps:** update dependency rspec to "~> 3.13.0" ([#306](https://github.com/open-feature/ruby-sdk-contrib/issues/306)) ([53ac7a3](https://github.com/open-feature/ruby-sdk-contrib/commit/53ac7a3ab73f62312646aa760e626edce8c7e4ff))
17
+ * **deps:** update dependency ruby to v4.0.10 ([#320](https://github.com/open-feature/ruby-sdk-contrib/issues/320)) ([3ba6f84](https://github.com/open-feature/ruby-sdk-contrib/commit/3ba6f84b07a0eaa56fadc9fae95dd2fd0dd12a3b))
18
+ * **deps:** update ghcr.io/open-feature/flagd docker tag to v0.19.0 ([#317](https://github.com/open-feature/ruby-sdk-contrib/issues/317)) ([48388e2](https://github.com/open-feature/ruby-sdk-contrib/commit/48388e2f4095546a23845f4fc528ec07d334f4c4))
19
+
20
+ ## [0.2.1](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-flagd-provider/v0.2.0...openfeature-flagd-provider/v0.2.1) (2026-11-09)
21
+
22
+
23
+ ### ๐Ÿงน Chore
24
+
25
+ * **deps:** lock file maintenance ([#296](https://github.com/open-feature/ruby-sdk-contrib/issues/296)) ([1bb9318](https://github.com/open-feature/ruby-sdk-contrib/commit/1bb9318c57711d56913e6ce8a78ed3e83fe67a15))
26
+
3
27
  ## [0.2.0](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-flagd-provider/v0.1.7...openfeature-flagd-provider/v0.2.0) (2026-11-02)
4
28
 
5
29
 
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openfeature-flagd-provider (0.2.0)
4
+ openfeature-flagd-provider (0.2.2)
5
5
  grpc (~> 1.50)
6
- openfeature-sdk (~> 0.3.1)
6
+ openfeature-sdk (~> 0.8.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -42,7 +42,7 @@ GEM
42
42
  docker-api (2.5.0)
43
43
  base64
44
44
  excon (>= 0.64.0)
45
- excon (1.10.0)
45
+ excon (1.11.0)
46
46
  ffi (1.17.4)
47
47
  ffi (1.17.4-arm64-darwin)
48
48
  ffi (1.17.4-x86_64-linux-gnu)
@@ -55,18 +55,18 @@ GEM
55
55
  google-protobuf (4.36.2-x86_64-linux-gnu)
56
56
  bigdecimal
57
57
  rake (~> 13.3)
58
- googleapis-common-protos-types (1.24.0)
58
+ googleapis-common-protos-types (1.25.0)
59
59
  google-protobuf (~> 4.26)
60
- grpc (1.85.0)
60
+ grpc (1.85.4)
61
61
  google-protobuf (>= 3.25, < 5.0)
62
62
  googleapis-common-protos-types (~> 1.0)
63
- grpc (1.85.0-arm64-darwin)
63
+ grpc (1.85.4-arm64-darwin)
64
64
  google-protobuf (>= 3.25, < 5.0)
65
65
  googleapis-common-protos-types (~> 1.0)
66
- grpc (1.85.0-x86_64-linux-gnu)
66
+ grpc (1.85.4-x86_64-linux-gnu)
67
67
  google-protobuf (>= 3.25, < 5.0)
68
68
  googleapis-common-protos-types (~> 1.0)
69
- grpc-tools (1.85.0)
69
+ grpc-tools (1.85.4)
70
70
  json (3.1.0)
71
71
  language_server-protocol (3.17.0.6)
72
72
  lint_roller (1.1.0)
@@ -74,7 +74,7 @@ GEM
74
74
  memoist3 (1.0.0)
75
75
  mini_mime (1.1.5)
76
76
  multi_test (1.1.0)
77
- openfeature-sdk (0.3.1)
77
+ openfeature-sdk (0.8.1)
78
78
  parallel (2.3.0)
79
79
  parser (3.3.13.0)
80
80
  ast (~> 2.4.1)
@@ -84,19 +84,19 @@ GEM
84
84
  rainbow (3.1.1)
85
85
  rake (13.4.2)
86
86
  regexp_parser (2.13.1)
87
- rspec (3.12.0)
88
- rspec-core (~> 3.12.0)
89
- rspec-expectations (~> 3.12.0)
90
- rspec-mocks (~> 3.12.0)
91
- rspec-core (3.12.3)
92
- rspec-support (~> 3.12.0)
93
- rspec-expectations (3.12.4)
87
+ rspec (3.13.2)
88
+ rspec-core (~> 3.13.0)
89
+ rspec-expectations (~> 3.13.0)
90
+ rspec-mocks (~> 3.13.0)
91
+ rspec-core (3.13.7)
92
+ rspec-support (~> 3.13.0)
93
+ rspec-expectations (3.13.6)
94
94
  diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.12.0)
96
- rspec-mocks (3.12.7)
95
+ rspec-support (~> 3.13.0)
96
+ rspec-mocks (3.13.9)
97
97
  diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.12.0)
99
- rspec-support (3.12.2)
98
+ rspec-support (~> 3.13.0)
99
+ rspec-support (3.13.8)
100
100
  rubocop (1.91.0)
101
101
  json (>= 2.3)
102
102
  language_server-protocol (~> 3.17.0.2)
@@ -156,7 +156,7 @@ DEPENDENCIES
156
156
  logger
157
157
  openfeature-flagd-provider!
158
158
  rake (~> 13.0)
159
- rspec (~> 3.12.0)
159
+ rspec (~> 3.13.0)
160
160
  rubocop
161
161
  simplecov (~> 0.22)
162
162
  standard
@@ -2,7 +2,7 @@ version: '3.7'
2
2
 
3
3
  services:
4
4
  flagd:
5
- image: ghcr.io/open-feature/flagd:v0.18.2@sha256:a1b6de22ef4f8a4f10af2f9d0009ccef946d707d4211db342f0f2422778b764a
5
+ image: ghcr.io/open-feature/flagd:v0.19.0@sha256:ff8a3331927805db001af431d27580a404e3dbcdcc1b94426984c46f7564d808
6
6
  ports:
7
7
  - '127.0.0.1:8013:8013'
8
8
  volumes:
@@ -78,8 +78,11 @@ module OpenFeature
78
78
  variant = response.variant
79
79
  reason = response.reason
80
80
  fallback = variant.to_s.empty? && (reason == "DEFAULT" || reason == "DISABLED")
81
+ # SDK >= 0.8 rejects non-Hash object values, so unwrap protobuf Structs
82
+ value = response.value
83
+ value = value.to_h if value.is_a?(Google::Protobuf::Struct)
81
84
  OpenFeature::SDK::Provider::ResolutionDetails.new(
82
- value: fallback ? default_value : response.value,
85
+ value: fallback ? default_value : value,
83
86
  reason: reason,
84
87
  variant: variant.to_s.empty? ? nil : variant,
85
88
  error_code: nil,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OpenFeature
4
4
  module Flagd
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
@@ -34,11 +34,11 @@ Gem::Specification.new do |spec|
34
34
  spec.require_paths = ["lib"]
35
35
 
36
36
  spec.add_runtime_dependency "grpc", "~> 1.50"
37
- spec.add_runtime_dependency "openfeature-sdk", "~> 0.3.1"
37
+ spec.add_runtime_dependency "openfeature-sdk", "~> 0.8.0"
38
38
 
39
39
  spec.add_development_dependency "rake", "~> 13.0"
40
40
  spec.add_development_dependency "grpc-tools", "~> 1.71"
41
- spec.add_development_dependency "rspec", "~> 3.12.0"
41
+ spec.add_development_dependency "rspec", "~> 3.13.0"
42
42
  spec.add_development_dependency "cucumber", "~> 9.2"
43
43
  spec.add_development_dependency "testcontainers-core", "~> 0.2"
44
44
  spec.add_development_dependency "base64"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openfeature-flagd-provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenFeature Authors
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.3.1
32
+ version: 0.8.0
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.3.1
39
+ version: 0.8.0
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rake
42
42
  requirement: !ruby/object:Gem::Requirement
@@ -71,14 +71,14 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 3.12.0
74
+ version: 3.13.0
75
75
  type: :development
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 3.12.0
81
+ version: 3.13.0
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: cucumber
84
84
  requirement: !ruby/object:Gem::Requirement