flipt_client 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- 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: 98dfdc086283e4333c430737b4d326204f346830dc37649996c2d385009d6b37
|
4
|
+
data.tar.gz: 995d2fdbfbc6bd84df18aabda00ae0d372032af14001b6bb313d482e24c64ed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c5f54324f93505b0e4d029787cad2d31a25520be7992a218653c20151833af1ab3c932693c98ff545e8854fd1a2cf594503c94bb1096764115a243a318db2cd
|
7
|
+
data.tar.gz: 3fc5316e7e129d3d98bd96ca0e9bd92385a56eee16a8cc97d03adc87cf0ed091df4006ca83a9c997a7e3e916259931a8bd52c5c60287fbe076a39be1189da97d
|
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.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flipt Devs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Flipt Client Evaluation SDK
|
14
14
|
email:
|