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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad11b9c66ba85ede2dc4bd1e13ea76625b40b4eb921d0bb905d5d3b575289662
4
- data.tar.gz: 7a3f3db0ec3da94f946f94491809feaf6aa6a782a7ec843c47ab7c656bd764bc
3
+ metadata.gz: 717a1fe2a20f7f152ff30b3f64215ed35cfa281025513b5bd468f21852ed2a72
4
+ data.tar.gz: fba45e5687bb3c2ff658c632a8222afa149e8438a93234cd38098322402aec3f
5
5
  SHA512:
6
- metadata.gz: 35a4f6593d4b5b0b5eb99e10ce97b63f4a7567767a2a9160e033654d1de56103d3016e86cb517b22cb7c38c9ef7547bdd2f8a35a8c54caadff0d5f765fffcb7f
7
- data.tar.gz: 85ef57b021d738b87eb72ff66c54932820eb95a1a4d6c931c24cf4ebfa256e9e88c38ee704aad57de08960a8f73c07b94b3ef26692f8768f83079015107335dc
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
- [![Gem Version](https://badge.fury.io/rb/flipt_client.svg)](https://badge.fury.io/rb/flipt_client)
3
+ [![flipt-client-ruby](https://badge.fury.io/rb/flipt_client.svg)](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
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flipt
4
- VERSION = '0.15.0'
4
+ VERSION = '0.16.1'
5
5
  end
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/darwin_arm64/lib#{FLIPTENGINE}.dylib",
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/linux_arm64/lib#{FLIPTENGINE}.so",
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.15.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-02-20 00:00:00.000000000 Z
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/darwin_arm64/libfliptengine.dylib
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/linux_arm64/libfliptengine.so
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