yggdrasil-engine 1.0.1-universal-java-21 → 1.0.2-universal-java-21
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_arm64-musl.so +0 -0
- data/lib/libyggdrasilffi_arm64.dylib +0 -0
- data/lib/libyggdrasilffi_arm64.so +0 -0
- data/lib/libyggdrasilffi_x86_64-musl.so +0 -0
- data/lib/libyggdrasilffi_x86_64.dylib +0 -0
- data/lib/libyggdrasilffi_x86_64.so +0 -0
- data/lib/yggdrasil_engine.rb +2 -1
- data/lib/yggdrasilffi_arm64.dll +0 -0
- data/lib/yggdrasilffi_x86_64.dll +0 -0
- 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: bde8a39419aa1987318b874b229cc0f93b0c4a9ffdb29f7e05a03369520ebb45
|
4
|
+
data.tar.gz: 7805e078de92c50233ccf897d5deb934fcf3c4589df16e8e1b83c148e55a19f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6bc40a2fe9957e7eb28092dea86163aa3f5d9de8fa4633017102a206f05331e919eba960b20d3e6d0b4e798e7dc8af3947f01584abc7836ec9431aa49a45413
|
7
|
+
data.tar.gz: 2fe8d8a6e3db54377277c1423828b8b24f5395de1b8cbb03c8f4b6ddfb7670ce2747986aeff2a238f3e6c0481f180bb5bdac8f61e754c4d005426ea6d8814894
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/yggdrasil_engine.rb
CHANGED
@@ -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
|
data/lib/yggdrasilffi_arm64.dll
CHANGED
Binary file
|
data/lib/yggdrasilffi_x86_64.dll
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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: universal-java-21
|
6
6
|
authors:
|
7
7
|
- Unleash
|
@@ -47,7 +47,7 @@ homepage: http://github.com/username/my_gem
|
|
47
47
|
licenses:
|
48
48
|
- MIT
|
49
49
|
metadata:
|
50
|
-
yggdrasil_core_version: 0.
|
50
|
+
yggdrasil_core_version: 0.16.0
|
51
51
|
post_install_message:
|
52
52
|
rdoc_options: []
|
53
53
|
require_paths:
|