flipt_client 0.13.0 → 0.14.0
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 +4 -4
- data/README.md +1 -1
- data/lib/ext/darwin_arm64/libfliptengine.dylib +0 -0
- data/lib/ext/darwin_x86_64/libfliptengine.dylib +0 -0
- data/lib/ext/linux_arm64/libfliptengine.so +0 -0
- data/lib/ext/linux_x86_64/libfliptengine.so +0 -0
- data/lib/ext/windows_x86_64/fliptengine.dll +0 -0
- data/lib/flipt_client/version.rb +1 -1
- data/lib/flipt_client.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b557abfcc6b932d2df3477574c31e1e3531b723e40c8d4165c896223f0a4e29
|
4
|
+
data.tar.gz: c4b0100e653392c2b7cf2a2d0706562295e378f042192f71ec2cbe9fb81ca22b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e678e1267550f6d9a13a5b14b0b1182cb6bc7158f33c15c1eaee7428250ab5975e5f71e3d67d7fd2bdb5979887a959985efdf50009540a873b6126a4804e657a
|
7
|
+
data.tar.gz: a11c9c16338ba2184feb4e7a39cf7131f28779414b5c86f0b20da0dcbdc926b3afcd1f1ad5e4d66ca2f5cb36f8d9735a037e0732fd37d8da3b045fb710100345
|
data/README.md
CHANGED
@@ -106,7 +106,7 @@ The `FliptEvaluationClient` supports the following authentication strategies:
|
|
106
106
|
docker run -d \
|
107
107
|
-p 8080:8080 \
|
108
108
|
-p 9000:9000 \
|
109
|
-
|
109
|
+
flipt/flipt:latest
|
110
110
|
```
|
111
111
|
|
112
112
|
2. You'll also need to have the `flipt_client` gem installed locally. See [Installation](#installation) above.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/flipt_client/version.rb
CHANGED
data/lib/flipt_client.rb
CHANGED
@@ -92,7 +92,7 @@ module Flipt
|
|
92
92
|
resp, ptr = self.class.evaluate_variant(@engine, evaluation_request.to_json)
|
93
93
|
ptr = FFI::AutoPointer.new(ptr, EvaluationClient.method(:destroy_string))
|
94
94
|
data = JSON.parse(resp)
|
95
|
-
raise
|
95
|
+
raise Error, data['error_message'] if data['status'] != 'success'
|
96
96
|
|
97
97
|
data['result']
|
98
98
|
end
|
@@ -107,7 +107,7 @@ module Flipt
|
|
107
107
|
resp, ptr = self.class.evaluate_boolean(@engine, evaluation_request.to_json)
|
108
108
|
ptr = FFI::AutoPointer.new(ptr, EvaluationClient.method(:destroy_string))
|
109
109
|
data = JSON.parse(resp)
|
110
|
-
raise
|
110
|
+
raise Error, data['error_message'] if data['status'] != 'success'
|
111
111
|
|
112
112
|
data['result']
|
113
113
|
end
|
@@ -125,7 +125,7 @@ module Flipt
|
|
125
125
|
resp, ptr = self.class.evaluate_batch(@engine, batch_evaluation_request.to_json)
|
126
126
|
ptr = FFI::AutoPointer.new(ptr, EvaluationClient.method(:destroy_string))
|
127
127
|
data = JSON.parse(resp)
|
128
|
-
raise
|
128
|
+
raise Error, data['error_message'] if data['status'] != 'success'
|
129
129
|
|
130
130
|
data['result']
|
131
131
|
end
|
@@ -135,7 +135,7 @@ module Flipt
|
|
135
135
|
resp, ptr = self.class.list_flags(@engine)
|
136
136
|
ptr = FFI::AutoPointer.new(ptr, EvaluationClient.method(:destroy_string))
|
137
137
|
data = JSON.parse(resp)
|
138
|
-
raise
|
138
|
+
raise Error, data['error_message'] if data['status'] != 'success'
|
139
139
|
|
140
140
|
data['result']
|
141
141
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipt_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flipt Devs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Flipt Client Evaluation SDK
|
14
14
|
email:
|