yggdrasil-engine 0.0.8.beta.2-universal-java-21 → 0.0.9-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 +21 -21
- data/lib/yggdrasilffi_arm64.dll +0 -0
- data/lib/yggdrasilffi_x86_64.dll +0 -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: 385876c114e74bdc46783e904b41155932becac7b3d6777d87b2d8fb2fcaf1ae
|
4
|
+
data.tar.gz: 202698b4883d941220e95bd0f83b2f3b37b7b1be56f3e97b0f3fc5af52d4b46a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5a8f85cf9368e89095a6c9f46bdbf21fceed9095f10b97bfcde54f2c2b444eb8179d9843739e1cc1bc65a8a00552e0d4638693e22ee5649fffcf5ce35b62c06
|
7
|
+
data.tar.gz: 955247f941979268ed4dd4140fa2907acf96a8f5950040ddba1b9836576943fca03371c7d6a95a3963a03c32a7d983e200778f8d1502f1a3d3d000be43662e00
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/yggdrasil_engine.rb
CHANGED
@@ -11,31 +11,31 @@ def platform_specific_lib
|
|
11
11
|
cpu = RbConfig::CONFIG['host_cpu']
|
12
12
|
|
13
13
|
extension, prefix = case os
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
when /darwin|mac os/
|
15
|
+
['dylib', 'lib']
|
16
|
+
when /linux/
|
17
|
+
['so', 'lib']
|
18
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
19
|
+
['dll', '']
|
20
|
+
else
|
21
|
+
raise "unsupported platform #{os}"
|
22
|
+
end
|
23
23
|
|
24
24
|
arch_suffix = case cpu
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
when /x86_64/
|
26
|
+
'x86_64'
|
27
|
+
when /arm|aarch64/
|
28
|
+
'arm64'
|
29
|
+
else
|
30
|
+
raise "unsupported architecture #{cpu}"
|
31
|
+
end
|
32
32
|
|
33
33
|
lib_type_suffix = if os =~ /linux/
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
34
|
+
musl = system("ldd /bin/sh | grep -q musl")
|
35
|
+
musl ? "-musl" : ""
|
36
|
+
else
|
37
|
+
""
|
38
|
+
end
|
39
39
|
|
40
40
|
"#{prefix}yggdrasilffi_#{arch_suffix}#{lib_type_suffix}.#{extension}"
|
41
41
|
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: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: universal-java-21
|
6
6
|
authors:
|
7
7
|
- Unleash
|
@@ -59,9 +59,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
59
|
version: '0'
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- - "
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
64
|
+
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubygems_version: 3.3.26
|
67
67
|
signing_key:
|