openfeature-go-feature-flag-provider 0.1.5 → 0.1.6

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: 732134fec225e4be0564e96bd987f237626269064192544bc5dda5b6b3c870ee
4
- data.tar.gz: 9419134aad278f0179805d64b2143ed51b735c14141be5a4d3bd92042b71c9a8
3
+ metadata.gz: 88b909669520d990cdd3bab857d26fe0aebd5a6d753a311d88b73fd8026cfd49
4
+ data.tar.gz: f5ae9b1d0a474a1f547f1dd9b84b0f9c4cee48f938f79e1b2d96ca67acc5380c
5
5
  SHA512:
6
- metadata.gz: df6d7ca639d9c1e77eeb2efa0f4cd296766ead410354c4e8c8f89895e0910901062e6ee7def51656c00956c5411c9526d4b572b1b0270332846c42de2e7756ff
7
- data.tar.gz: bf98ef5871adf51d32118912db5ff9300fe14a666770e511e2ebab4ed4c326af8250722e2081e69fa770635ccb3f6d87b31853281f28a9c39b1a36c73a5ac0a1
6
+ metadata.gz: 68053f645f8b2ea7d3c48f71e5c22bf6b64308cf4656a3480611bc82f200d38df9d527134e734b51e017bbf96814eb7b9abbb5b86205860eaafc7ff68df3d37c
7
+ data.tar.gz: 1f5125e5d8360b48a12282f227dc69ea9302dd273c4bd728ce5c67ff159f11aaa97753a8dcca25a7d36959400e5d40c4af80b39150cb83cd5a514058f1099248
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.6](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-go-feature-flag-provider/v0.1.5...openfeature-go-feature-flag-provider/v0.1.6) (2025-11-11)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * **openfeature-go-feature-flag-provider:** fallback to sdkDefault if reason is DISABLED ([#64](https://github.com/open-feature/ruby-sdk-contrib/issues/64)) ([6cb08c0](https://github.com/open-feature/ruby-sdk-contrib/commit/6cb08c0156ce1ee4ea17278937e6da8904a15d04))
9
+
3
10
  ## [0.1.5](https://github.com/open-feature/ruby-sdk-contrib/compare/openfeature-go-feature-flag-provider/v0.1.4...openfeature-go-feature-flag-provider/v0.1.5) (2025-11-04)
4
11
 
5
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openfeature-go-feature-flag-provider (0.1.5)
4
+ openfeature-go-feature-flag-provider (0.1.6)
5
5
  faraday-net_http_persistent (~> 2.3)
6
6
  openfeature-sdk (~> 0.3.1)
7
7
 
@@ -52,6 +52,13 @@ module OpenFeature
52
52
  )
53
53
  end
54
54
 
55
+ if parsed_response.reason == SDK::Provider::Reason::DISABLED
56
+ return SDK::Provider::ResolutionDetails.new(
57
+ value: default_value,
58
+ reason: SDK::Provider::Reason::DISABLED
59
+ )
60
+ end
61
+
55
62
  unless allowed_classes.include?(parsed_response.value.class)
56
63
  return SDK::Provider::ResolutionDetails.new(
57
64
  value: default_value,
@@ -1,5 +1,5 @@
1
1
  module OpenFeature
2
2
  module GoFeatureFlag
3
- GO_FEATURE_FLAG_PROVIDER_VERSION = "0.1.5"
3
+ GO_FEATURE_FLAG_PROVIDER_VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openfeature-go-feature-flag-provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Poignant
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-11-04 00:00:00.000000000 Z
11
+ date: 2025-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openfeature-sdk