flipt_client 0.15.0 → 0.16.1
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 → darwin_aarch64}/libfliptengine.dylib +0 -0
- data/lib/ext/darwin_x86_64/libfliptengine.dylib +0 -0
- data/lib/ext/flipt_engine.h +9 -0
- data/lib/ext/{linux_arm64 → linux_aarch64}/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 +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717a1fe2a20f7f152ff30b3f64215ed35cfa281025513b5bd468f21852ed2a72
|
4
|
+
data.tar.gz: fba45e5687bb3c2ff658c632a8222afa149e8438a93234cd38098322402aec3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70130fe75d70bbc46a2ba89377a3c701c6b399fb0b2644f20c8f7fe9f0841bf012655478eda9aef92bee4eb30b55882365cb5eb2a789f757e49ce8cf3dec96e8
|
7
|
+
data.tar.gz: c33564298208867ba51cf2b91df5ff806bfc48a1ff6e396625e5ce984d2031e8c0318cc537a00aa9e15263ce8a50943c695823e039334fe833226f251951a438
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Flipt Client Ruby
|
2
2
|
|
3
|
-
[](https://badge.fury.io/rb/flipt_client)
|
4
4
|
|
5
5
|
The `flipt-client-ruby` library contains the Ruby source code for the Flipt [client-side evaluation](https://www.flipt.io/docs/integration/client) client.
|
6
6
|
|
Binary file
|
Binary file
|
data/lib/ext/flipt_engine.h
CHANGED
@@ -52,3 +52,12 @@ void destroy_engine(void *engine_ptr);
|
|
52
52
|
* See Rust the safety section in CString::from_raw.
|
53
53
|
*/
|
54
54
|
void destroy_string(char *ptr);
|
55
|
+
|
56
|
+
// Add missing external declarations for Rust functions
|
57
|
+
extern void* initialize_engine_ffi(const char* namespace, const char* options);
|
58
|
+
extern const char* evaluate_boolean_ffi(void* engine, const char* request);
|
59
|
+
extern const char* evaluate_variant_ffi(void* engine, const char* request);
|
60
|
+
extern const char* evaluate_batch_ffi(void* engine, const char* request);
|
61
|
+
extern const char* list_flags_ffi(void* engine);
|
62
|
+
extern void destroy_engine_ffi(void* engine);
|
63
|
+
extern void destroy_string_ffi(char* str);
|
Binary file
|
Binary file
|
Binary file
|
data/lib/flipt_client/version.rb
CHANGED
data/lib/flipt_client.rb
CHANGED
@@ -15,9 +15,9 @@ module Flipt
|
|
15
15
|
FLIPTENGINE = 'fliptengine'
|
16
16
|
|
17
17
|
LIB_FILES = {
|
18
|
-
/arm64-darwin/ => "ext/
|
18
|
+
/arm64-darwin/ => "ext/darwin_aarch64/lib#{FLIPTENGINE}.dylib",
|
19
19
|
/x86_64-darwin/ => "ext/darwin_x86_64/lib#{FLIPTENGINE}.dylib",
|
20
|
-
/arm64-linux|aarch64-linux/ => "ext/
|
20
|
+
/arm64-linux|aarch64-linux/ => "ext/linux_aarch64/lib#{FLIPTENGINE}.so",
|
21
21
|
/x86_64-linux/ => "ext/linux_x86_64/lib#{FLIPTENGINE}.so",
|
22
22
|
/x86_64-mingw32/ => "ext/windows_x86_64/#{FLIPTENGINE}.dll"
|
23
23
|
}.freeze
|
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.16.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: 2025-
|
11
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Flipt Client Evaluation SDK
|
14
14
|
email:
|
@@ -19,10 +19,10 @@ extra_rdoc_files: []
|
|
19
19
|
files:
|
20
20
|
- README.md
|
21
21
|
- flipt-client-ruby.gemspec
|
22
|
-
- lib/ext/
|
22
|
+
- lib/ext/darwin_aarch64/libfliptengine.dylib
|
23
23
|
- lib/ext/darwin_x86_64/libfliptengine.dylib
|
24
24
|
- lib/ext/flipt_engine.h
|
25
|
-
- lib/ext/
|
25
|
+
- lib/ext/linux_aarch64/libfliptengine.so
|
26
26
|
- lib/ext/linux_x86_64/libfliptengine.so
|
27
27
|
- lib/ext/windows_x86_64/fliptengine.dll
|
28
28
|
- lib/flipt_client.rb
|