yggdrasil-engine 1.0.0-x86_64-linux-musl → 1.0.2-x86_64-linux-musl
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/lib/libyggdrasilffi_x86_64-musl.so +0 -0
- data/lib/yggdrasil_engine.rb +3 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cabe612e15e7c4edb4d92d4363d8b509c7db4e64b622a0c9c15267a4b6f46e94
|
4
|
+
data.tar.gz: 566f47865b4ab01c8588fc42b580ec5d3343f388c48e91b1a43db38e3fb17a66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb2ed8e377189ebead5b43aa6833707b734199d6b7c808251e84aa9e8ea71fe9c16b86f74fe1847b6b84f66d750a85393b20a352f885dfa063067dd54a7777e2
|
7
|
+
data.tar.gz: 93ca28e7dd9c8e3cf22d669145d5f28cf1e3f2f2f5b46a696e44aaa9c22296ca774b800c5e7c522c7c403b8ec52b393f85d58546818a713e2ded3f63149bb29b
|
Binary file
|
data/lib/yggdrasil_engine.rb
CHANGED
@@ -22,7 +22,7 @@ def platform_specific_lib
|
|
22
22
|
end
|
23
23
|
|
24
24
|
arch_suffix = case cpu
|
25
|
-
when /x86_64/
|
25
|
+
when /x86_64|x64/
|
26
26
|
'x86_64'
|
27
27
|
when /arm|aarch64/
|
28
28
|
'arm64'
|
@@ -58,6 +58,7 @@ class YggdrasilEngine
|
|
58
58
|
attach_function :free_engine, [:pointer], :void
|
59
59
|
|
60
60
|
attach_function :take_state, %i[pointer string], :pointer
|
61
|
+
attach_function :hydrate_data, %i[pointer string], :pointer
|
61
62
|
attach_function :check_enabled, %i[pointer string string string], :pointer
|
62
63
|
attach_function :check_variant, %i[pointer string string string], :pointer
|
63
64
|
attach_function :get_metrics, [:pointer], :pointer
|
@@ -80,7 +81,7 @@ class YggdrasilEngine
|
|
80
81
|
|
81
82
|
def take_state(toggles)
|
82
83
|
@custom_strategy_handler.update_strategies(toggles)
|
83
|
-
response_ptr = YggdrasilEngine.
|
84
|
+
response_ptr = YggdrasilEngine.hydrate_data(@engine, toggles)
|
84
85
|
take_toggles_response = JSON.parse(response_ptr.read_string, symbolize_names: true)
|
85
86
|
YggdrasilEngine.free_response(response_ptr)
|
86
87
|
end
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yggdrasil-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: x86_64-linux-musl
|
6
6
|
authors:
|
7
7
|
- Unleash
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2023-06-28 00:00:00.000000000 Z
|
@@ -40,8 +40,8 @@ homepage: http://github.com/username/my_gem
|
|
40
40
|
licenses:
|
41
41
|
- MIT
|
42
42
|
metadata:
|
43
|
-
yggdrasil_core_version: 0.
|
44
|
-
post_install_message:
|
43
|
+
yggdrasil_core_version: 0.16.0
|
44
|
+
post_install_message:
|
45
45
|
rdoc_options: []
|
46
46
|
require_paths:
|
47
47
|
- lib
|
@@ -56,8 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
|
-
rubygems_version: 3.
|
60
|
-
signing_key:
|
59
|
+
rubygems_version: 3.4.20
|
60
|
+
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: Unleash engine for evaluating feature toggles
|
63
63
|
test_files: []
|