yggdrasil-engine 1.3.2-universal-java-11 → 1.3.3-universal-java-11
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 -0
- data/lib/yggdrasilffi_arm64.dll +0 -0
- data/lib/yggdrasilffi_i686.dll +0 -0
- data/lib/yggdrasilffi_x86_64.dll +0 -0
- data/spec/yggdrasil_engine_spec.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d8470bcd55413d5ee4fafe762f608ca5f3ad6d224be4573c1f3685abbc20e64
|
|
4
|
+
data.tar.gz: b9bd1e8b72e2af277cc6d6de48a9c950183d77221b80dfb4edea7d44744ddc9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c61152a61f6557a5fdb833a6d2a566326406014e736fa093085f6bb595b0a3f17fba2370646f04031d094cfcb1597963b61c5690151ee1229d9cdec884296e67
|
|
7
|
+
data.tar.gz: 78a6307bec37f5c2c9091b82ae76685936b246fe943fcfeb181c561210fe1c66dbdecdb3de9ab54e7e78fda709c31a2f5155f4acbfba716f7f2e77d5293c1b93
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/yggdrasil_engine.rb
CHANGED
|
@@ -69,6 +69,8 @@ class YggdrasilEngine
|
|
|
69
69
|
attach_function :count_variant, %i[pointer string string], :pointer
|
|
70
70
|
|
|
71
71
|
attach_function :list_known_toggles, [:pointer], :pointer
|
|
72
|
+
|
|
73
|
+
attach_function :get_spec_version, [], :string
|
|
72
74
|
|
|
73
75
|
attach_function :define_counter, %i[pointer string string], :pointer
|
|
74
76
|
attach_function :inc_counter, %i[pointer string int64 string], :pointer
|
data/lib/yggdrasilffi_arm64.dll
CHANGED
|
Binary file
|
data/lib/yggdrasilffi_i686.dll
CHANGED
|
Binary file
|
data/lib/yggdrasilffi_x86_64.dll
CHANGED
|
Binary file
|
|
@@ -18,6 +18,13 @@ end
|
|
|
18
18
|
RSpec.describe YggdrasilEngine do
|
|
19
19
|
let(:yggdrasil_engine) { YggdrasilEngine.new }
|
|
20
20
|
|
|
21
|
+
describe '.get_spec_version' do
|
|
22
|
+
it 'should match the client specification version under test' do
|
|
23
|
+
spec_package = JSON.parse(File.read('../client-specification/package.json'))
|
|
24
|
+
expect(YggdrasilEngine.get_spec_version).to eq(spec_package['version'])
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
21
28
|
describe '#checking a toggle' do
|
|
22
29
|
it 'that does not exist should yield a not found' do
|
|
23
30
|
is_enabled = yggdrasil_engine.enabled?('missing-toggle', {})
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yggdrasil-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: universal-java-11
|
|
6
6
|
authors:
|
|
7
7
|
- Unleash
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -49,7 +49,7 @@ homepage: https://github.com/Unleash/yggdrasil-bindings
|
|
|
49
49
|
licenses:
|
|
50
50
|
- MIT
|
|
51
51
|
metadata:
|
|
52
|
-
yggdrasil_core_version: 0.20.
|
|
52
|
+
yggdrasil_core_version: 0.20.9
|
|
53
53
|
post_install_message:
|
|
54
54
|
rdoc_options: []
|
|
55
55
|
require_paths:
|